1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2025-07-18 05:34:58 +03:00

CI: Use system's cpu_features in FreeBSD CI

This commit is contained in:
Koichiro Iwao
2025-01-15 00:05:46 +09:00
parent e2e8193495
commit 10a2806f12
2 changed files with 4 additions and 2 deletions

View File

@ -13,10 +13,10 @@ FreeBSD_task:
freebsd_instance:
image_family: freebsd-14-0
prepare_script:
- pkg install -y pkgconf cmake git libsodium $SSL
- pkg install -y pkgconf cmake git libsodium cpu_features $SSL
- git submodule update --init --recursive
configure_script:
- ./configure
- CMAKE_FLAGS="-DUSE_SYSTEM_CPU_FEATURES=1" CFLAGS="-I/usr/local/include/cpu_features" ./configure
build_script:
- make -j $(sysctl -n hw.ncpu || echo 4) -C build
test_script: