Skip to content

Add mermaid diagram reather than txt #8

Add mermaid diagram reather than txt

Add mermaid diagram reather than txt #8

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@v6
- 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@v6
with:
name: reaper_reaserve-${{ matrix.name }}
path: ${{ steps.binary.outputs.path }}
if-no-files-found: warn