mirror of
https://github.com/serai-dex/serai.git
synced 2025-01-10 21:04:40 +00:00
Remove the build CI task now
It's identical to test, except it doesn't grab Foundry nor spawn a Monero regtest daemon. It doubles the amount of time test takes though, as it's doing everything twice. While it may have value as a component, we're not using it like that right now, and if desired, we could add it back. While it may have value to produce binaries, we're note doing that either, and it wasn't building in release.
This commit is contained in:
parent
42d62c38b9
commit
5b80ead18c
1 changed files with 1 additions and 45 deletions
46
.github/workflows/tests.yml
vendored
46
.github/workflows/tests.yml
vendored
|
@ -32,50 +32,6 @@ jobs:
|
|||
tar -xvf monero-$OS_ARCH-v0.17.3.2.tar.bz2
|
||||
mv monero-x86_64-linux-gnu-v0.17.3.2/monerod monerod
|
||||
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
submodules: "recursive"
|
||||
|
||||
- name: Install solc
|
||||
run: |
|
||||
pip3 install solc-select
|
||||
solc-select install 0.8.9
|
||||
solc-select use 0.8.9
|
||||
|
||||
- name: Install Monero Dependencies
|
||||
run: |
|
||||
sudo apt update
|
||||
sudo apt install build-essential libboost-all-dev libsodium-dev
|
||||
|
||||
- name: Install Rust
|
||||
uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
toolchain: stable
|
||||
profile: minimal
|
||||
default: true
|
||||
|
||||
- name: Install WASM toolchain
|
||||
uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
toolchain: nightly
|
||||
profile: minimal
|
||||
target: wasm32-unknown-unknown
|
||||
|
||||
- name: Cargo/Rust cache
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
path: |
|
||||
~/.cargo
|
||||
./target
|
||||
key: ${{ runner.os }}-cargo-rust
|
||||
|
||||
- name: Build
|
||||
run: ARCH=default cargo build --all-features
|
||||
|
||||
# Mirror the build job for Clippy
|
||||
clippy:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
@ -124,7 +80,7 @@ jobs:
|
|||
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
needs: [monero-daemon, build]
|
||||
needs: monero-daemon
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
|
|
Loading…
Reference in a new issue