Skip to content

Update cmake-multi-platform.yml #23

Update cmake-multi-platform.yml

Update cmake-multi-platform.yml #23

Workflow file for this run

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