Skip to content

ci: also build on Ubuntu 24.04 #43

ci: also build on Ubuntu 24.04

ci: also build on Ubuntu 24.04 #43

Workflow file for this run

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