Skip to content

Commit

Permalink
CI: Move FreeBSD task to cross-platform-actions
Browse files Browse the repository at this point in the history
  • Loading branch information
flibitijibibo committed Oct 26, 2023
1 parent 56ed0ee commit b1b852a
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -138,18 +138,19 @@ jobs:
run: cmake --build release

freebsd:
runs-on: macos-12
runs-on: ubuntu-latest
name: FreeBSD
steps:
- uses: actions/checkout@v3
with:
submodules: true
- name: Build
uses: vmactions/freebsd-vm@v0
uses: cross-platform-actions/action@v0.19.1
with:
mem: 8192
usesh: true
prepare: pkg install -y cmake ninja sdl2
operating_system: freebsd
version: '13.2'
run: |
sudo pkg update
sudo pkg install -y cmake ninja sdl2
cmake -B build -G Ninja .
cmake --build build --verbose -- -j`sysctl -n hw.ncpu`

0 comments on commit b1b852a

Please sign in to comment.