Skip to content

Build FreeBSD

Build FreeBSD #927

name: Build FreeBSD
on: [push,pull_request]
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/[email protected]
- name: Configure & Build 🔧
id: test
uses: vmactions/freebsd-vm@v1
with:
envs: 'MYTOKEN MYTOKEN2'
usesh: true
prepare: |
pkg install -y cmake libX11 libXi libXrandr libXinerama libXcursor libglvnd alsa-lib
run: |
mkdir build
cd build
cmake .. && cmake --build .
- name: GH Release 🚀
# You may pin to the exact commit or the version.
uses: actions/upload-artifact@v2
with:
name: FreeBSDRelease
path: build/bin/