no need for strlcpy() here #45
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-based build | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: macos-latest | |
steps: | |
- name: checkout | |
uses: actions/checkout@v2 | |
- name: build in FreeBSD | |
uses: vmactions/freebsd-vm@v0 | |
with: | |
usesh: true | |
prepare: pkg install -y cmake readline | |
run: | | |
mkdir build | |
cd build | |
cmake --trace-expand --trace-redirect=CMakeTrace.log -DCMAKE_BUILD_TYPE=Release .. | |
make VERBOSE=1 | |
- name: archive error logs | |
if: failure() | |
uses: actions/upload-artifact@v2 | |
with: | |
name: freebsd-build-logs | |
path: build/**/*.log |