From 035bca7b0b14f177eb7b537cf0d08654022fdd95 Mon Sep 17 00:00:00 2001 From: samelamin Date: Thu, 7 Sep 2023 14:09:51 +0100 Subject: [PATCH] dummy chopsticks github actions file --- .github/workflows/chopsticks.yml | 43 ++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 .github/workflows/chopsticks.yml diff --git a/.github/workflows/chopsticks.yml b/.github/workflows/chopsticks.yml new file mode 100644 index 0000000000..846461b1ca --- /dev/null +++ b/.github/workflows/chopsticks.yml @@ -0,0 +1,43 @@ +name: "Run Chopsticks" + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + workflow_dispatch: + +jobs: + test: + runs-on: ubuntu-22.04 + + steps: + - name: Cancel previous runs + uses: styfle/cancel-workflow-action@b173b6ec0100793626c2d9e6b90435061f4fc3e5 # v0.11.0 + with: + access_token: ${{ github.token }} + + - name: Install updates and protobuf-compiler + run: sudo apt update && sudo apt install --assume-yes cmake protobuf-compiler + + - name: Install stable toolchain + uses: actions-rs/toolchain@v1 + with: + profile: minimal + toolchain: stable + target: wasm32-unknown-unknown + + - name: Install nightly toolchain + uses: actions-rs/toolchain@v1 + with: + profile: minimal + toolchain: nightly + target: wasm32-unknown-unknown + + - name: Checkout + uses: actions/checkout@v3 + + - name: Test all features + run: cargo test --workspace --release --locked --features=runtime-benchmarks,runtime-metrics,try-runtime + env: + RUSTFLAGS: "-C debug-assertions -D warnings"