@@ -28,61 +28,27 @@ jobs:
2828 - name : Checkout
2929 uses : actions/checkout@v4
3030 - name : Startup VM
31- uses : cross-platform-actions/action@bf4c487506d60be13c9e4d72c1f430e2361efebf
32- with :
33- architecture : x86_64
34- memory : 4G
35- operating_system : freebsd
36- version : ${{matrix.version}}
37- shell : bash
38- sync_files : runner-to-vm
39- shutdown_vm : false
40- run : true
41- - name : Install dependencies
42- uses : cross-platform-actions/action@bf4c487506d60be13c9e4d72c1f430e2361efebf
31+ uses : cross-platform-actions/action@v1.2.0
4332 with :
4433 architecture : x86_64
4534 memory : 4G
4635 operating_system : freebsd
4736 version : ${{matrix.version}}
4837 shell : bash
4938 sync_files : false
50- shutdown_vm : false
51- run : |
52- sudo pkg upgrade -y
53- sudo pkg install -y subversion p5-XML-XPath git mawk gmake pkgconf autoconf autoconf-archive automake libtool help2man doxygen mpg123 libogg libvorbis flac libsndfile pulseaudio portaudio sdl2
39+ - name : Sync files to VM
40+ shell : cpa.sh {0} --sync-files runner-to-vm
41+ run : true
42+ - name : Install dependencies
43+ shell : cpa.sh {0} --sync-files none
44+ run : |
45+ sudo pkg upgrade -y
46+ sudo pkg install -y subversion p5-XML-XPath git mawk gmake pkgconf autoconf autoconf-archive automake libtool help2man doxygen mpg123 libogg libvorbis flac libsndfile pulseaudio portaudio sdl2
5447 - name : Build
55- uses : cross-platform-actions/action@bf4c487506d60be13c9e4d72c1f430e2361efebf
56- with :
57- architecture : x86_64
58- memory : 4G
59- operating_system : freebsd
60- version : ${{matrix.version}}
61- shell : bash
62- sync_files : false
63- shutdown_vm : false
64- run : |
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' }}
48+ shell : cpa.sh {0} --sync-files none
49+ run : |
50+ 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' }}
6651 - name : Test
67- uses : cross-platform-actions/action@bf4c487506d60be13c9e4d72c1f430e2361efebf
68- with :
69- architecture : x86_64
70- memory : 4G
71- operating_system : freebsd
72- version : ${{matrix.version}}
73- shell : bash
74- sync_files : false
75- shutdown_vm : false
76- run : |
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
78- - name : Shutdown VM
79- uses : cross-platform-actions/action@bf4c487506d60be13c9e4d72c1f430e2361efebf
80- with :
81- architecture : x86_64
82- memory : 4G
83- operating_system : freebsd
84- version : ${{matrix.version}}
85- shell : bash
86- sync_files : false
87- shutdown_vm : true
88- run : true
52+ shell : cpa.sh {0} --sync-files none
53+ run : |
54+ 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