Skip to content

Commit 06b0562

Browse files
committed
[Mod] build: CI: GitHub: Use similar configuration scheme as trunk.
[Mod] build: CI: GitHub: Add all platform versions from trunk. git-svn-id: https://source.openmpt.org/svn/openmpt/branches/OpenMPT-1.30@24368 56274372-70c3-4bfc-bfc3-4c3a0b034d27
1 parent 30a9443 commit 06b0562

10 files changed

Lines changed: 388 additions & 380 deletions

.github/workflows/FreeBSD-14.3-Makefile.yml

Lines changed: 0 additions & 77 deletions
This file was deleted.

.github/workflows/FreeBSD-13.5-Makefile.yml renamed to .github/workflows/FreeBSD-Makefile.yml

Lines changed: 23 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,27 @@
1-
name: FreeBSD 13.5 Makefile
1+
name: FreeBSD Makefile
22

33
on:
44
push:
55
branches: [ OpenMPT-1.30 ]
66

7-
concurrency:
8-
group: ${{ github.ref }}-${{ github.workflow }}
9-
cancel-in-progress: true
10-
117
jobs:
128
build:
139

10+
strategy:
11+
fail-fast: false
12+
matrix:
13+
include:
14+
- { version: '14.3', deps: sys }
15+
- { version: '14.3', deps: local }
16+
- { version: '14.3', deps: small }
17+
- { version: '13.5', deps: sys }
18+
- { version: '13.5', deps: local }
19+
- { version: '13.5', deps: small }
20+
21+
concurrency:
22+
group: ${{github.ref}}-${{github.workflow}}-${{matrix.version}}-${{matrix.deps}}
23+
cancel-in-progress: true
24+
1425
runs-on: ubuntu-24.04
1526

1627
steps:
@@ -22,7 +33,7 @@ jobs:
2233
architecture: x86_64
2334
memory: 4G
2435
operating_system: freebsd
25-
version: '13.5'
36+
version: ${{matrix.version}}
2637
shell: bash
2738
sync_files: runner-to-vm
2839
shutdown_vm: false
@@ -33,7 +44,7 @@ jobs:
3344
architecture: x86_64
3445
memory: 4G
3546
operating_system: freebsd
36-
version: '13.5'
47+
version: ${{matrix.version}}
3748
shell: bash
3849
sync_files: false
3950
shutdown_vm: false
@@ -46,31 +57,31 @@ jobs:
4657
architecture: x86_64
4758
memory: 4G
4859
operating_system: freebsd
49-
version: '13.5'
60+
version: ${{matrix.version}}
5061
shell: bash
5162
sync_files: false
5263
shutdown_vm: false
5364
run: |
54-
gmake -j$(sysctl -n hw.ncpu) STRICT=1 VERBOSE=1 AUTO_DEPS=1
65+
gmake -j$(sysctl -n hw.ncpu) STRICT=1 VERBOSE=1 ${{ (matrix.deps == 'sys') && 'AUTO_DEPS=1' || (matrix.deps == 'local') && 'LOCAL_ZLIB=1 LOCAL_MPG123=1 LOCAL_OGG=1 LOCAL_VORBIS=1 NO_PORTAUDIO=1 NO_PORTAUDIOCPP=1 NO_PULSEAUDIO=1 NO_SDL2=1 NO_FLAC=1 NO_SNDFILE=1' || 'NO_ZLIB=1 NO_MPG123=1 NO_OGG=1 NO_VORBIS=1 NO_VORBISFILE=1 NO_PORTAUDIO=1 NO_PORTAUDIOCPP=1 NO_PULSEAUDIO=1 NO_SDL2=1 NO_FLAC=1 NO_SNDFILE=1' }}
5566
- name: Test
5667
uses: cross-platform-actions/action@v0.29.0
5768
with:
5869
architecture: x86_64
5970
memory: 4G
6071
operating_system: freebsd
61-
version: '13.5'
72+
version: ${{matrix.version}}
6273
shell: bash
6374
sync_files: false
6475
shutdown_vm: false
6576
run: |
66-
gmake -j$(sysctl -n hw.ncpu) STRICT=1 VERBOSE=1 AUTO_DEPS=1 check
77+
gmake -j$(sysctl -n hw.ncpu) STRICT=1 VERBOSE=1 ${{ (matrix.deps == 'sys') && 'AUTO_DEPS=1' || (matrix.deps == 'local') && 'LOCAL_ZLIB=1 LOCAL_MPG123=1 LOCAL_OGG=1 LOCAL_VORBIS=1 NO_PORTAUDIO=1 NO_PORTAUDIOCPP=1 NO_PULSEAUDIO=1 NO_SDL2=1 NO_FLAC=1 NO_SNDFILE=1' || 'NO_ZLIB=1 NO_MPG123=1 NO_OGG=1 NO_VORBIS=1 NO_VORBISFILE=1 NO_PORTAUDIO=1 NO_PORTAUDIOCPP=1 NO_PULSEAUDIO=1 NO_SDL2=1 NO_FLAC=1 NO_SNDFILE=1' }} check
6778
- name: Shutdown VM
6879
uses: cross-platform-actions/action@v0.29.0
6980
with:
7081
architecture: x86_64
7182
memory: 4G
7283
operating_system: freebsd
73-
version: '13.5'
84+
version: ${{matrix.version}}
7485
shell: bash
7586
sync_files: false
7687
shutdown_vm: true

.github/workflows/OpenBSD-7.4-Makefile.yml

Lines changed: 0 additions & 79 deletions
This file was deleted.

.github/workflows/OpenBSD-7.5-Makefile.yml

Lines changed: 0 additions & 79 deletions
This file was deleted.

0 commit comments

Comments
 (0)