Skip to content

Commit

Permalink
[GHA] Stick with ubuntu-22.04 due to kcov package
Browse files Browse the repository at this point in the history
  • Loading branch information
batiati authored Oct 11, 2024
1 parent ac35864 commit 8229331
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
os: [ubuntu-22.04, macos-latest, windows-latest]
include:
- os: windows-latest
crlf: fix
- os: ubuntu-latest
- os: ubuntu-22.04
coverage: -Dtest-coverage=true
runs-on: ${{matrix.os}}
steps:
Expand All @@ -34,7 +34,7 @@ jobs:
version: master

- name: Download kcov
if: ${{ matrix.os == 'ubuntu-latest' }}
if: ${{ matrix.os == 'ubuntu-22.04' }}
run: |
sudo apt-get install -y kcov
Expand All @@ -45,7 +45,7 @@ jobs:
zig build test -Dcomptime-tests=false ${{ matrix.coverage }}
- name: Upload Codecov
if: ${{ matrix.os == 'ubuntu-latest' }}
if: ${{ matrix.os == 'ubuntu-22.04' }}
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
run: |
Expand Down

0 comments on commit 8229331

Please sign in to comment.