5656 os : ubuntu-24.04-arm
5757 shell : bash
5858 target-cmake-preset : ubuntu-ci-clang
59+ - name : ubuntu-gcc-arm64-qt
60+ os : ubuntu-24.04-arm
61+ shell : bash
62+ target-cmake-preset : ubuntu-ci-qt
63+ - name : freebsd
64+ os : ubuntu-24.04
65+ shell : bash
66+ target-cmake-preset : ubuntu-ci-clang
5967 name : ${{ matrix.program }}-${{ matrix.platform.name }}
6068 runs-on : ${{ matrix.platform.os }}
6169 defaults :
@@ -78,12 +86,12 @@ jobs:
7886 run : |
7987 git config core.autocrlf true
8088 - name : Install Linux Dependencies
81- if : runner.os == 'Linux'
89+ if : runner.os == 'Linux' && matrix.platform.name != 'freebsd'
8290 run : |
8391 sudo apt-get update -y -qq
84- sudo apt-get install cmake ccache ninja-build libsdl2-dev libgtk-3-dev libao-dev libopenal-dev
92+ sudo apt-get install cmake ccache ninja-build libsdl2-dev libgtk-3-dev libao-dev libopenal-dev qt6-base-dev
8593 - name : " Build: Linux"
86- if : runner.os == 'Linux'
94+ if : runner.os == 'Linux' && matrix.platform.name != 'freebsd'
8795 run : .github/scripts/build_ubuntu.sh
8896 env :
8997 TARGET_PRESET : ${{ matrix.platform.target-cmake-preset }}
@@ -95,6 +103,18 @@ jobs:
95103 CROSS_COMPILE : ${{ matrix.platform.native-cmake-preset != '' }}
96104 NATIVE_PRESET : ${{ matrix.platform.native-cmake-preset }}
97105 TARGET_PRESET : ${{ matrix.platform.target-cmake-preset }}
106+ - name : " Build: FreeBSD"
107+ if : matrix.platform.name == 'freebsd'
108+ uses : cross-platform-actions/action@e8a7b572196ff79ded1979dc2bb9ee67d1ddb252
109+ env :
110+ TARGET_PRESET : ${{ matrix.platform.target-cmake-preset }}
111+ with :
112+ operating_system : freebsd
113+ version : 14.3
114+ environment_variables : TARGET_PRESET
115+ run : |
116+ sudo pkg install -y cmake pkgconf ccache ninja gtk3 libX11 libXext libXrandr libXrender libglvnd alsa-lib libao libudev-devd librashader openal-soft pulseaudio sdl3 vulkan-loader
117+ .github/scripts/build_ubuntu.sh
98118 - name : " Compress Build Artifacts (Windows)"
99119 if : runner.os != 'macOS' && runner.os != 'Linux'
100120 run : |
0 commit comments