mirror of
https://github.com/serai-dex/serai.git
synced 2024-11-01 01:47:38 +00:00
534f951165
* Consolidate GitHub CI actions, split out Monero build now includes the specified Rust toolchain/components. Added a test dependencies action which grabs Foundry and Monero. Split the Monero v14 job into a matrixed job in its own workflow flow. It's now only run when Monero has changes. * Correct Monero unit/integration tests run timing Additionally tests a feature-less Monero build. Also removes a pointless Monero file, which already should have been removed, causing this workflow to be triggered. * Correct exclusion and paths Updates to FROST should re-run the Monero tests to ensure it didn't introduce API incompatibilities.
36 lines
830 B
YAML
36 lines
830 B
YAML
name: build-dependencies
|
|
description: Installs build dependencies for Serai
|
|
|
|
inputs:
|
|
rust-toolchain:
|
|
description: "Rust toolchain to install"
|
|
required: false
|
|
default: stable
|
|
|
|
rust-components:
|
|
description: "Rust components to install"
|
|
required: false
|
|
default:
|
|
|
|
runs:
|
|
using: "composite"
|
|
steps:
|
|
- name: Install solc
|
|
shell: bash
|
|
run: |
|
|
pip3 install solc-select
|
|
solc-select install 0.8.9
|
|
solc-select use 0.8.9
|
|
|
|
- name: Install Rust
|
|
uses: ./.github/actions/cached-rust
|
|
with:
|
|
toolchain: ${{ inputs.rust-toolchain }}
|
|
components: ${{ inputs.rust-components }}
|
|
|
|
- name: Install WASM toolchain
|
|
uses: actions-rs/toolchain@v1
|
|
with:
|
|
toolchain: nightly
|
|
profile: minimal
|
|
target: wasm32-unknown-unknown
|