Skip to content

Commit

Permalink
Merge pull request #279 from emaste/freebsd-ci
Browse files Browse the repository at this point in the history
Add Cirrus-CI config file to build & test on FreeBSD
  • Loading branch information
PJK committed Apr 21, 2023
2 parents 0dd2ffe + 4d805e7 commit 8fba9a6
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .cirrus.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
freebsd_task:
install_script:
- ASSUME_ALWAYS_YES=yes pkg bootstrap -f && pkg install -y cmocka cmake ninja
build_script:
- mkdir build
- cd build
- cmake -GNinja -DWITH_TESTS=ON
-DCBOR_CUSTOM_ALLOC=ON
-DCMAKE_BUILD_TYPE=Debug
-DSANITIZE=OFF
..
- ninja -j $(sysctl -n hw.ncpu)
test_script:
- cd build
- ctest -VV
matrix:
- name: freebsd12-4-amd64
freebsd_instance:
image: freebsd-12-4-release-amd64
- name: freebsd13-2-amd64
freebsd_instance:
image: freebsd-13-2-release-amd64

0 comments on commit 8fba9a6

Please sign in to comment.