CI: change FreeBSD CI runner to cross-platform-actions.

main
Ozkan Sezer 2023-10-26 01:03:40 +03:00
parent 23ceae94c9
commit a9aa15c792
1 changed files with 9 additions and 11 deletions

View File

@ -1,4 +1,4 @@
name: Build (VM Actions)
name: Build (C/P Actions)
on: [push, pull_request]
@ -8,18 +8,19 @@ concurrency:
jobs:
freebsd:
runs-on: macos-12
runs-on: ubuntu-latest
name: FreeBSD
timeout-minutes: 30
steps:
- uses: actions/checkout@v3
- name: Build
uses: vmactions/freebsd-vm@v0
uses: cross-platform-actions/action@v0.19.1
with:
mem: 8192
usesh: true
prepare: |
pkg install -y \
operating_system: freebsd
version: '13.2'
run: |
sudo pkg update
sudo pkg install -y \
cmake \
ninja \
pkgconf \
@ -46,10 +47,7 @@ jobs:
dbus \
zh-fcitx \
ibus \
libsamplerate \
libudev-devd
run: |
cmake -S . -B build -GNinja \
-Wdeprecated -Wdev -Werror \
-DCMAKE_BUILD_TYPE=Release \