From 805fed40453d33f1ca63878c2eb61d8bfb1291af Mon Sep 17 00:00:00 2001 From: Enno Boland Date: Wed, 2 Aug 2023 09:44:18 +0200 Subject: [PATCH] .github: run ci on net and freebsd too --- .github/workflows/ci.yaml | 22 +++++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 8453a9e30..719331068 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -86,18 +86,30 @@ jobs: run: | ninja -C /tmp/build - build-openbsd: + build-cross: runs-on: ubuntu-latest + strategy: + matrix: + os: + - name: freebsd + version: '13.2' + install_cmd: pkg add + - name: openbsd + version: '7.3' + install_cmd: pkg_add + - name: netbsd + version: '9.3' + install_cmd: pkg_add steps: - uses: actions/checkout@v3 - uses: "cross-platform-actions/action@v0.15.0" continue-on-error: true with: - operating_system: openbsd + operating_system: ${{ matrix.os.name }} architecture: x86-64 - version: 7.2 + version: ${{ matrix.os.version }} run: | - sudo pkg_add git meson squashfs-tools curl lz4 xz zstd + sudo ${{ matrix.os.install_cmd }} git meson squashfs-tools curl lz4 xz zstd CC=clang meson setup /tmp/build \ -Dwerror=true \ -Dcurl=enabled \ @@ -115,7 +127,7 @@ jobs: doxygen: needs: - build - - build-openbsd + - build-cross - plain-build - test runs-on: ubuntu-latest