[Fix] Sample tab: Since r25000, dropping a sample file from the tree … #873
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 Makefile | |
| on: | |
| push: | |
| branches: [ master ] | |
| pull_request: | |
| branches: [ master ] | |
| jobs: | |
| build: | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| include: | |
| - { version: 'r1beta5', deps: sys } | |
| - { version: 'r1beta5', deps: local } | |
| - { version: 'r1beta5', deps: small } | |
| concurrency: | |
| group: ${{github.ref}}-${{github.workflow}}-${{matrix.version}}-${{matrix.deps}} | |
| 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: haiku | |
| version: ${{matrix.version}} | |
| shell: bash | |
| sync_files: false | |
| shutdown_vm: false | |
| run: true | |
| - name: Sync files to VM | |
| uses: cross-platform-actions/action@v0.32.0 | |
| with: | |
| architecture: x86_64 | |
| memory: 4G | |
| operating_system: haiku | |
| version: ${{matrix.version}} | |
| shell: bash | |
| sync_files: runner-to-vm | |
| shutdown_vm: false | |
| run: chown -R $(id -u):$(id -g) $(pwd) | |
| - name: Install dependencies | |
| uses: cross-platform-actions/action@v0.32.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 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.32.0 | |
| with: | |
| architecture: x86_64 | |
| memory: 4G | |
| operating_system: haiku | |
| version: ${{matrix.version}} | |
| shell: bash | |
| sync_files: false | |
| shutdown_vm: false | |
| run: | | |
| make -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_VORBISFILE=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@v0.32.0 | |
| with: | |
| architecture: x86_64 | |
| memory: 4G | |
| operating_system: haiku | |
| version: ${{matrix.version}} | |
| shell: bash | |
| sync_files: false | |
| shutdown_vm: false | |
| run: | | |
| make -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_VORBISFILE=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@v0.32.0 | |
| with: | |
| architecture: x86_64 | |
| memory: 4G | |
| operating_system: haiku | |
| version: ${{matrix.version}} | |
| shell: bash | |
| sync_files: false | |
| shutdown_vm: true | |
| run: true |