diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2021-04-28 21:33:46 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-29 10:33:46 +0900 |
commit | b9a136c868a598e39becc2f27e40a482a5c2385a (patch) | |
tree | afda78cd8eef84db42ffb3922949f784670d3937 | |
parent | 4e434d43e657f4fc4f9886b442262176852dce02 (diff) |
Revert "ci: build only lib and bins (#10401)" (#10415)
-rw-r--r-- | .github/workflows/ci.yml | 18 |
1 files changed, 7 insertions, 11 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ab2183de7..e9e082225 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -196,7 +196,7 @@ jobs: path: | ./target key: - b-cargo-target-${{ matrix.os }}-${{ matrix.profile }}-${{ hashFiles('Cargo.lock') }} + a-cargo-target-${{ matrix.os }}-${{ matrix.profile }}-${{ hashFiles('Cargo.lock') }} - name: Apply and update mtime cache uses: ./.github/mtime_cache @@ -213,16 +213,12 @@ jobs: run: deno run --unstable --allow-write --allow-read --allow-run ./tools/lint.js - name: Build release - if: (matrix.kind == 'test') && matrix.profile == 'release' - run: cargo build --release --locked --bin deno --bin test_server -vv - - - name: Build bench release - if: (matrix.kind == 'bench') && matrix.profile == 'release' - run: cargo build --release --locked --all-targets + if: (matrix.kind == 'test' || matrix.kind == 'bench') && matrix.profile == 'release' + run: cargo build --release --locked --all-targets -vv - name: Build debug - if: (matrix.kind == 'test') && matrix.profile == 'debug' - run: cargo build --locked --bin deno --bin test_server --tests + if: (matrix.kind == 'test' || matrix.kind == 'bench') && matrix.profile == 'debug' + run: cargo build --locked --all-targets - name: Pre-release (linux) if: | @@ -280,13 +276,13 @@ jobs: - name: Test release if: matrix.kind == 'test' && matrix.profile == 'release' - run: cargo test --release --locked --bins --lib --tests + run: cargo test --release --locked --all-targets - name: Test debug if: matrix.kind == 'test' && matrix.profile == 'debug' run: | cargo test --locked --doc - cargo test --locked --bins --lib --tests + cargo test --locked --all-targets # TODO(ry) Because CI is so slow on for OSX and Windows, we currently only run WPT on Linux. - name: Configure hosts file for WPT (linux) |