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