xref: /freebsd/contrib/libcbor/.cirrus.yml (revision 7fdf597e96a02165cfe22ff357b857d5fa15ed8a)
1freebsd_task:
2    install_script:
3    - ASSUME_ALWAYS_YES=yes pkg bootstrap -f && pkg install -y cmocka cmake ninja
4    build_script:
5    - mkdir build
6    - cd build
7    - cmake -GNinja -DWITH_TESTS=ON
8      -DCBOR_CUSTOM_ALLOC=ON
9      -DCMAKE_BUILD_TYPE=Debug
10      -DSANITIZE=OFF
11      ..
12    - ninja -j $(sysctl -n hw.ncpu)
13    test_script:
14    - cd build
15    - ctest -VV
16    matrix:
17    # From gcloud compute images list --project freebsd-org-cloud-dev --no-standard-images
18    - name: freebsd-13-2
19      freebsd_instance:
20        image_family: freebsd-13-2
21    - name: freebsd-14-0
22      freebsd_instance:
23        image_family: freebsd-14-0
24    - name: freebsd-15-0-snap
25      freebsd_instance:
26        image_family: freebsd-15-0-snap
27