Push 2023 09 23 #184
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
name: FreeBSD build | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: macos-12 | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- name: build in FreeBSD VM | |
id: build | |
uses: vmactions/freebsd-vm@v0 | |
with: | |
usesh: true | |
sync: sshfs | |
prepare: | | |
pkg install -y curl gmake cmake | |
run: | | |
pwd | |
ls -lah | |
whoami | |
env | |
freebsd-version | |
cmake -B build -DCMAKE_INSTALL_PREFIX=. | |
cd build && gmake install |