Skip to content

Bump version from v4 to v5 to use node 24 over 20 to stop github acti… #4

Bump version from v4 to v5 to use node 24 over 20 to stop github acti…

Bump version from v4 to v5 to use node 24 over 20 to stop github acti… #4

Workflow file for this run

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@v5
- 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: Find binary
id: binary
shell: bash
run: |
# MSVC puts output in build/Release/, others in build/
path=$(find build -name "${{ matrix.artifact }}" -type f | head -1)
echo "path=$path" >> "$GITHUB_OUTPUT"
- name: Upload artifact
uses: actions/upload-artifact@v5
with:
name: reaper_reaserve-${{ matrix.name }}
path: ${{ steps.binary.outputs.path }}
if-no-files-found: warn