diff options
author | NRK <nrk@disroot.org> | 2022-08-07 21:00:14 +0200 |
---|---|---|
committer | Gitea <gitea@fake.local> | 2022-08-11 03:58:26 +0200 |
commit | d9f20a41224265573395381fbbdea40ac9891d84 (patch) | |
tree | 5965b96c238b180c23bf4e74f5a5dd08adc01b5c | |
parent | becf1cc858d1590d75f00124b77f04578da7fae0 (diff) | |
download | nsxiv-d9f20a41224265573395381fbbdea40ac9891d84.tar.zst |
[ci]: build with macos on github
should help catch *BSD compilation issues.
-rw-r--r-- | .github/workflows/build.yml | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index cfa9e1b..69d9270 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -33,3 +33,18 @@ jobs: # ensure minimal-build works without opt deps installed sudo apt-get remove libxft2 libxft-dev libexif12 libexif-dev >/dev/null build "0" "minimal" + macOS-build: + runs-on: macOS-latest + steps: + - uses: actions/checkout@v2 + - name: dep + run: | + brew update + brew install imlib2 libx11 libxft libexif giflib webp + - name: build + run: | + # libinotify-kqueue isn't available on homebrew + make clean && make -s CC=gcc OPT_DEP_DEFAULT=1 HAVE_INOTIFY=0 + # force uninstallation with --ignore-dependencies + brew uninstall --ignore-dependencies libxft libexif giflib webp + make clean && make -s CC=gcc OPT_DEP_DEFAULT=0 |