nsxivd9f20a4
[ci]: build with macos on github
should help catch *BSD compilation issues.
+15 −0
1 file changed
- M .github/workflows/build.yml +15 −0
| @@ -33,3 +33,18 @@ jobs: | |||
| 33 | 33 | # ensure minimal-build works without opt deps installed | |
| 34 | 34 | sudo apt-get remove libxft2 libxft-dev libexif12 libexif-dev >/dev/null | |
| 35 | 35 | 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 | |