From c2ec1523bcc924e6eabf3bd212bf57e1654fd27e Mon Sep 17 00:00:00 2001 From: Nick Fitzgerald Date: Fri, 1 May 2020 17:00:26 -0700 Subject: [PATCH] ci: Test rebuilding the peephole optimizers in CI --- .github/workflows/main.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 402ea814db..1edd76aeeb 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -200,6 +200,20 @@ jobs: env: RUST_BACKTRACE: 1 + rebuild_peephole_optimizers: + name: Rebuild Peephole Optimizers + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + with: + submodules: true + - name: Build + run: | + cd cranelift && cargo build --features 'cranelift-codegen/rebuild-peephole-optimizers' + - name: Test + run: | + cd cranelift && cargo test --features 'cranelift-codegen/rebuild-peephole-optimizers' + # Perform all tests (debug mode) for `wasmtime`. This runs stable/beta/nightly # channels of Rust as well as macOS/Linux/Windows. test: