[Ref] mpt/base/macros.hpp: Add version constraints for MSVC attributes. #84
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: Haiku Autotools | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- { version: 'r1beta5' } | |
concurrency: | |
group: ${{github.ref}}-${{github.workflow}}-${{matrix.version}}-autotools | |
cancel-in-progress: true | |
runs-on: ubuntu-24.04 | |
# disable due to <https://github.com/cross-platform-actions/action/issues/103> and <https://github.com/cross-platform-actions/action/issues/104> | |
if: false | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Startup VM | |
uses: cross-platform-actions/action@v0.28.0 | |
with: | |
architecture: x86_64 | |
memory: 4G | |
operating_system: haiku | |
version: ${{matrix.version}} | |
shell: bash | |
sync_files: runner-to-vm | |
shutdown_vm: false | |
run: true | |
- name: Install dependencies | |
uses: cross-platform-actions/action@v0.28.0 | |
with: | |
architecture: x86_64 | |
memory: 4G | |
operating_system: haiku | |
version: ${{matrix.version}} | |
shell: bash | |
sync_files: false | |
shutdown_vm: false | |
run: | | |
pkgman refresh | |
pkgman full-sync -y | |
pkgman install -y subversion git perl gawk make pkgconfig mpg123_devel libogg_devel libvorbis_devel flac_devel libsndfile_devel portaudio_devel libsdl2_devel autoconf autoconf_archive libtool libtool_libltdl doxygen help2man | |
- name: Build | |
uses: cross-platform-actions/action@v0.28.0 | |
with: | |
architecture: x86_64 | |
memory: 4G | |
operating_system: haiku | |
version: ${{matrix.version}} | |
shell: bash | |
sync_files: false | |
shutdown_vm: false | |
run: | | |
export MAKEFLAGS="-j4"; ./build/autotools/autoconfiscate.sh | |
- name: Shutdown VM | |
uses: cross-platform-actions/action@v0.28.0 | |
with: | |
architecture: x86_64 | |
memory: 4G | |
operating_system: haiku | |
version: ${{matrix.version}} | |
shell: bash | |
sync_files: false | |
shutdown_vm: true | |
run: true |