Skip to content

Initial build

Initial build #1

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@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