1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-18 12:33:17 +01:00

Update Debian CI to Bookworm, Ubuntu CI to Noble (#22493)

* Update Debian CI image to Bookworm

* Disable optimizations for files tripping GCC 12

* Try disabling warnings instead of optimizations

* Update Ubuntu from jammy (22.04) to noble (24.04), drop i386

Dropping i386 as there are packages missing in upstream repository
required for OpenRCT2, such as https://packages.ubuntu.com/noble/libzip-dev

* Deprecate GCC older than 12

* Update Debian Bookworm CI configuration

* Update remaining jobs from Ubuntu jammy to noble

* Update docker images to v16 for libclang-rt-dev
This commit is contained in:
Michał Janiszewski
2024-09-06 22:05:04 +02:00
committed by GitHub
parent 14f92966a6
commit 125ae170b2
3 changed files with 19 additions and 13 deletions

View File

@@ -305,19 +305,14 @@ jobs:
# Use `-fno-var-tracking-assignments` to reduce amount of produced debug information. This is necessary due to 100MiB limit of GitHub / openrct2.org API.
- platform: x86_64
distro: Ubuntu
release: jammy
image: openrct2/openrct2-build:14-jammy
release: noble
image: openrct2/openrct2-build:16-noble
build_flags: -DCMAKE_POSITION_INDEPENDENT_CODE=on -DCMAKE_CXX_FLAGS="-g -gz -fno-var-tracking-assignments"
- platform: x86_64
distro: Debian
release: bullseye
image: openrct2/openrct2-build:14-bullseye
release: bookworm
image: openrct2/openrct2-build:16-bookworm
build_flags: -DCMAKE_POSITION_INDEPENDENT_CODE=on -DCMAKE_CXX_FLAGS="-g -gz -fno-var-tracking-assignments" -DWITH_TESTS=off
- platform: i686
distro: Ubuntu
release: jammy
image: openrct2/openrct2-build:14-jammy32
build_flags: -DFORCE32=ON -DENABLE_SCRIPTING=OFF -DCMAKE_CXX_FLAGS="-m32 -g -gz" -DWITH_TESTS=off
steps:
- name: Checkout
uses: actions/checkout@v4
@@ -355,7 +350,7 @@ jobs:
name: Ubuntu Linux (AppImage, x86_64)
runs-on: ubuntu-latest
needs: check-code-formatting
container: openrct2/openrct2-build:14-jammy
container: openrct2/openrct2-build:16-noble
steps:
- name: Checkout
uses: actions/checkout@v4
@@ -410,10 +405,10 @@ jobs:
echo 'Image not pushed'
fi
linux-clang:
name: Ubuntu Linux (jammy, debug, [http, network, flac, vorbis OpenGL] disabled) using clang
name: Ubuntu Linux (noble, debug, [http, network, flac, vorbis OpenGL] disabled) using clang
runs-on: ubuntu-latest
needs: check-code-formatting
container: openrct2/openrct2-build:14-jammy
container: openrct2/openrct2-build:16-noble
steps:
- name: Checkout
uses: actions/checkout@v4
@@ -429,7 +424,7 @@ jobs:
name: Ubuntu Linux (debug) using clang, coverage enabled
runs-on: ubuntu-latest
needs: check-code-formatting
container: openrct2/openrct2-build:14-jammy
container: openrct2/openrct2-build:16-noble
steps:
- name: Checkout
uses: actions/checkout@v4