Skip to content

Commit

Permalink
Update Options.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
leogdion authored Apr 8, 2024
1 parent 1e66112 commit e02c6f7
Showing 1 changed file with 49 additions and 49 deletions.
98 changes: 49 additions & 49 deletions .github/workflows/Options.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,24 +89,24 @@ jobs:
watchOSVersion: "9.1"
watchName: "Apple Watch Ultra (49mm)"
iPhoneName: "iPhone 14"
# - xcode: "/Applications/Xcode_15.0.1.app"
# os: macos-13
# iOSVersion: "17.0.1"
# watchOSVersion: "10.0"
# watchName: "Apple Watch Series 9 (41mm)"
# iPhoneName: "iPhone 15"
# - xcode: "/Applications/Xcode_15.1.app"
# os: macos-13
# iOSVersion: "17.2"
# watchOSVersion: "10.2"
# watchName: "Apple Watch Series 9 (45mm)"
# iPhoneName: "iPhone 15 Plus"
# - xcode: "/Applications/Xcode_15.2.app"
# os: macos-14
# iOSVersion: "17.2"
# watchOSVersion: "10.2"
# watchName: "Apple Watch Ultra (49mm)"
# iPhoneName: "iPhone 15 Pro"
- xcode: "/Applications/Xcode_15.0.1.app"
os: macos-13
iOSVersion: "17.0.1"
watchOSVersion: "10.0"
watchName: "Apple Watch Series 9 (41mm)"
iPhoneName: "iPhone 15"
- xcode: "/Applications/Xcode_15.1.app"
os: macos-13
iOSVersion: "17.2"
watchOSVersion: "10.2"
watchName: "Apple Watch Series 9 (45mm)"
iPhoneName: "iPhone 15 Plus"
- xcode: "/Applications/Xcode_15.2.app"
os: macos-14
iOSVersion: "17.2"
watchOSVersion: "10.2"
watchName: "Apple Watch Ultra (49mm)"
iPhoneName: "iPhone 15 Pro"
- xcode: "/Applications/Xcode_15.3.app"
os: macos-14
iOSVersion: "17.4"
Expand All @@ -126,7 +126,7 @@ jobs:
restore-keys: |
${{ matrix.os }}-build-${{ env.cache-name }}-${{ matrix.xcode }}-
- name: Cache mint
if: startsWith(matrix.xcode,'/Applications/Xcode_15.2')
if: startsWith(matrix.xcode,'/Applications/Xcode_15.3')
id: cache-mint
uses: actions/cache@v4
env:
Expand All @@ -143,7 +143,7 @@ jobs:
- name: Setup Xcode
run: sudo xcode-select -s ${{ matrix.xcode }}/Contents/Developer
- name: Install mint
if: startsWith(matrix.xcode,'/Applications/Xcode_15.2')
if: startsWith(matrix.xcode,'/Applications/Xcode_15.3')
run: |
brew update
brew install mint
Expand All @@ -165,35 +165,35 @@ jobs:
run: rm -rf .build
- name: Lint
run: ./scripts/lint.sh
if: startsWith(matrix.xcode,'/Applications/Xcode_15.2')
- name: Run iOS target tests
run: xcodebuild test -scheme ${{ env.PACKAGE_NAME }} -sdk "iphonesimulator" -destination 'platform=iOS Simulator,name=${{ matrix.iPhoneName }},OS=${{ matrix.iOSVersion }}' -enableCodeCoverage YES build test
- uses: sersoft-gmbh/swift-coverage-action@v4
id: coverage-files-iOS
with:
fail-on-empty-output: true
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
with:
fail_ci_if_error: true
verbose: true
token: ${{ secrets.CODECOV_TOKEN }}
files: ${{ join(fromJSON(steps.coverage-files-iOS.outputs.files), ',') }}
flags: iOS,iOS${{ matrix.iOSVersion }},macOS,${{ env.XCODE_NAME }}
- name: Run watchOS target tests
run: xcodebuild test -scheme ${{ env.PACKAGE_NAME }} -sdk "watchsimulator" -destination 'platform=watchOS Simulator,name=${{ matrix.watchName }},OS=${{ matrix.watchOSVersion }}' -enableCodeCoverage YES build test
- uses: sersoft-gmbh/swift-coverage-action@v4
id: coverage-files-watchOS
with:
fail-on-empty-output: true
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
with:
fail_ci_if_error: true
verbose: true
token: ${{ secrets.CODECOV_TOKEN }}
files: ${{ join(fromJSON(steps.coverage-files-watchOS.outputs.files), ',') }}
flags: watchOS,watchOS${{ matrix.watchOSVersion }},macOS,${{ env.XCODE_NAME }}
if: startsWith(matrix.xcode,'/Applications/Xcode_15.3')
# - name: Run iOS target tests
# run: xcodebuild test -scheme ${{ env.PACKAGE_NAME }} -sdk "iphonesimulator" -destination 'platform=iOS Simulator,name=${{ matrix.iPhoneName }},OS=${{ matrix.iOSVersion }}' -enableCodeCoverage YES build test
# - uses: sersoft-gmbh/swift-coverage-action@v4
# id: coverage-files-iOS
# with:
# fail-on-empty-output: true
# - name: Upload coverage to Codecov
# uses: codecov/codecov-action@v4
# with:
# fail_ci_if_error: true
# verbose: true
# token: ${{ secrets.CODECOV_TOKEN }}
# files: ${{ join(fromJSON(steps.coverage-files-iOS.outputs.files), ',') }}
# flags: iOS,iOS${{ matrix.iOSVersion }},macOS,${{ env.XCODE_NAME }}
# - name: Run watchOS target tests
# run: xcodebuild test -scheme ${{ env.PACKAGE_NAME }} -sdk "watchsimulator" -destination 'platform=watchOS Simulator,name=${{ matrix.watchName }},OS=${{ matrix.watchOSVersion }}' -enableCodeCoverage YES build test
# - uses: sersoft-gmbh/swift-coverage-action@v4
# id: coverage-files-watchOS
# with:
# fail-on-empty-output: true
# - name: Upload coverage to Codecov
# uses: codecov/codecov-action@v4
# with:
# fail_ci_if_error: true
# verbose: true
# token: ${{ secrets.CODECOV_TOKEN }}
# files: ${{ join(fromJSON(steps.coverage-files-watchOS.outputs.files), ',') }}
# flags: watchOS,watchOS${{ matrix.watchOSVersion }},macOS,${{ env.XCODE_NAME }}
build-self:
name: Build on Self-Hosting macOS
runs-on: [self-hosted, macOS]
Expand Down

0 comments on commit e02c6f7

Please sign in to comment.