Skip to content

Commit

Permalink
Use macOS 15 to prevent slow SDK installation
Browse files Browse the repository at this point in the history
  • Loading branch information
bamx23 committed Oct 7, 2024
1 parent 33e77e5 commit b836bb3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 22 deletions.
13 changes: 2 additions & 11 deletions .github/workflows/build-sample.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ concurrency:

jobs:
sample:
runs-on: macos-latest
runs-on: "macos-${{ matrix.macos-version || 'latest' }}"
timeout-minutes: 15
strategy:
fail-fast: false
Expand All @@ -32,6 +32,7 @@ jobs:
# - platform: tvOS
# - platform: watchOS
- platform: visionOS
macos-version: "15"
steps:
- name: Checkout Code
uses: actions/checkout@v4
Expand All @@ -41,16 +42,6 @@ jobs:
with:
xcode-version: latest-stable

- name: Install visionOS Platform
if: matrix.platform == 'visionOS'
shell: bash
run: |
# See https://github.com/actions/runner-images/issues/10692#issuecomment-2377521050
xcodebuild -runFirstLaunch
xcrun simctl list
xcodebuild -downloadPlatform visionOS
xcodebuild -runFirstLaunch
- name: Install Tuist
run: |
brew tap tuist/tuist
Expand Down
13 changes: 2 additions & 11 deletions .github/workflows/cocoapods-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ concurrency:

jobs:
lint:
runs-on: macos-latest
runs-on: "macos-${{ matrix.macos-version || 'latest' }}"
timeout-minutes: 15
strategy:
fail-fast: false
Expand All @@ -42,6 +42,7 @@ jobs:
# config: ""
- platform: visionOS
config: ""
macos-version: "15"
steps:
- name: Checkout Code
uses: actions/checkout@v4
Expand All @@ -59,16 +60,6 @@ jobs:
with:
xcode-version: latest-stable

- name: Install visionOS Platform
if: matrix.platform == 'visionOS'
shell: bash
run: |
# See https://github.com/actions/runner-images/issues/10692#issuecomment-2377521050
xcodebuild -runFirstLaunch
xcrun simctl list
xcodebuild -downloadPlatform visionOS
xcodebuild -runFirstLaunch
- name: Lint Podspec
id: lint
run: |
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ jobs:
xcode-version: "14.3.1"

- platform: visionOS
macos-version: "15"

- platform: macOS
- platform: macOS
Expand Down

0 comments on commit b836bb3

Please sign in to comment.