Browse Source

ci: Test rebuilding the peephole optimizers in CI

pull/1647/head
Nick Fitzgerald 5 years ago
parent
commit
c2ec1523bc
  1. 14
      .github/workflows/main.yml

14
.github/workflows/main.yml

@ -200,6 +200,20 @@ jobs:
env: env:
RUST_BACKTRACE: 1 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 # Perform all tests (debug mode) for `wasmtime`. This runs stable/beta/nightly
# channels of Rust as well as macOS/Linux/Windows. # channels of Rust as well as macOS/Linux/Windows.
test: test:

Loading…
Cancel
Save