From 28a3dca9379ea71da59473c994dd293daa30f0d0 Mon Sep 17 00:00:00 2001 From: Alex Szpakowski Date: Sun, 30 May 2021 09:56:39 -0300 Subject: [PATCH] Add github build action for macOS --- .github/workflows/main.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index b8845af80..59815ed94 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -69,3 +69,20 @@ jobs: with: name: love-windows-${{ matrix.platform }} path: install + macOS: + runs-on: macos-latest + steps: + - name: Checkout + uses: actions/checkout@v2 + - name: Clone Dependencies + uses: actions/checkout@v2 + with: + path: apple-dependencies + repository: slime73/love-apple-dependencies + ref: main + - name: Move Dependencies + run: + mv apple-dependencies/macOS/Frameworks platform/xcode/macosx + - name: Build + run: | + xcodebuild -project platform/xcode/love.xcodeproj -target love-macosx -configuration Release