Skip to content

Commit

Permalink
Bump Xcode
Browse files Browse the repository at this point in the history
  • Loading branch information
tcamin committed Feb 21, 2024
1 parent a5aa6f4 commit eba7bfe
Showing 1 changed file with 12 additions and 17 deletions.
29 changes: 12 additions & 17 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,28 +4,23 @@ on: [pull_request]

jobs:
build:
strategy:
fail-fast: false
matrix:
include:
- ios: "16.2"
os: "macos-latest"
xcode: "14.2"
name: Run UI Test on iOS ${{ matrix.ios }}
runs-on: ${{ matrix.os }}
runs-on: macos-latest

name: Run UI Test on iOS
env:
platform: ${{ 'iOS Simulator' }}
xcode_version: "15.2"
steps:
- name: List Xcode installations
run: sudo ls -1 /Applications | grep "Xcode"
- name: Select Xcode version ${{ env.xcode_version }}
run: |
sudo xcode-select -s /Applications/Xcode_${{ env.xcode_version }}.app/Contents/Developer
- name: Checkout
uses: actions/checkout@v3
- name: Install required tools
run: |
brew update
brew install xcodegen
- name: Select Xcode version ${{ matrix.xcode }}
run: |
sudo xcversion installed
sudo xcversion select ${{ matrix.xcode }}
- name: Generate projects;
run: |
cd Example; xcodegen
Expand All @@ -39,7 +34,7 @@ jobs:
- name: Collect UI Tests artifacts
uses: actions/upload-artifact@v3
with:
name: SBTUITestTunnel_Tests_iOS_${{ matrix.ios }}.xcresult
name: SBTUITestTunnel_Tests_iOS.xcresult
path: SBTUITestTunnel_Tests.xcresult
if: success() || failure()
- name: Run no swizzling UI Tests
Expand All @@ -48,12 +43,12 @@ jobs:
- name: Collect no swizzling UI Tests artifacts
uses: actions/upload-artifact@v3
with:
name: SBTUITestTunnel_TestsNoSwizzling_iOS_${{ matrix.ios }}.xcresult
name: SBTUITestTunnel_TestsNoSwizzling_iOS.xcresult
path: SBTUITestTunnel_TestsNoSwizzling.xcresult
if: success() || failure()
- name: Build SPM App
run: |
Scripts/run_build.rb Example/SPM/SBTUITestTunnel.xcodeproj
- name: Run SPM UI Tests
run: |
Scripts/run_uitests.rb Example/SPM/SBTUITestTunnel.xcodeproj
Scripts/run_uitests.rb Example/SPM/SBTUITestTunnel.xcodeproj

0 comments on commit eba7bfe

Please sign in to comment.