Skip to content

Commit

Permalink
CI: Add FreeBSD SDL3 task, remove obsolete comments
Browse files Browse the repository at this point in the history
  • Loading branch information
flibitijibibo committed Jan 27, 2025
1 parent a89f244 commit f9a6bfa
Showing 1 changed file with 18 additions and 2 deletions.
20 changes: 18 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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

Expand Down Expand Up @@ -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`

0 comments on commit f9a6bfa

Please sign in to comment.