compile pcm-sensor-server on OSX #212
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: cross-platform-actions/action@v0.21.0 | |
with: | |
memory: 2048 | |
shell: sh | |
operating_system: freebsd | |
version: '13.2' | |
run: | | |
sudo pkg install -y curl gmake cmake | |
pwd | |
ls -lah | |
whoami | |
env | |
freebsd-version | |
cmake -B build -DCMAKE_INSTALL_PREFIX=. | |
cd build && gmake install |