Browse Source

Add SPM build test to our CI.

Peter Andrews 5 years ago
parent
commit
36a115d1cd
1 changed files with 12 additions and 0 deletions
  1. 12 0
      .github/workflows/test.yml

+ 12 - 0
.github/workflows/test.yml

@@ -14,3 +14,15 @@ jobs:
       run: bundle install
     - name: Lint podspec using local source
       run: pod lib lint --allow-warnings
+
+  spm-build-test:
+    runs-on: macOS-latest
+    steps:
+    - uses: actions/checkout@v2
+    - name: Initialize xcodebuild
+      run: xcodebuild -list
+    - name: Run unit test target
+      run: xcodebuild -scheme GoogleSignIn \
+                      -sdk 'iphonesimulator' \
+		      -destination 'platform=iOS Simulator,name=iPhone 11' \
+		      test