1111 fail-fast : false
1212 matrix :
1313 include :
14+ - { version: '7.9', deps: sys }
15+ - { version: '7.9', deps: local }
16+ - { version: '7.9', deps: small }
1417 - { version: '7.8', deps: sys }
1518 - { version: '7.8', deps: small }
1619 - { version: '7.7', deps: sys }
@@ -32,63 +35,29 @@ jobs:
3235 - name : Checkout
3336 uses : actions/checkout@v4
3437 - name : Startup VM
35- uses : cross-platform-actions/action@v1.0.0
36- with :
37- architecture : x86_64
38- memory : 4G
39- operating_system : openbsd
40- version : ${{matrix.version}}
41- shell : bash
42- sync_files : runner-to-vm
43- shutdown_vm : false
44- run : true
45- - name : Install dependencies
46- uses : cross-platform-actions/action@v1.0.0
38+ uses : cross-platform-actions/action@v1.2.0
4739 with :
4840 architecture : x86_64
4941 memory : 4G
5042 operating_system : openbsd
5143 version : ${{matrix.version}}
5244 shell : bash
5345 sync_files : false
54- shutdown_vm : false
55- run : |
56- sudo pkg_add -u
57- sudo pkg_add -I ${{ (matrix.version == '7.8') && 'ghostscript-10.06.0' || (matrix.version == '7.7') && 'ghostscript-10.05.0' || (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' }}
58- sudo pkg_add -I ${{ (matrix.version == '7.8') && 'autoconf-2.72p0 automake-1.18' || (matrix.version == '7.7') && 'autoconf-2.72p0 automake-1.17 pkgconf' || (matrix.version == '7.6') && 'autoconf-2.72p0 automake-1.16.5 pkgconf' || (matrix.version == '7.5') && 'autoconf-2.71 automake-1.16.5 pkgconf' || (matrix.version == '7.4') && 'autoconf-2.71 automake-1.16.5 pkgconf' || 'autoconf automake pkgconf' }}
59- sudo pkg_add -I subversion p5-XML-XPath git mawk gmake autoconf-archive libtool libltdl help2man doxygen mpg123 libogg libvorbis flac libsndfile pulseaudio portaudio-svn sdl2
46+ - name : Sync files to VM
47+ shell : cpa.sh {0} --sync-files runner-to-vm
48+ run : true
49+ - name : Install dependencies
50+ shell : cpa.sh {0} --sync-files none
51+ run : |
52+ sudo pkg_add -u
53+ sudo pkg_add -I ${{ (matrix.version == '7.9') && 'ghostscript-10.07.0' || (matrix.version == '7.8') && 'ghostscript-10.06.0' || (matrix.version == '7.7') && 'ghostscript-10.05.0' || (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' }}
54+ sudo pkg_add -I ${{ (matrix.version == '7.9') && 'autoconf-2.72p0 automake-1.18.1' || (matrix.version == '7.8') && 'autoconf-2.72p0 automake-1.18' || (matrix.version == '7.7') && 'autoconf-2.72p0 automake-1.17 pkgconf' || (matrix.version == '7.6') && 'autoconf-2.72p0 automake-1.16.5 pkgconf' || (matrix.version == '7.5') && 'autoconf-2.71 automake-1.16.5 pkgconf' || (matrix.version == '7.4') && 'autoconf-2.71 automake-1.16.5 pkgconf' || 'autoconf automake pkgconf' }}
55+ sudo pkg_add -I subversion p5-XML-XPath git mawk gmake autoconf-archive libtool libltdl help2man doxygen mpg123 libogg libvorbis flac libsndfile pulseaudio portaudio-svn sdl2
6056 - name : Build
61- uses : cross-platform-actions/action@v1.0.0
62- with :
63- architecture : x86_64
64- memory : 4G
65- operating_system : openbsd
66- version : ${{matrix.version}}
67- shell : bash
68- sync_files : false
69- shutdown_vm : false
70- run : |
71- 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' }}
57+ shell : cpa.sh {0} --sync-files none
58+ run : |
59+ 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' }}
7260 - name : Test
73- uses : cross-platform-actions/action@v1.0.0
74- with :
75- architecture : x86_64
76- memory : 4G
77- operating_system : openbsd
78- version : ${{matrix.version}}
79- shell : bash
80- sync_files : false
81- shutdown_vm : false
82- run : |
83- 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
84- - name : Shutdown VM
85- uses : cross-platform-actions/action@v1.0.0
86- with :
87- architecture : x86_64
88- memory : 4G
89- operating_system : openbsd
90- version : ${{matrix.version}}
91- shell : bash
92- sync_files : false
93- shutdown_vm : true
94- run : true
61+ shell : cpa.sh {0} --sync-files none
62+ run : |
63+ 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
0 commit comments