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