From 3cf9532a0617a4cf4a745fcd33777ff2bfdffac4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?fn=20=E2=8C=83=20=E2=8C=A5?= <70830482+FnControlOption@users.noreply.github.com> Date: Sat, 17 Jul 2021 02:27:51 -0700 Subject: [PATCH] Add macOS build to CI (#47) --- .github/workflows/build.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5add13a8..eb6b12bf 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -84,3 +84,17 @@ jobs: env: CC: x86_64-w64-mingw32-gcc 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