From df4519873c64ef4e9acd2cab292ddb1594f48e2a Mon Sep 17 00:00:00 2001 From: Alex Szpakowski Date: Sun, 30 May 2021 16:44:06 -0300 Subject: [PATCH] Add github build action for iOS. Currently builds iOS Simulator only (to avoid needing code signing), with no artifacts. --- .github/workflows/main.yml | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 9ce6c43f1..58d9dd6d1 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -97,4 +97,21 @@ jobs: with: name: love-macos path: love-macos.zip - + iOS-Simulator: + 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/iOS/include platform/xcode/ios + mv apple-dependencies/iOS/libraries platform/xcode/ios + - name: Build + run: + xcodebuild -project platform/xcode/love.xcodeproj -scheme love-ios -configuration Release -destination 'platform=iOS Simulator,name=iPhone 11'