From cbc66cfe96d562656f6aa0a7a82c03de54249ae4 Mon Sep 17 00:00:00 2001 From: zhuhaow Date: Thu, 27 Feb 2020 20:56:19 +0800 Subject: [PATCH] Set up Github Action --- .github/workflows/ci.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..0ca82d9 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,18 @@ +name: CI + +on: [pull_request, push] + +jobs: + build: + strategy: + matrix: + sdk: [macosx, iphoneos] + runs-on: macos-latest + steps: + - uses: actions/checkout@v2 + - name: Bundle + run: bundle install + - name: Generate Xcode project + run: bundle exec fastlane run spm command:generate-xcodeproj + - name: Build target + run: bundle exec fastlane run gym sdk:${{ matrix.sdk }}