Krolyxon
Commit d9f20a4

Branches

Refs →

nsxivd9f20a4

[ci]: build with macos on github

should help catch *BSD compilation issues.
Author
NRK
Date
2022-08-08 01:00 +0600
Committer
Gitea · 2022-08-11 03:58 +0200
Parent
becf1cc
Commit
d9f20a41224265573395381fbbdea40ac9891d84

+15 −0

1 file changed

  1. M .github/workflows/build.yml +15 −0
M .github/workflows/build.yml View
@@ -33,3 +33,18 @@ jobs:
3333 # ensure minimal-build works without opt deps installed
3434 sudo apt-get remove libxft2 libxft-dev libexif12 libexif-dev >/dev/null
3535 build "0" "minimal"
36+ macOS-build:
37+ runs-on: macOS-latest
38+ steps:
39+ - uses: actions/checkout@v2
40+ - name: dep
41+ run: |
42+ brew update
43+ brew install imlib2 libx11 libxft libexif giflib webp
44+ - name: build
45+ run: |
46+ # libinotify-kqueue isn't available on homebrew
47+ make clean && make -s CC=gcc OPT_DEP_DEFAULT=1 HAVE_INOTIFY=0
48+ # force uninstallation with --ignore-dependencies
49+ brew uninstall --ignore-dependencies libxft libexif giflib webp
50+ make clean && make -s CC=gcc OPT_DEP_DEFAULT=0