Skip to content

Commit 02446a4

Browse files
committed
CI: Add FreeBSD SDL3 task, remove obsolete comments
1 parent c146b67 commit 02446a4

File tree

1 file changed

+18
-2
lines changed

1 file changed

+18
-2
lines changed

.github/workflows/ci.yml

+18-2
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,6 @@ jobs:
344344
with:
345345
submodules: true
346346

347-
# This can be replaced by installing once brew ships SDL3
348347
- name: Clone SDL3
349348
run: git clone --depth 1 --branch release-$SDL3_VERSION https://github.com/libsdl-org/SDL.git
350349

@@ -399,7 +398,6 @@ jobs:
399398
with:
400399
submodules: true
401400

402-
# This can be replaced by installing once brew ships SDL3
403401
- name: Clone SDL3
404402
run: git clone --depth 1 --branch release-$SDL3_VERSION https://github.com/libsdl-org/SDL.git
405403

@@ -478,3 +476,21 @@ jobs:
478476
479477
- name: Build (Release)
480478
run: cmake --build release
479+
480+
freebsd-SDL3:
481+
name: FreeBSD (SDL3)
482+
runs-on: ubuntu-latest
483+
steps:
484+
- uses: actions/checkout@v4
485+
with:
486+
submodules: true
487+
- name: Build
488+
uses: cross-platform-actions/[email protected]
489+
with:
490+
operating_system: freebsd
491+
version: '14.2'
492+
run: |
493+
sudo pkg update
494+
sudo pkg install -y cmake ninja sdl3
495+
cmake -B build -G Ninja . -DBUILD_SDL3=ON
496+
cmake --build build --verbose -- -j`sysctl -n hw.ncpu`

0 commit comments

Comments
 (0)