-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.cirrus.yml
More file actions
31 lines (29 loc) · 1.18 KB
/
.cirrus.yml
File metadata and controls
31 lines (29 loc) · 1.18 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Cirrus CI configuration for FreeBSD builds.
freebsd_instance:
image_family: freebsd-15-0-amd64-ufs
task:
matrix:
- name: "FreeBSD QRhi Build"
text: "OFF"
examples: "OFF"
- name: "FreeBSD QRhi+Text Build"
text: "ON"
examples: "ON"
install_script:
- rm -f /var/db/pkg/*.sqlite
- rm -rf /var/cache/pkg/*
- pkg bootstrap -fy
- mkdir -p /usr/local/etc/pkg/repos
- "echo 'FreeBSD-ports: { enabled: no }' > /usr/local/etc/pkg/repos/FreeBSD-ports.conf"
- "echo 'FreeBSD: { url: https://pkg.FreeBSD.org/${ABI}/latest }' > /usr/local/etc/pkg/repos/FreeBSD.conf"
- pkg update -f
- pkg install -y git cmake pkgconf qt6-base qt6-declarative qt6-shadertools
configure_script:
- cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -DVNM_PLOT_ENABLE_TEXT=${text} -DVNM_PLOT_BUILD_TESTS=ON -DVNM_PLOT_BUILD_EXAMPLES=${examples} -DVNM_PLOT_BUILD_FUNCTION_PLOTTER=OFF
build_script:
- cmake --build build --config Release
test_script:
- cd build && env QT_QPA_PLATFORM=offscreen ctest --output-on-failure
summary_script:
- echo "=== ${CIRRUS_TASK_NAME} Completed ==="
- ls -la build/*.a 2>/dev/null || echo "Static libraries built"