[Mod] Comments tab: Also apply fixed-width font to filenames. #133
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: NetBSD Makefile | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- { version: '10.0', deps: sys } | |
- { version: '10.0', deps: local } | |
- { version: '10.0', deps: small } | |
- { version: '9.3' , deps: sys } | |
- { version: '9.3' , deps: local } | |
- { version: '9.3' , deps: small } | |
concurrency: | |
group: ${{github.ref}}-${{github.workflow}}-${{matrix.version}}-${{matrix.deps}} | |
cancel-in-progress: true | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Startup VM | |
uses: cross-platform-actions/action@141cc293701219fd2f72b3abd9ca1fc322cf7d84 | |
with: | |
architecture: x86_64 | |
hypervisor: qemu | |
memory: 4G | |
operating_system: netbsd | |
version: ${{matrix.version}} | |
shell: bash | |
sync_files: runner-to-vm | |
shutdown_vm: false | |
run: true | |
- name: Install dependencies | |
uses: cross-platform-actions/action@141cc293701219fd2f72b3abd9ca1fc322cf7d84 | |
with: | |
architecture: x86_64 | |
hypervisor: qemu | |
memory: 4G | |
operating_system: netbsd | |
version: ${{matrix.version}} | |
shell: bash | |
sync_files: false | |
shutdown_vm: false | |
run: | | |
sudo pkgin -y install subversion git p5-XML-XPath mawk | |
sudo pkgin -y install gmake pkgconf | |
sudo pkgin -y install mpg123 libogg libvorbis flac libsndfile pulseaudio portaudio SDL2 | |
sudo pkgin -y install autoconf autoconf-archive automake libtool libltdl | |
sudo pkgin -y install doxygen help2man | |
- name: Build | |
uses: cross-platform-actions/action@141cc293701219fd2f72b3abd9ca1fc322cf7d84 | |
with: | |
architecture: x86_64 | |
hypervisor: qemu | |
memory: 4G | |
operating_system: netbsd | |
version: ${{matrix.version}} | |
shell: bash | |
sync_files: false | |
shutdown_vm: false | |
run: | | |
gmake -j4 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_PORTAUDIO=1 NO_PORTAUDIOCPP=1 NO_PULSEAUDIO=1 NO_SDL2=1 NO_FLAC=1 NO_SNDFILE=1' }} | |
- name: Test | |
uses: cross-platform-actions/action@141cc293701219fd2f72b3abd9ca1fc322cf7d84 | |
with: | |
architecture: x86_64 | |
hypervisor: qemu | |
memory: 4G | |
operating_system: netbsd | |
version: ${{matrix.version}} | |
shell: bash | |
sync_files: false | |
shutdown_vm: false | |
run: | | |
gmake -j4 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_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@141cc293701219fd2f72b3abd9ca1fc322cf7d84 | |
with: | |
architecture: x86_64 | |
hypervisor: qemu | |
memory: 4G | |
operating_system: netbsd | |
version: ${{matrix.version}} | |
shell: bash | |
sync_files: false | |
shutdown_vm: true | |
run: true |