Skip to content

Commit c2ac513

Browse files
add BSD ci
1 parent 5e94ac1 commit c2ac513

1 file changed

Lines changed: 29 additions & 0 deletions

File tree

.github/workflows/bsd.yaml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: FreeBSD CI
2+
3+
on:
4+
push:
5+
branches: [ main, adaptiveDt ]
6+
pull_request:
7+
branches: [ main ]
8+
9+
jobs:
10+
freebsd:
11+
name: FreeBSD 14.3 Build
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- uses: actions/checkout@v4
16+
17+
- name: Build & Test on FreeBSD
18+
uses: vmactions/freebsd-vm@v1
19+
with:
20+
release: "14.3"
21+
prepare: |
22+
pkg update -f
23+
pkg install -y llvm cmake gmake hdf5
24+
run: |
25+
export CC=clang
26+
export CXX=clang++
27+
cmake -B build -S . -DCMAKE_BUILD_TYPE=Release
28+
cmake --build build -- -j$(sysctl -n hw.ncpu)
29+
cd build && ctest --output-on-failure

0 commit comments

Comments
 (0)