Skip to content

Commit

Permalink
[Imp] build: CI: GitHub: Add OpenBSD 7.6.
Browse files Browse the repository at this point in the history
git-svn-id: https://source.openmpt.org/svn/openmpt/trunk/OpenMPT@21794 56274372-70c3-4bfc-bfc3-4c3a0b034d27
  • Loading branch information
manxorist committed Oct 10, 2024
1 parent 6faf494 commit 4f94d16
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 13 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/OpenBSD-Autotools.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ jobs:
fail-fast: false
matrix:
include:
- { version: '7.6' }
- { version: '7.5' }
- { version: '7.4' }

Expand All @@ -26,7 +27,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
- name: Startup VM
uses: cross-platform-actions/action@v0.25.0
uses: cross-platform-actions/action@595d543e5d1aeb6d48c0a176965028afe56c7018
with:
architecture: x86_64
memory: 4G
Expand All @@ -37,7 +38,7 @@ jobs:
shutdown_vm: false
run: true
- name: Install dependencies
uses: cross-platform-actions/action@v0.25.0
uses: cross-platform-actions/action@595d543e5d1aeb6d48c0a176965028afe56c7018
with:
architecture: x86_64
memory: 4G
Expand All @@ -48,11 +49,11 @@ jobs:
shutdown_vm: false
run: |
sudo pkg_add -u
sudo pkg_add -I ${{ (matrix.version == '7.5') && 'ghostscript-10.03.1' || (matrix.version == '7.4') && 'ghostscript-10.02.0' || 'ghostscript' }}
sudo pkg_add -I ${{ (matrix.version == '7.5') && 'autoconf-2.71 automake-1.16.5' || (matrix.version == '7.4') && 'autoconf-2.71 automake-1.16.5' || 'autoconf automake' }}
sudo pkg_add -I ${{ (matrix.version == '7.6') && 'ghostscript-10.03.1p2' || ${{ (matrix.version == '7.5') && 'ghostscript-10.03.1' || (matrix.version == '7.4') && 'ghostscript-10.02.0' || 'ghostscript' }}
sudo pkg_add -I ${{ (matrix.version == '7.6') && 'autoconf-2.72p0 automake-1.16.5' || ${{ (matrix.version == '7.5') && 'autoconf-2.71 automake-1.16.5' || (matrix.version == '7.4') && 'autoconf-2.71 automake-1.16.5' || 'autoconf automake' }}
sudo pkg_add -I subversion p5-XML-XPath git mawk gmake pkgconf autoconf-archive libtool libltdl help2man doxygen mpg123 libogg libvorbis flac libsndfile pulseaudio portaudio-svn sdl2
- name: Build
uses: cross-platform-actions/action@v0.25.0
uses: cross-platform-actions/action@595d543e5d1aeb6d48c0a176965028afe56c7018
with:
architecture: x86_64
memory: 4G
Expand All @@ -64,7 +65,7 @@ jobs:
run: |
export MAKEFLAGS="-j$(sysctl -n hw.ncpu)"; ${{ (matrix.version == '7.5') && 'export AUTOCONF_VERSION=2.71' || (matrix.version == '7.4') && 'export AUTOCONF_VERSION=2.71' || '' }} ; ${{ (matrix.version == '7.5') && 'export AUTOMAKE_VERSION=1.16' || (matrix.version == '7.4') && 'export AUTOMAKE_VERSION=1.16' || '' }} ;./build/autotools/autoconfiscate.sh
- name: Shutdown VM
uses: cross-platform-actions/action@v0.25.0
uses: cross-platform-actions/action@595d543e5d1aeb6d48c0a176965028afe56c7018
with:
architecture: x86_64
memory: 4G
Expand Down
17 changes: 10 additions & 7 deletions .github/workflows/OpenBSD-Makefile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ jobs:
fail-fast: false
matrix:
include:
- { version: '7.6', deps: sys }
- { version: '7.6', deps: local }
- { version: '7.6', deps: small }
- { version: '7.5', deps: sys }
- { version: '7.5', deps: local }
- { version: '7.5', deps: small }
Expand All @@ -30,7 +33,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
- name: Startup VM
uses: cross-platform-actions/action@v0.25.0
uses: cross-platform-actions/action@595d543e5d1aeb6d48c0a176965028afe56c7018
with:
architecture: x86_64
memory: 4G
Expand All @@ -41,7 +44,7 @@ jobs:
shutdown_vm: false
run: true
- name: Install dependencies
uses: cross-platform-actions/action@v0.25.0
uses: cross-platform-actions/action@595d543e5d1aeb6d48c0a176965028afe56c7018
with:
architecture: x86_64
memory: 4G
Expand All @@ -52,11 +55,11 @@ jobs:
shutdown_vm: false
run: |
sudo pkg_add -u
sudo pkg_add -I ${{ (matrix.version == '7.5') && 'ghostscript-10.03.1' || (matrix.version == '7.4') && 'ghostscript-10.02.0' || 'ghostscript' }}
sudo pkg_add -I ${{ (matrix.version == '7.5') && 'autoconf-2.71 automake-1.16.5' || (matrix.version == '7.4') && 'autoconf-2.71 automake-1.16.5' || 'autoconf automake' }}
sudo pkg_add -I ${{ (matrix.version == '7.6') && 'ghostscript-10.03.1p2' || ${{ (matrix.version == '7.5') && 'ghostscript-10.03.1' || (matrix.version == '7.4') && 'ghostscript-10.02.0' || 'ghostscript' }}
sudo pkg_add -I ${{ (matrix.version == '7.6') && 'autoconf-2.72p0 automake-1.16.5' || ${{ (matrix.version == '7.5') && 'autoconf-2.71 automake-1.16.5' || (matrix.version == '7.4') && 'autoconf-2.71 automake-1.16.5' || 'autoconf automake' }}
sudo pkg_add -I subversion p5-XML-XPath git mawk gmake pkgconf autoconf-archive libtool libltdl help2man doxygen mpg123 libogg libvorbis flac libsndfile pulseaudio portaudio-svn sdl2
- name: Build
uses: cross-platform-actions/action@v0.25.0
uses: cross-platform-actions/action@595d543e5d1aeb6d48c0a176965028afe56c7018
with:
architecture: x86_64
memory: 4G
Expand All @@ -68,7 +71,7 @@ jobs:
run: |
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' }}
- name: Test
uses: cross-platform-actions/action@v0.25.0
uses: cross-platform-actions/action@595d543e5d1aeb6d48c0a176965028afe56c7018
with:
architecture: x86_64
memory: 4G
Expand All @@ -80,7 +83,7 @@ jobs:
run: |
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
- name: Shutdown VM
uses: cross-platform-actions/action@v0.25.0
uses: cross-platform-actions/action@595d543e5d1aeb6d48c0a176965028afe56c7018
with:
architecture: x86_64
memory: 4G
Expand Down

0 comments on commit 4f94d16

Please sign in to comment.