-
-
Notifications
You must be signed in to change notification settings - Fork 77
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CI: Add FreeBSD SDL3 task, remove obsolete comments
- Loading branch information
1 parent
a89f244
commit f9a6bfa
Showing
1 changed file
with
18 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -344,7 +344,6 @@ jobs: | |
with: | ||
submodules: true | ||
|
||
# This can be replaced by installing once brew ships SDL3 | ||
- name: Clone SDL3 | ||
run: git clone --depth 1 --branch release-$SDL3_VERSION https://github.com/libsdl-org/SDL.git | ||
|
||
|
@@ -399,7 +398,6 @@ jobs: | |
with: | ||
submodules: true | ||
|
||
# This can be replaced by installing once brew ships SDL3 | ||
- name: Clone SDL3 | ||
run: git clone --depth 1 --branch release-$SDL3_VERSION https://github.com/libsdl-org/SDL.git | ||
|
||
|
@@ -478,3 +476,21 @@ jobs: | |
- name: Build (Release) | ||
run: cmake --build release | ||
|
||
freebsd-SDL3: | ||
name: FreeBSD (SDL3) | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
submodules: true | ||
- name: Build | ||
uses: cross-platform-actions/[email protected] | ||
with: | ||
operating_system: freebsd | ||
version: '14.2' | ||
run: | | ||
sudo pkg update | ||
sudo pkg install -y cmake ninja sdl3 | ||
cmake -B build -G Ninja . -DBUILD_SDL3=ON | ||
cmake --build build --verbose -- -j`sysctl -n hw.ncpu` |