Skip to content

Commit

Permalink
Fix CI.
Browse files Browse the repository at this point in the history
Signed-off-by: lucasliang <[email protected]>
  • Loading branch information
LykxSassinator committed Nov 8, 2024
1 parent 82bffeb commit cc2e9e1
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-22.04, macos-13 ]
os: [ ubuntu-20.04, macos-13 ]
steps:
- uses: actions/checkout@v2
with:
Expand All @@ -26,7 +26,7 @@ jobs:
with:
sharedKey: ${{ matrix.os }}
- name: Cache dependencies
if: ${{ matrix.os == 'ubuntu-22.04' }}
if: ${{ matrix.os == 'ubuntu-20.04' }}
run: if [[ ! -e ~/.cargo/bin/grcov ]]; then cargo install --locked grcov --version 0.8.9; fi
- name: Format
run: |
Expand All @@ -42,7 +42,7 @@ jobs:
RUST_BACKTRACE: 1
EXTRA_CARGO_ARGS: '--verbose'
- name: Run asan tests
if: ${{ matrix.os == 'ubuntu-22.04' }}
if: ${{ matrix.os == 'ubuntu-20.04' }}
run: make test
env:
RUST_BACKTRACE: 1
Expand All @@ -53,7 +53,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-22.04 ]
os: [ ubuntu-20.04 ]
steps:
- uses: actions/checkout@v2
with:
Expand All @@ -79,7 +79,7 @@ jobs:
EXTRA_CARGO_ARGS: '--verbose'
WITH_STABLE_TOOLCHAIN: 'force'
coverage:
runs-on: ubuntu-22.04
runs-on: ubuntu-20.04
needs: nightly
steps:
- uses: actions/checkout@v2
Expand All @@ -94,7 +94,7 @@ jobs:
components: llvm-tools-preview
- uses: Swatinem/rust-cache@v1
with:
sharedKey: ubuntu-22.04
sharedKey: ubuntu-20.04
- name: Install grcov
run: if [[ ! -e ~/.cargo/bin/grcov ]]; then cargo install --locked grcov --version 0.8.9; fi
- name: Run tests
Expand Down

0 comments on commit cc2e9e1

Please sign in to comment.