Fix AMD64 dependency error in CLI Docker Build #1388
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
pull_request: | |
push: | |
branches: | |
- master | |
name: CI | |
jobs: | |
docker_smoketests: | |
name: Smoketests | |
runs-on: spacetimedb-runner | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@v3 | |
- name: Start containers | |
run: docker compose up -d | |
- name: Run smoketests | |
run: test/run-smoke-tests.sh --parallel -x bitcraftmini-pretest | |
- name: Stop containers | |
if: always() | |
run: docker compose down | |
test: | |
name: Test Suite | |
runs-on: spacetimedb-runner | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@v3 | |
- uses: dsherret/rust-toolchain-file@v1 | |
- name: Create /stdb dir | |
run: | | |
sudo mkdir /stdb | |
sudo chmod 777 /stdb | |
- name: Run cargo test | |
run: cargo test --all --features odb_rocksdb,odb_sled | |
lints: | |
name: Lints | |
runs-on: spacetimedb-runner | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@v3 | |
- uses: dsherret/rust-toolchain-file@v1 | |
- run: echo ::add-matcher::.github/workflows/rust_matcher.json | |
- name: Run cargo fmt | |
run: cargo fmt --all -- --check | |
- name: Run cargo clippy | |
run: cargo clippy --all --tests --features odb_rocksdb,odb_sled -- -D warnings | |
wasm_bindings: | |
name: Build and test wasm bindings | |
runs-on: spacetimedb-runner | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: dsherret/rust-toolchain-file@v1 | |
- run: echo ::add-matcher::.github/workflows/rust_matcher.json | |
- name: Build rust-wasm-test | |
run: cargo run -p spacetimedb-cli -- build modules/rust-wasm-test | |
- name: Run bindgen tests | |
run: cargo test -p spacetimedb-cli |