-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
32a801f
commit fb1be69
Showing
1 changed file
with
28 additions
and
0 deletions.
There are no files selected for viewing
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
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 | ||