Update docker images. #18
Workflow file for this run
This file contains hidden or 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
| # SPDX-FileCopyrightText: 2026 Juergen Repp | |
| # SPDX-FileCopyrightText: 2026 Moritz Buhl | |
| # SPDX-License-Identifier: BSD-2-Clause | |
| name: FreeBSD Build Status | |
| on: [push, pull_request] | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| freebsd-test: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 20 | |
| steps: | |
| - name: Checkout Code | |
| uses: actions/checkout@v7 | |
| - name: Test in FreeBSD | |
| uses: vmactions/freebsd-vm@v1 | |
| with: | |
| prepare: | | |
| set -eux | |
| export ASSUME_ALWAYS_YES=yes | |
| pkg bootstrap -f | |
| pkg update -f | |
| pkg install -y bash gmake coreutils libtool pkgconf autoconf \ | |
| autoconf-archive openssl automake glib expat dbus dbus-glib \ | |
| cmocka wget git gettext-runtime swtpm | |
| sync | |
| run: | | |
| set -eux | |
| cd /home/runner/work/tpm2-abrmd/tpm2-abrmd | |
| export PATH="/usr/local/bin:/usr/local/sbin:$PATH" | |
| export PKG_CONFIG_PATH="/usr/local/lib/pkgconfig:/usr/local/libdata/pkgconfig" | |
| export CFLAGS="-I/usr/local/include -I/usr/local/openssl/include" | |
| export CPPFLAGS="$CFLAGS" | |
| export LDFLAGS="-L/usr/local/lib" | |
| export LD_LIBRARY_PATH="/usr/local/lib" | |
| export TPM2TSS_BRANCH=master | |
| git config --global --add safe.directory '*' | |
| ./.ci/get_deps.sh | |
| ./bootstrap | |
| ./configure --enable-unit=yes --enable-integration=yes --disable-dependency-tracking | |
| gmake -j"$(sysctl -n hw.ncpu)" V=1 check || { | |
| find . -name 'test-suite.log' -exec cat {} \; | |
| exit 1 | |
| } |