Fix compilation error in SVD #168
Workflow file for this run
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
name: Build/test suite | |
on: | |
push: | |
branches: | |
mainline | |
pull_request: | |
branches: | |
mainline | |
jobs: | |
build: | |
strategy: | |
matrix: | |
include: | |
- os: ubuntu-24.04 | |
- os: macos-latest | |
- os: windows-latest | |
name: | | |
test ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Check out project | |
uses: actions/checkout@v4 | |
- name: Install Linux dependencies | |
if: startsWith(matrix.os, 'ubuntu') | |
run: | | |
sudo apt-get install libmpfr-dev libeigen3-dev catch2 | |
- name: Install MacOS dependencies | |
if: startsWith(matrix.os, 'macos') | |
run: | | |
brew install mpfr catch2 eigen | |
- name: CMake configure and build | |
uses: threeal/[email protected] | |
with: | |
options: | | |
XPREC_BUILD_TESTING=${{ startsWith(matrix.os, 'windows') && 'OFF' || 'ON' }} | |
run-build: true | |
- name: Run tests | |
if: (!startsWith(matrix.os, 'windows')) | |
run: | | |
build/test/tests |