forked from TheTumultuousUnicornOfDarkness/CPU-X
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.cirrus.yml
23 lines (20 loc) · 834 Bytes
/
.cirrus.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
task:
name: FreeBSD # https://www.freebsd.org/releases
freebsd_instance: # https://cirrus-ci.org/guide/FreeBSD/#list-of-available-image-families
matrix:
image_family: freebsd-13-3
image_family: freebsd-14-0
env:
IGNORE_OSVERSION: yes # supress package installation error on FreeBSD-13
install_script:
- pkg update -f
- pkg install -y bash cmake ninja pkgconf gettext nasm gtkmm30 ncurses pciutils glfw opencl ocl-icd vulkan-loader vulkan-headers libstatgrab
build_script:
- bash -x ./scripts/build_libcpuid.sh "Debug"
- cmake -S . -B build -GNinja -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=/usr -DWITH_OPENCL=1
- cmake --build build
- cmake --install build
run_script:
- sudo CPUX_BCLK=100 cpu-x --issue-fmt
- cat /tmp/cpu-x.log
- cat /tmp/cpu-x-daemon.log