Skip to content

Commit

Permalink
Updates workflows (#339)
Browse files Browse the repository at this point in the history
* Updates workflows

* Update build_and_test.yml

* Update build_example_project.yml

* Update build_and_test.yml

* Update build_example_project.yml
  • Loading branch information
simonbs committed Feb 14, 2024
1 parent fed0a76 commit 85c308b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@ jobs:
matrix:
include:
- destination: iPhone 15 Pro
xcode: 15.0.1
xcode: 15.2
- destination: iPhone 14 Pro
xcode: 14.3.1
env:
DEVELOPER_DIR: /Applications/Xcode_${{ matrix.xcode }}.app/Contents/Developer
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: recursive
- name: Build
Expand Down
12 changes: 7 additions & 5 deletions .github/workflows/build_example_project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,17 @@ jobs:
strategy:
matrix:
include:
- destination: iPhone 15 Pro
xcode: 15.0.1
- destination: iPhone 14 Pro
- platform: iOS Simulator
destination: iPhone 15 Pro
xcode: 15.2
- platform: iOS Simulator
destination: iPhone 14 Pro
xcode: 14.3.1
env:
DEVELOPER_DIR: /Applications/Xcode_${{ matrix.xcode }}.app/Contents/Developer
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: recursive
- name: Build
Expand All @@ -35,4 +37,4 @@ jobs:
-project Example/Example.xcodeproj\
-scheme Example\
-sdk iphonesimulator\
-destination "platform=iOS Simulator,name=${{ matrix.destination }},OS=latest"
-destination "platform=${{ matrix.platform }},name=${{ matrix.destination }},OS=latest"

0 comments on commit 85c308b

Please sign in to comment.