ci: correctly install depends for freebsd

This commit is contained in:
sithlord48 2025-04-05 15:22:29 -04:00 committed by Chris Rizzitello
parent 0a33e20723
commit 84283a1b13

View file

@ -316,17 +316,17 @@ jobs:
# it also makes sure we can use git --describe correctly # it also makes sure we can use git --describe correctly
- name: Fancy Checkout - name: Fancy Checkout
uses: sithlord48/fancy-checkout@v1 uses: sithlord48/fancy-checkout@v1
- name: Build on FreeBSD - name: Build on FreeBSD
if: ${{ matrix.distro.name == 'freebsd' }} if: ${{ matrix.distro.name == 'freebsd' }}
uses: vmactions/freebsd-vm@v1 uses: vmactions/freebsd-vm@v1
with: with:
usesh: true usesh: true
run: | run: |
./scripts/install_deps.sh pkg install -y cmake ninja gmake gcc12 openssl glib \
libX11 libXtst libxkbfile qt6-base qt6-tools gtk3 googletest \
tomlplusplus cli11 pkgconf libei libportal
${{env.CMAKE_CONFIGURE}} -G Ninja ${{env.CMAKE_CONFIGURE}} -G Ninja
cmake --build build -j16 cmake --build build -j16
# Integration tests are flakey by nature, make them optional. # Integration tests are flakey by nature, make them optional.
export QT_QPA_PLATFORM=offscreen export QT_QPA_PLATFORM=offscreen
./build/bin/unittests ./build/bin/unittests