mirror of
https://github.com/isledecomp/isle-portable.git
synced 2026-05-02 02:23:56 +00:00
Add FreeBSD CI job
This commit is contained in:
parent
7e4a86fb39
commit
5ce8c4a2e0
24
.github/workflows/ci.yml
vendored
24
.github/workflows/ci.yml
vendored
@ -279,6 +279,29 @@ jobs:
|
|||||||
build/dist/*.apk
|
build/dist/*.apk
|
||||||
build/dist/*.vpk
|
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
|
||||||
|
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 .
|
||||||
|
|
||||||
flatpak:
|
flatpak:
|
||||||
name: "Flatpak (${{ matrix.arch }})"
|
name: "Flatpak (${{ matrix.arch }})"
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
@ -353,6 +376,7 @@ jobs:
|
|||||||
needs:
|
needs:
|
||||||
- build
|
- build
|
||||||
- flatpak
|
- flatpak
|
||||||
|
- freebsd
|
||||||
steps:
|
steps:
|
||||||
- name: Download All Artifacts
|
- name: Download All Artifacts
|
||||||
uses: actions/download-artifact@main
|
uses: actions/download-artifact@main
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user