🔧 Require sfmt-class as public link #20
This file contains 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
on: | |
push: | |
branches: [main, master] | |
pull_request: | |
branches: [main, master] | |
name: build | |
jobs: | |
build: | |
name: ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [macOS-latest, ubuntu-latest] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: cmake | |
run: cmake -S . -B build -DCMAKE_INSTALL_PREFIX=${HOME}/local | |
- name: build | |
run: | | |
cmake --build build -j 2 | |
cmake --install build | |
- name: test | |
run: cd build; ctest -V -j 2 |