cmake: add pre-fills for DragonFly BSD and MidnightBSD

Based on CI runs:
DragonFlyBSD: https://github.com/curl/curl/actions/runs/27978506617/job/82802332910 (autotools)
MidnightBSD: https://github.com/curl/curl/actions/runs/27977103321/job/82797523470 (cmake)

Also readd DragonFly BSD to GHA/non-native, but keep it commented.

Closes #22138
This commit is contained in:
Viktor Szakats 2026-06-22 21:17:24 +02:00
parent 560dc2985a
commit 364d6c18f7
No known key found for this signature in database
2 changed files with 30 additions and 7 deletions

View file

@ -54,6 +54,8 @@ jobs:
strategy:
matrix:
include:
# { os: 'dragonflybsd', version: '6.4.2', build: 'autotools', arch: 'x86_64', cc: 'gcc' , desc: 'openssl !runtests',
# options: '--with-openssl' }
- { os: 'freebsd' , version: '15.0', build: 'autotools', arch: 'x86_64', cc: 'clang', desc: 'openssl',
options: '--with-openssl --with-gssapi' }
- { os: 'freebsd' , version: '15.0', build: 'cmake' , arch: 'x86_64', cc: 'clang', desc: 'openssl !unity !runtests !examples',
@ -83,7 +85,9 @@ jobs:
- name: 'install prereqs'
run: |
if [ "${MATRIX_OS}" = 'freebsd' ]; then
if [ "${MATRIX_OS}" = 'dragonflybsd' ]; then
sudo pkg install -y autoconf automake libtool perl5 pkgconf brotli openldap26-client libidn2 libnghttp2
elif [ "${MATRIX_OS}" = 'freebsd' ]; then
# https://ports.freebsd.org/
if [ "${MATRIX_BUILD}" = 'cmake' ]; then
tools='cmake-core ninja perl5'