From 7cc8593e62e02d12a350373c9babdbf9a0052e6b Mon Sep 17 00:00:00 2001 From: Jesse Squires Date: Fri, 4 Oct 2024 14:41:20 -0700 Subject: [PATCH] update workflows --- .github/workflows/ci.yml | 44 ++++++++++++++++----------------- .github/workflows/spm-macos.yml | 2 +- 2 files changed, 22 insertions(+), 24 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c8b4af8..a43761f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -31,7 +31,7 @@ env: jobs: env-details: name: Environment details - runs-on: macos-14 + runs-on: macos-14-large steps: - name: xcode version run: xcodebuild -version -sdk @@ -43,7 +43,7 @@ jobs: test-iOS: name: iOS unit test - runs-on: macos-14 + runs-on: macos-14-large steps: - name: git checkout uses: actions/checkout@v4 @@ -59,7 +59,7 @@ jobs: test-tvOS: name: tvOS unit test - runs-on: macos-14 + runs-on: macos-14-large steps: - name: git checkout uses: actions/checkout@v4 @@ -75,7 +75,7 @@ jobs: test-watchOS: name: watchOS unit test - runs-on: macos-14 + runs-on: macos-14-large steps: - name: git checkout uses: actions/checkout@v4 @@ -89,27 +89,25 @@ jobs: -destination "$WATCHOS_DEST" \ CODE_SIGN_IDENTITY="-" | xcpretty -c -# VisionOS simulator not install on GitHub Actions anymore? -# -# test-visionOS: -# name: visionOS unit test -# runs-on: macos-14 -# steps: -# - name: git checkout -# uses: actions/checkout@v4 -# -# - name: test -# run: | -# set -o pipefail -# xcodebuild clean test \ -# -project "$PROJECT" \ -# -scheme "$SCHEME" \ -# -destination "$VISIONOS_DEST" \ -# CODE_SIGN_IDENTITY="-" | xcpretty -c + test-visionOS: + name: visionOS unit test + runs-on: macos-14-large + steps: + - name: git checkout + uses: actions/checkout@v4 + + - name: test + run: | + set -o pipefail + xcodebuild clean test \ + -project "$PROJECT" \ + -scheme "$SCHEME" \ + -destination "$VISIONOS_DEST" \ + CODE_SIGN_IDENTITY="-" | xcpretty -c test-macOS: name: macOS unit test - runs-on: macos-14 + runs-on: macos-14-large steps: - name: git checkout uses: actions/checkout@v4 @@ -125,7 +123,7 @@ jobs: build-example: name: build example project - runs-on: macos-14 + runs-on: macos-14-large steps: - name: git checkout uses: actions/checkout@v4 diff --git a/.github/workflows/spm-macos.yml b/.github/workflows/spm-macos.yml index 7e21ff6..979bc27 100644 --- a/.github/workflows/spm-macos.yml +++ b/.github/workflows/spm-macos.yml @@ -17,7 +17,7 @@ env: jobs: main: name: SwiftPM Build - runs-on: macos-14 + runs-on: macos-14-large steps: - name: git checkout uses: actions/checkout@v4