Skip to content

Commit

Permalink
x
Browse files Browse the repository at this point in the history
  • Loading branch information
piscisaureus committed Aug 8, 2020
1 parent be3c666 commit a079cc2
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/ci.yml
Expand Up @@ -122,9 +122,9 @@ jobs:
target/*/build
target/*/deps
key:
${{ matrix.config.os }}-${{ matrix.config.kind }}-${{ hashFiles('Cargo.lock') }}
a-${{ matrix.config.os }}-${{ matrix.config.kind }}-${{ hashFiles('Cargo.lock') }}
restore-keys: |
${{ matrix.config.os }}-${{ matrix.config.kind }}-
a-${{ matrix.config.os }}-${{ matrix.config.kind }}-
- name: lint.py
if: matrix.config.kind == 'lint'
Expand All @@ -138,19 +138,19 @@ jobs:
if: |
matrix.config.kind == 'test_release' ||
matrix.config.kind == 'bench'
run: cargo build --release --locked --all-targets
run: cargo build --release --locked --workspace --all-targets

- name: Build debug
if: matrix.config.kind == 'test_debug'
run: cargo build --locked --all-targets
run: cargo build --locked --workspace --all-targets

- name: Test release
if: matrix.config.kind == 'test_release'
run: cargo test --release --locked --all-targets
run: cargo test --release --locked --all-targets -- --test-threads=4

- name: Test debug
if: matrix.config.kind == 'test_debug'
run: cargo test --locked --all-targets
run: cargo test --locked --all-targets -- --test-threads=1

- name: Run Benchmarks
if: matrix.config.kind == 'bench'
Expand Down

0 comments on commit a079cc2

Please sign in to comment.