From 7a7667baeb9ff7c790ec7de96078913d77187de0 Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Thu, 25 Mar 2021 14:41:03 -0700 Subject: [PATCH] Don't document peepmatic in CI Avoids building z3 and shaves about ~15 minutes off that builder's CI time. --- .github/workflows/main.yml | 49 ++++++++++++-------------------------- 1 file changed, 15 insertions(+), 34 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index bbc5942028..fa9b310548 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -77,7 +77,12 @@ jobs: - uses: ./.github/actions/install-rust with: toolchain: nightly - - run: cargo doc --no-deps --all --exclude wasmtime-cli --exclude test-programs --exclude cranelift-codegen-meta + - run: | + cargo doc --no-deps --workspace \ + --exclude wasmtime-cli \ + --exclude test-programs \ + --exclude cranelift-codegen-meta \ + --exclude 'peepmatic*' - run: cargo doc --package cranelift-codegen-meta --document-private-items - uses: actions/upload-artifact@v1 with: @@ -179,15 +184,7 @@ jobs: submodules: true - run: rustup update stable && rustup default stable - name: Test `peepmatic` - run: | - cargo test \ - --package peepmatic \ - --package peepmatic-automata \ - --package peepmatic-fuzzing \ - --package peepmatic-macro \ - --package peepmatic-runtime \ - --package peepmatic-test \ - --package peepmatic-souper + run: cargo test --package 'peepmatic*' - name: Rebuild Peepmatic-based peephole optimizers run: | cargo test \ @@ -270,18 +267,10 @@ jobs: - run: | cargo test \ --features test-programs/test_programs \ - --all \ - --exclude lightbeam \ - --exclude wasmtime-lightbeam \ - --exclude wasmtime-wasi-nn \ - --exclude wasmtime-wasi-crypto \ - --exclude peepmatic \ - --exclude peepmatic-automata \ - --exclude peepmatic-fuzzing \ - --exclude peepmatic-macro \ - --exclude peepmatic-runtime \ - --exclude peepmatic-test \ - --exclude peepmatic-souper + --workspace \ + --exclude '*lightbeam*' \ + --exclude 'wasmtime-wasi-*' \ + --exclude 'peepmatic*' env: RUST_BACKTRACE: 1 @@ -508,18 +497,10 @@ jobs: $CENTOS cargo test \ --features test-programs/test_programs \ --release \ - --all \ - --exclude lightbeam \ - --exclude wasmtime-lightbeam \ - --exclude wasmtime-wasi-nn \ - --exclude wasmtime-wasi-crypto \ - --exclude peepmatic \ - --exclude peepmatic-automata \ - --exclude peepmatic-fuzzing \ - --exclude peepmatic-macro \ - --exclude peepmatic-runtime \ - --exclude peepmatic-test \ - --exclude peepmatic-souper \ + --workspace \ + --exclude '*lightbeam*' \ + --exclude 'wasmtime-wasi-*' \ + --exclude 'peepmatic*' \ --exclude wasmtime-fuzz env: RUST_BACKTRACE: 1