ci: also build on Ubuntu 24.04 #43
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: GitHub-CI | |
on: push | |
jobs: | |
build: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: | |
- ubuntu-24.04 | |
- ubuntu-22.04 | |
- ubuntu-20.04 | |
runs-on: ${{ matrix.os }} | |
steps: | |
# Checks-out the repository under $GITHUB_WORKSPACE. | |
- uses: actions/checkout@v4 | |
- name: Change directory | |
run: cd $GITHUB_WORKSPACE | |
- 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 | |
fpc -S2 vespucci.dpr |