GHA/non-native: streamline installed packages on FreeBSD

Instead of installing the cmake package which is a meta-port (includes
documentation and manpages etc) install cmake-core which is cmake itself
to save a few cpu cycles.

Also drop nghttp2 in favour of the slimmer libnghttp2.

Closes #15540
This commit is contained in:
Daniel Engberg 2024-11-10 22:23:26 +01:00 committed by Viktor Szakats
parent 448df98d92
commit acc73edce8
No known key found for this signature in database
GPG Key ID: B5ABD165E2AEF201

View File

@ -136,7 +136,7 @@ jobs:
run: |
# https://ports.freebsd.org/
sudo pkg install -y autoconf automake libtool \
pkgconf brotli openldap26-client libidn2 libnghttp2 nghttp2 stunnel py311-impacket
pkgconf brotli openldap26-client libidn2 libnghttp2 stunnel py311-impacket
autoreconf -fi
export CC='${{ matrix.compiler }}'
mkdir bld && cd bld && ../configure --enable-unity --enable-test-bundles --enable-debug --enable-warnings --enable-werror \
@ -165,8 +165,8 @@ jobs:
architecture: ${{ matrix.arch }}
run: |
# https://ports.freebsd.org/
sudo pkg install -y cmake ninja perl5 \
pkgconf brotli openldap26-client libidn2 libnghttp2 nghttp2 stunnel py311-impacket
sudo pkg install -y cmake-core ninja perl5 \
pkgconf brotli openldap26-client libidn2 libnghttp2 stunnel py311-impacket
cmake -B bld -G Ninja \
'-DCMAKE_C_COMPILER=${{ matrix.compiler }}' \
-DCMAKE_UNITY_BUILD=ON -DCURL_TEST_BUNDLES=ON \