[Imp] build: Makefile: Add explicit CONFIG=macos and provide MACOSX_V… #248
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: OpenBSD 7.4 Makefile | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
concurrency: | |
group: ${{ github.ref }}-${{ github.workflow }} | |
cancel-in-progress: true | |
jobs: | |
build: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Startup VM | |
uses: cross-platform-actions/action@v0.23.0 | |
with: | |
architecture: x86_64 | |
hypervisor: qemu | |
memory: 4G | |
operating_system: openbsd | |
version: '7.4' | |
shell: bash | |
sync_files: runner-to-vm | |
shutdown_vm: false | |
run: true | |
- name: Install dependencies | |
uses: cross-platform-actions/action@v0.23.0 | |
with: | |
architecture: x86_64 | |
hypervisor: qemu | |
memory: 4G | |
operating_system: openbsd | |
version: '7.4' | |
shell: bash | |
sync_files: false | |
shutdown_vm: false | |
run: | | |
sudo pkg_add subversion p5-XML-XPath git mawk gmake pkgconf autoconf autoconf-archive automake libtool libltdl help2man doxygen mpg123 libogg libvorbis flac libsndfile pulseaudio portaudio-svn sdl2 | |
- name: Build | |
uses: cross-platform-actions/action@v0.23.0 | |
with: | |
architecture: x86_64 | |
hypervisor: qemu | |
memory: 4G | |
operating_system: openbsd | |
version: '7.4' | |
shell: bash | |
sync_files: false | |
shutdown_vm: false | |
run: | | |
gmake -j$(sysctl -n hw.ncpu) STRICT=1 VERBOSE=1 AUTO_DEPS=1 | |
- name: Test | |
uses: cross-platform-actions/action@v0.23.0 | |
with: | |
architecture: x86_64 | |
hypervisor: qemu | |
memory: 4G | |
operating_system: openbsd | |
version: '7.4' | |
shell: bash | |
sync_files: false | |
shutdown_vm: false | |
run: | | |
gmake -j$(sysctl -n hw.ncpu) STRICT=1 VERBOSE=1 AUTO_DEPS=1 check | |
- name: Shutdown VM | |
uses: cross-platform-actions/action@v0.23.0 | |
with: | |
architecture: x86_64 | |
hypervisor: qemu | |
memory: 4G | |
operating_system: openbsd | |
version: '7.4' | |
shell: bash | |
sync_files: false | |
shutdown_vm: true | |
run: true |