Add macOS build to CI (#47)

This commit is contained in:
fn ⌃ ⌥ 2021-07-17 02:27:51 -07:00 committed by GitHub
parent 1d66c921c2
commit 3cf9532a06
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -84,3 +84,17 @@ jobs:
env: env:
CC: x86_64-w64-mingw32-gcc CC: x86_64-w64-mingw32-gcc
CXX: x86_64-w64-mingw32-g++ CXX: x86_64-w64-mingw32-g++
macos:
runs-on: macos-10.15
steps:
- uses: actions/checkout@v2
- name: Install deps
run: |
brew update
brew install cmake libpng jpeg
- name: Build
run: |
cmake . -DCMAKE_FIND_FRAMEWORK=LAST
make -j3