[Mod] Don't list SoundSmith/MegaTracker extensions if external files … #2573
This file contains hidden or 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: OpenBSD Autotools | |
| on: | |
| push: | |
| branches: [ master ] | |
| pull_request: | |
| branches: [ master ] | |
| jobs: | |
| build: | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| include: | |
| - { version: '7.8' } | |
| - { version: '7.7' } | |
| - { version: '7.6' } | |
| - { version: '7.5' } | |
| - { version: '7.4' } | |
| concurrency: | |
| group: ${{github.ref}}-${{github.workflow}}-${{matrix.version}}-autotools | |
| cancel-in-progress: true | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Startup VM | |
| uses: cross-platform-actions/action@v0.32.0 | |
| with: | |
| architecture: x86_64 | |
| memory: 4G | |
| operating_system: openbsd | |
| version: ${{matrix.version}} | |
| shell: bash | |
| sync_files: runner-to-vm | |
| shutdown_vm: false | |
| run: true | |
| - name: Install dependencies | |
| uses: cross-platform-actions/action@v0.32.0 | |
| with: | |
| architecture: x86_64 | |
| memory: 4G | |
| operating_system: openbsd | |
| version: ${{matrix.version}} | |
| shell: bash | |
| sync_files: false | |
| shutdown_vm: false | |
| run: | | |
| sudo pkg_add -u | |
| 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' }} | |
| 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' }} | |
| 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 | |
| - name: Build | |
| uses: cross-platform-actions/action@v0.32.0 | |
| with: | |
| architecture: x86_64 | |
| memory: 4G | |
| operating_system: openbsd | |
| version: ${{matrix.version}} | |
| shell: bash | |
| sync_files: false | |
| shutdown_vm: false | |
| run: | | |
| export MAKEFLAGS="-j$(sysctl -n hw.ncpu)"; ${{ (matrix.version == '7.8') && 'export AUTOCONF_VERSION=2.72' || (matrix.version == '7.7') && 'export AUTOCONF_VERSION=2.72' || (matrix.version == '7.6') && 'export AUTOCONF_VERSION=2.72' || (matrix.version == '7.5') && 'export AUTOCONF_VERSION=2.71' || (matrix.version == '7.4') && 'export AUTOCONF_VERSION=2.71' || '' }} ; ${{ (matrix.version == '7.8') && 'export AUTOMAKE_VERSION=1.18' || (matrix.version == '7.7') && 'export AUTOMAKE_VERSION=1.17' || (matrix.version == '7.6') && 'export AUTOMAKE_VERSION=1.16' || (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.32.0 | |
| with: | |
| architecture: x86_64 | |
| memory: 4G | |
| operating_system: openbsd | |
| version: ${{matrix.version}} | |
| shell: bash | |
| sync_files: false | |
| shutdown_vm: true | |
| run: true |