Skip to content

Commit 26d6374

Browse files
authored
Merge pull request #352 from Nordix/big-endian-ci
Add gcc-15, Debian and big-endian runs in weekly CI
2 parents 006f324 + fdeaaf5 commit 26d6374

File tree

1 file changed

+59
-2
lines changed

1 file changed

+59
-2
lines changed

.github/workflows/weekly.yml

Lines changed: 59 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,24 @@ jobs:
9191
scripts/initbuild.sh make-concurrent
9292
scripts/test.sh
9393
94+
gcc-15:
95+
name: GCC 15
96+
runs-on: ubuntu-24.04
97+
container:
98+
image: ubuntu:25.04 # Provides gcc-15
99+
steps:
100+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
101+
- name: Prepare
102+
run: |
103+
apt update && apt-get install -y gcc-15 g++-15 cmake
104+
- name: Build and run tests
105+
env:
106+
CC: gcc-15
107+
CXX: g++-15
108+
run: |
109+
scripts/initbuild.sh make-concurrent
110+
scripts/test.sh
111+
94112
gcc-32bit:
95113
name: GCC 32bit
96114
runs-on: ubuntu-24.04
@@ -214,17 +232,56 @@ jobs:
214232
msbuild FlatCC.sln /m /property:Configuration=Release
215233
ctest -VV
216234
235+
debian:
236+
name: Debian ${{ matrix.version }} "${{ matrix.name }}"
237+
runs-on: ubuntu-24.04
238+
strategy:
239+
fail-fast: false
240+
matrix:
241+
include:
242+
- version: 12
243+
name: Bookworm
244+
- version: 11
245+
name: Bullseye
246+
container:
247+
image: debian:${{ matrix.version }}
248+
steps:
249+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
250+
- name: Prepare
251+
run: |
252+
apt update && apt-get install -y build-essential cmake
253+
- name: Build and run tests
254+
run: |
255+
scripts/initbuild.sh make-concurrent
256+
scripts/test.sh
257+
217258
cmake-minimum-required:
218-
name: CMake 2.8.12 (min. required)
259+
name: CMake 3.16 (min. required)
219260
runs-on: ubuntu-24.04
220261
steps:
221262
- name: Setup cmake
222263
uses: jwlawson/actions-setup-cmake@802fa1a2c4e212495c05bf94dba2704a92a472be # v2.0.2
223264
with:
224-
cmake-version: 2.8.12
265+
cmake-version: 3.16
225266
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
226267
- name: Build and run tests
227268
run: |
228269
cmake --version
229270
scripts/initbuild.sh make-concurrent
230271
scripts/test.sh
272+
273+
big-endian:
274+
name: Big-endian (s390x via QEMU)
275+
runs-on: ubuntu-24.04
276+
steps:
277+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
278+
- uses: uraimo/run-on-arch-action@d94c13912ea685de38fccc1109385b83fd79427d # v3.0.1
279+
with:
280+
arch: s390x
281+
distro: ubuntu24.04
282+
install: |
283+
apt-get update
284+
apt-get install -y --no-install-recommends build-essential cmake
285+
run: |
286+
scripts/initbuild.sh make-concurrent
287+
scripts/test.sh

0 commit comments

Comments
 (0)