1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2025-05-01 15:43:58 +03:00

CI: use system cpu_features

This commit is contained in:
Ilia Shipitsin 2025-04-08 23:00:13 +02:00
parent 260bc09276
commit b4916f20af

View File

@ -25,10 +25,10 @@ jobs:
submodules: true
- name: Install dependencies
run: |
dnf -y install git cmake ncurses-devel openssl-devel-engine libsodium-devel readline-devel zlib-devel gcc-c++ clang
dnf -y install git cmake ncurses-devel openssl-devel-engine libsodium-devel readline-devel zlib-devel gcc-c++ clang google-cpu_features-devel
- name: Compile with ${{ matrix.cc }}
run: |
export CC=${{ matrix.cc }}
./configure
CMAKE_FLAGS="-DUSE_SYSTEM_CPU_FEATURES=1" CFLAGS="-I/usr/include/cpu_features" ./configure
make -C build