diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 37fef707..30e14cbf 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -279,6 +279,35 @@ jobs: build/dist/*.apk build/dist/*.vpk + freebsd: + name: 'FreeBSD' + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - name: Build on FreeBSD + uses: vmactions/freebsd-vm@v1 + with: + release: "15.0" + usesh: true + prepare: | + pkg install -y cmake ninja qt6-base git xorg alsa-lib + run: | + cmake -S . -B build -G Ninja \ + -DCMAKE_BUILD_TYPE=Release \ + -DISLE_USE_DX5=false \ + -DISLE_BUILD_CONFIG=true \ + -DISLE_WERROR=true \ + -Werror=dev + cmake --build build --verbose --config Release + cd build && cpack . + + - name: Upload Build Artifacts + uses: actions/upload-artifact@v4 + with: + name: 'FreeBSD' + path: build/dist/isle-* + flatpak: name: "Flatpak (${{ matrix.arch }})" runs-on: ${{ matrix.os }} @@ -353,6 +382,7 @@ jobs: needs: - build - flatpak + - freebsd steps: - name: Download All Artifacts uses: actions/download-artifact@main