From 1d42f97bf565958637c939fe6c89107e487315cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C3=81LI=20G=C3=A1bor=20J=C3=A1nos?= Date: Sat, 28 Sep 2024 17:28:21 +0200 Subject: [PATCH] Experiment with CI/CD --- .github/workflows/checks.yml | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 .github/workflows/checks.yml diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml new file mode 100644 index 0000000..d20f48f --- /dev/null +++ b/.github/workflows/checks.yml @@ -0,0 +1,36 @@ +name: Build Checks +on: [push] + +jobs: + checks: + strategy: + matrix: + version: ["13.4", "14.1"] + runs-on: ubuntu-latest + name: Continuous Integration + steps: + - uses: actions/checkout@v4 + - name: "FreeBSD ${{ matrix.version }}" + id: port_checks + uses: vmactions/freebsd-vm@v1 + with: + release: "${{ matrix.version }}" + usesh: true + prepare: | + pkg install -q -y gitup portconfig + pkg install -q -y gtar patchelf squashfs-tools-ng grub2-bhyve socat + gitup ports -v0 + + run: | + kldload linux64 + mkdir -p /compat/linux + + make -C net/wifibox-alpine check-plist + make -C net/wifibox-alpine install + make -C net/wifibox-alpine deinstall + make -C net/wifibox-alpine clean + + make -C net/wifibox-core check-plist + make -C net/wifibox-core install + make -C net/wifibox-core deinstall + make -C net/wifibox-core clean