Skip to content

Commit

Permalink
xxx
Browse files Browse the repository at this point in the history
  • Loading branch information
LDVG committed May 10, 2024
1 parent 72dae2e commit 6f6d147
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .actions/build-bsd
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ cat > "${MANIFEST}" <<- EOF
image: ${IMAGE}
packages:
- cmake
- llvm
- llvm${LLVM:+%$LLVM}
- pcsc-lite
EOF

Expand All @@ -38,7 +38,7 @@ tasks:
else
SUDO=sudo
fi
SCAN="/usr/local/bin/scan-build --use-cc=/usr/bin/cc --status-bugs"
SCAN="/usr/local/bin/scan-build${LLVM:+-${LLVM}} --use-cc=/usr/bin/cc --status-bugs"
cd libfido2
for T in Debug Release; do
mkdir build-\$T
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/bsd_builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ jobs:
strategy:
fail-fast: false
matrix:
image: [freebsd/14.x, openbsd/7.4]
include:
- { image: freebsd/14.x, llvm: "" }
- { image: openbsd/7.4, llvm: 16 }
steps:
- uses: actions/checkout@v4
- name: dependencies
Expand All @@ -27,6 +29,7 @@ jobs:
sudo apt install -q -y curl jq
- name: build
env:
LLVM: ${{ matrix.llvm }}
IMAGE: ${{ matrix.image }}
SOURCEHUT_TOKEN: ${{ secrets.SOURCEHUT_TOKEN }}
run: ./.actions/build-bsd

0 comments on commit 6f6d147

Please sign in to comment.