Skip to content

Commit

Permalink
Use consistent workflow matrix options format
Browse files Browse the repository at this point in the history
  • Loading branch information
tonyarnold committed Jul 10, 2024
1 parent 2ecc035 commit a69710c
Showing 1 changed file with 9 additions and 16 deletions.
25 changes: 9 additions & 16 deletions .github/workflows/xcodebuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,18 +27,14 @@ concurrency:

jobs:
xcodebuild_Monterey:
name: Xcode ${{ matrix.xcode.version }} on macOS 12
name: Xcode ${{ matrix.xcode_version }} on macOS 12
strategy:
matrix:
xcode:
- version: '13.3.1'
- version: '13.4'
- version: '14.0.1'
- version: '14.2'
xcode_version: ['13.3.1', '13.4', '14.0.1', '14.2']
xcode_flags: ['-scheme Yams -project Yams.xcodeproj']
runs-on: macos-12
env:
DEVELOPER_DIR: /Applications/Xcode_${{ matrix.xcode.version }}.app
DEVELOPER_DIR: /Applications/Xcode_${{ matrix.xcode_version }}.app
steps:
- uses: actions/checkout@v4
- run: xcodebuild -version
Expand All @@ -64,16 +60,14 @@ jobs:
shell: bash

xcodebuild_Ventura:
name: Xcode ${{ matrix.xcode.version }} on macOS 13
name: Xcode ${{ matrix.xcode_version }} on macOS 13
strategy:
matrix:
xcode:
- version: '14.3'
- version: '15.0'
xcode_version: ['14.3', '15.0']
xcode_flags: ['-scheme Yams -project Yams.xcodeproj']
runs-on: macos-13
env:
DEVELOPER_DIR: /Applications/Xcode_${{ matrix.xcode.version }}.app
DEVELOPER_DIR: /Applications/Xcode_${{ matrix.xcode_version }}.app
steps:
- uses: actions/checkout@v4
- run: xcodebuild -version
Expand All @@ -99,15 +93,14 @@ jobs:
shell: bash

xcodebuild_Sonoma:
name: Xcode ${{ matrix.xcode.version }} on macOS 14
name: Xcode ${{ matrix.xcode_version }} on macOS 14
strategy:
matrix:
xcode:
- version: '15.4'
xcode_version: ['15.4']
xcode_flags: ['-scheme Yams -project Yams.xcodeproj']
runs-on: macos-14
env:
DEVELOPER_DIR: /Applications/Xcode_${{ matrix.xcode.version }}.app
DEVELOPER_DIR: /Applications/Xcode_${{ matrix.xcode_version }}.app
steps:
- uses: actions/checkout@v4
- run: xcodebuild -version
Expand Down

0 comments on commit a69710c

Please sign in to comment.