Bound variable-length shift and clamp float→uint casts in the parsers #279
Workflow file for this run
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: bsd | |
| on: | |
| push: | |
| branches: [master] | |
| pull_request: | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.run_id }} | |
| cancel-in-progress: true | |
| jobs: | |
| freebsd: | |
| runs-on: ubuntu-latest | |
| name: '${{ matrix.platform.name }} ${{ matrix.platform.os-version }}' | |
| timeout-minutes: 30 | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| platform: | |
| - { name: FreeBSD, os: freebsd, os-version: 14.4, os-arch: x86-64, | |
| cmake_opts: '-DWANT_OSS=ON', | |
| setup_cmd: 'sudo pkg update', | |
| install_cmd: 'sudo pkg install -y cmake', | |
| } | |
| - { name: OpenBSD, os: openbsd, os-version: 7.9, os-arch: x86-64, | |
| cmake_opts: '-DWANT_SNDIO=ON', | |
| setup_cmd: 'sudo pkg_add -u', | |
| install_cmd: 'sudo pkg_add cmake', | |
| } | |
| - { name: NetBSD, os: netbsd, os-version: 10.1, os-arch: x86-64, | |
| cmake_opts: '-DWANT_NETBSD=ON', | |
| setup_cmd: 'export PATH="/usr/pkg/sbin:/usr/pkg/bin:/sbin:$PATH";export PKG_PATH="https://cdn.netBSD.org/pub/pkgsrc/packages/NetBSD/$(uname -p)/$(uname -r|cut -f "1 2" -d.)/All/";echo "PKG_PATH=$PKG_PATH";echo "uname -a -> \"$(uname -a)\"";sudo -E sysctl -w security.pax.aslr.enabled=0;sudo -E sysctl -w security.pax.aslr.global=0;sudo -E pkgin clean;sudo -E pkgin update', | |
| install_cmd: 'sudo -E pkgin -y install cmake', | |
| } | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Build | |
| uses: cross-platform-actions/action@v1 | |
| with: | |
| operating_system: ${{ matrix.platform.os }} | |
| architecture: ${{ matrix.platform.os-arch }} | |
| version: ${{ matrix.platform.os-version }} | |
| run: | | |
| ${{ matrix.platform.setup_cmd }} | |
| ${{ matrix.platform.install_cmd }} | |
| cmake -B build -DCMAKE_INSTALL_PREFIX=build/out \ | |
| -DCMAKE_BUILD_TYPE=Release \ | |
| -DWANT_PLAYER=ON -DWANT_STATIC=ON \ | |
| ${{ matrix.platform.cmake_opts }} | |
| cmake --build build --config Release | |
| ctest --test-dir build --output-on-failure | |
| cmake --install build | |
| - uses: actions/upload-artifact@v4 | |
| with: | |
| if-no-files-found: error | |
| name: wildmidi-${{ matrix.platform.os }} | |
| path: build/out/ | |
| retention-days: 14 |