Skip to content

Commit

Permalink
freebsd workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
gdamore committed Dec 22, 2024
1 parent 2d39d49 commit 350dc1d
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/freebsd.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: freebsd

on:
push:
paths-ignore: ["docs/**", "**.adoc", "**.md"]
pull_request:
paths-ignore: ["docs/**", "**.adoc", "**.md"]

jobs:
test:
runs-on: ubuntu-latest
name: A job to run test in FreeBSD
steps:
- uses: actions/checkout@v4
- name: Test in FreeBSD
id: test
uses: vmactions/freebsd-vm@v1
with:
usesh: true
prepare: |
pkg install -y curl
pkg install -y lang/gcc
pkg install -y devel/cmake
pkg install -y devel/ninja
run: |
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Debug -G Ninja -DNNG_ENABLE_TOOLS=OFF ..
ninja build
ninja test

0 comments on commit 350dc1d

Please sign in to comment.