Skip to content

Commit

Permalink
Run tests against the Xcode project (openid#696)
Browse files Browse the repository at this point in the history
* Update tests.yml

* Use macosx12.1 sdk.

* Use latest simulator SDK versions.
  • Loading branch information
petea authored and tonyphanbhr committed Feb 2, 2023
1 parent 35e0bfe commit 3276f00
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,26 @@ on:

jobs:

xcode-project-test:
runs-on: macOS-latest
strategy:
matrix:
flags: [
"-scheme AppAuth-iOS -destination 'platform=iOS Simulator,name=iPhone 11,OS=15.2' -sdk 'iphonesimulator15.2'",
"-scheme AppAuth-macOS -destination 'platform=macOS,arch=x86_64' -sdk 'macosx12.1'",
"-scheme AppAuth_macOS -destination 'platform=macOS,arch=x86_64' -sdk 'macosx12.1'",
"-scheme AppAuth-tvOS -destination 'platform=tvOS Simulator,name=Apple TV,OS=15.2' -sdk 'appletvsimulator15.2'",
"-scheme AppAuth_tvOS -destination 'platform=tvOS Simulator,name=Apple TV,OS=15.2' -sdk 'appletvsimulator15.2'",
"-scheme AppAuthTV -destination 'platform=tvOS Simulator,name=Apple TV,OS=15.2' -sdk 'appletvsimulator15.2'"
]
steps:
- uses: actions/checkout@v2
- name: Run unit test targets
run: |
xcodebuild test \
-project AppAuth.xcodeproj \
${{ matrix.flags }}
pod-lib-lint:
runs-on: macOS-latest
strategy:
Expand Down

0 comments on commit 3276f00

Please sign in to comment.