Skip to content

Commit

Permalink
.github: run ci on net and freebsd too
Browse files Browse the repository at this point in the history
  • Loading branch information
Gottox committed Aug 2, 2023
1 parent c49a38d commit 6d2cd6c
Showing 1 changed file with 21 additions and 7 deletions.
28 changes: 21 additions & 7 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]"
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 \
Expand All @@ -115,7 +129,7 @@ jobs:
doxygen:
needs:
- build
- build-openbsd
- build-cross
- plain-build
- test
runs-on: ubuntu-latest
Expand Down

0 comments on commit 6d2cd6c

Please sign in to comment.