Skip to content

Fix syntax

Fix syntax #54

Workflow file for this run

name: Staged commit - FreeBSD
on:
push:
branches: [ "bsd-merge-tests" ]
env:
# empty except for pull_request events
PULL_REQUEST_NUMBER: ${{ github.event.pull_request.number }}
jobs:
freebsd-test:
strategy:
fail-fast: true
matrix:
osversion:
- 14.1
- 13.3
- 12.4
runs-on: ubuntu-22.04
name: freebsd(${{ matrix.osversion }})
steps:
- name: Checkout Sources
uses: actions/checkout@v4
- name: Test in FreeBSD
id: test-freebsd
uses: vmactions/freebsd-vm@v1
with:
usesh: true
release: ${{ matrix.osversion }}
prepare: |
pkg update
pkg install -y \
autoconf \
autoconf-archive \
automake \
bash \
ccache \
cppunit \
gmake \
libltdl \
libtool \
libxml2 \
m4 \
nettle \
pkgconf &&
true
run: |
export MAKE=gmake
export CFLAGS='-Wno-compound-token-split-by-macro'
export CC=clang
export CXX=clang++
./test-builds.sh --verbose --aggressively-use-config-cache layer-00-default #TODO: remove layer before release
- name: Publish build logs
if: success() || failure()
uses: actions/upload-artifact@v4
with:
name: freebsd-build-logs
path: btlayer-*.log