Skip to content

Commit

Permalink
Disconnect the CI OS detection from the OS version.
Browse files Browse the repository at this point in the history
  • Loading branch information
xStrom committed Dec 8, 2024
1 parent ebc25ca commit 69b581b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ jobs:
tool: cargo-hack

- name: install native dependencies
if: matrix.os == 'ubuntu-latest'
if: runner.os == 'Linux'
run: sudo apt-get update; sudo apt-get install --no-install-recommends libasound2-dev libudev-dev

- name: restore cache
Expand Down Expand Up @@ -253,12 +253,12 @@ jobs:
toolchain: ${{ env.RUST_STABLE_VER }}

- name: install native dependencies
if: matrix.os == 'ubuntu-latest'
if: runner.os == 'Linux'
run: sudo apt-get update; sudo apt-get install --no-install-recommends libasound2-dev libudev-dev

# Adapted from https://github.com/bevyengine/bevy/blob/b446374392adc70aceb92621b080d1a6cf7a7392/.github/workflows/validation-jobs.yml#L74-L79
- name: install xvfb, llvmpipe and lavapipe
if: matrix.os == 'ubuntu-latest'
if: runner.os == 'Linux'
# https://launchpad.net/~kisak/+archive/ubuntu/turtle
run: |
sudo apt-get update -y -qq
Expand Down Expand Up @@ -361,7 +361,7 @@ jobs:
tool: cargo-hack

- name: install native dependencies
if: matrix.os == 'ubuntu-latest'
if: runner.os == 'Linux'
run: sudo apt-get update; sudo apt-get install --no-install-recommends libasound2-dev libudev-dev

- name: restore cache
Expand Down

0 comments on commit 69b581b

Please sign in to comment.