Add version in to Reaper, and in Ping. Automatically include it. Also… #2
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: Build | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| build: | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| include: | |
| - os: ubuntu-latest | |
| name: Linux | |
| artifact: reaper_reaserve.so | |
| - os: macos-latest | |
| name: macOS | |
| artifact: reaper_reaserve.dylib | |
| - os: windows-latest | |
| name: Windows | |
| artifact: reaper_reaserve.dll | |
| name: ${{ matrix.name }} | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Configure | |
| run: cmake -B build -DCMAKE_BUILD_TYPE=Release -DREASERVE_BUILD_TESTS=ON | |
| - name: Build | |
| run: cmake --build build --config Release | |
| - name: Test | |
| run: ctest --test-dir build --output-on-failure -C Release | |
| - name: Upload artifact | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: reaper_reaserve-${{ matrix.name }} | |
| path: build/${{ matrix.artifact }} | |
| if-no-files-found: warn |