Skip to content

Commit

Permalink
FreeBSD CI
Browse files Browse the repository at this point in the history
  • Loading branch information
oschonrock committed Dec 20, 2024
1 parent 32a801f commit fb1be69
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/freebsd.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: FreeBSD-14.1 clang-18.1

on: [push, pull_request]

jobs:
freebsd-build:
runs-on: ubuntu-latest
steps:
- name: checkout repo
uses: actions/checkout@v4
with:
submodules: 'recursive'

- name: build with cmake in FreeBSD vm
uses: vmactions/[email protected]
with:
usesh: true
prepare: |
pkg install -y cmake ruby ruby32-gems rubygem-rake curl libevent onetbb
gem install Mxx_ru # install ruby gem required for restinio dependency installation
cd ext/restinio
mxxruexternals # install those restinio deps
cd ../..
run: |
cmake -S . -B build -DCMAKE_BUILD_TYPE=debug -DNOPCH=ON -DBINFUSE_TEST=OFF -DHIBP_TEST=ON
cmake --build build

0 comments on commit fb1be69

Please sign in to comment.