Update cmake-multi-platform.yml #23
This file contains hidden or 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: FreeBSD CI | |
| on: | |
| push: | |
| branches: [ main, adaptiveDt ] | |
| pull_request: | |
| branches: [ main ] | |
| concurrency: | |
| group: freebsd-ci-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| freebsd: | |
| name: FreeBSD ${{ matrix.version }} Build | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| version: ["14.3", "15.0"] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Build & Test on FreeBSD | |
| uses: vmactions/freebsd-vm@v1 | |
| with: | |
| release: "${{ matrix.version }}" | |
| prepare: | | |
| pkg update -f | |
| pkg install -y llvm cmake gmake hdf5 | |
| run: | | |
| export CC=clang | |
| export CXX=clang++ | |
| cmake -B build -S . -DCMAKE_BUILD_TYPE=Release | |
| cmake --build build -- -j$(sysctl -n hw.ncpu) | |
| cd build && ctest --output-on-failure |