From a29eb9b0b4b3b91ca41aecda626613878e82cd63 Mon Sep 17 00:00:00 2001 From: Dirk Stolle Date: Mon, 10 Jun 2024 03:03:10 +0200 Subject: [PATCH] ci: also build on Ubuntu 24.04 --- .github/workflows/build.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 350d71a..aee9b65 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 }} @@ -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