Skip to content

Commit

Permalink
ci: also build on Ubuntu 24.04
Browse files Browse the repository at this point in the history
  • Loading branch information
striezel committed Jun 10, 2024
1 parent 6e79403 commit a29eb9b
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,10 @@ on: push
jobs:
build:
strategy:
fail-fast: false
matrix:
os:
- ubuntu-24.04
- ubuntu-22.04
- ubuntu-20.04
runs-on: ${{ matrix.os }}
Expand All @@ -15,10 +17,16 @@ jobs:
- uses: actions/checkout@v4
- name: Change directory
run: cd $GITHUB_WORKSPACE
- name: Install Debian packages
- name: Install Debian packages (Ubuntu 22.04 and earlier)
run: |
sudo apt-get update
sudo apt-get install -y fp-compiler fp-units-gfx freeglut3
if: matrix.os != 'ubuntu-24.04'
- name: Install Debian packages (Ubuntu 24.04 and later)
run: |
sudo apt-get update
sudo apt-get install -y fp-compiler fp-units-gfx libglut3.12
if: matrix.os == 'ubuntu-24.04'
- name: Build
run: |
cd engine
Expand Down

0 comments on commit a29eb9b

Please sign in to comment.