From 6d2cd6c532bda88edadc0db39f1321765facd0f9 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 | 28 +++++++++++++++++++++------- 1 file changed, 21 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 8453a9e30..64055cd6f 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -86,21 +86,35 @@ 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 install -fy + - name: openbsd + version: '7.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 - CC=clang meson setup /tmp/build \ + sudo ${{ matrix.os.install_cmd }} git meson squashfs-tools + meson wrap install zlib + meson wrap install lz4 + meson wrap install liblzma + meson wrap install zstd + meson setup /tmp/build \ + -Dwrap_mode=forcefallback \ -Dwerror=true \ - -Dcurl=enabled \ + -Dcurl=disabled \ -Dzlib=enabled \ -Dlz4=enabled \ -Dlzma=enabled \ @@ -115,7 +129,7 @@ jobs: doxygen: needs: - build - - build-openbsd + - build-cross - plain-build - test runs-on: ubuntu-latest