66 - main
77 pull_request :
88 branches :
9- - ' * '
9+ - " * "
1010 workflow_dispatch :
1111
1212concurrency :
1919 runs-on : macos-14
2020 strategy :
2121 matrix :
22- command : [test, '' ]
22+ command : [test, "" ]
2323 platform : [IOS, MAC_CATALYST, MACOS, TVOS, VISIONOS, WATCHOS]
24- xcode : [15.4, '16.0']
24+ xcode : [15.2, 15.4, "16.0"]
25+ exclude :
26+ - { xcode: 15.2, command: test }
27+ - { xcode: 15.4, command: "" }
28+ - { xcode: 15.2, platform: MAC_CATALYST }
29+ - { xcode: 15.2, platform: TVOS }
30+ - { xcode: 15.2, platform: VISIONOS }
31+ - { xcode: 15.2, platform: WATCHOS }
32+ - { xcode: "16.0", command: "" }
33+ - { xcode: "16.0", platform: MAC_CATALYST }
34+ - { xcode: "16.0", platform: TVOS }
35+ - { xcode: "16.0", platform: VISIONOS }
36+ - { xcode: "16.0", platform: WATCHOS }
37+ include :
38+ - { xcode: 15.2, skip_release: 1 }
2539 steps :
2640 - uses : actions/checkout@v4
2741 - name : Select Xcode ${{ matrix.xcode }}
@@ -35,16 +49,16 @@ jobs:
3549 deriveddata-xcodebuild-${{ matrix.platform }}-${{ matrix.xcode }}-${{ matrix.command }}-${{ hashFiles('**/Sources/**/*.swift', '**/Tests/**/*.swift') }}
3650 restore-keys : |
3751 deriveddata-xcodebuild-${{ matrix.platform }}-${{ matrix.xcode }}-${{ matrix.command }}-
38- - name : Set IgnoreFileSystemDeviceInodeChanges flag
52+ - name : Set IgnoreFileSystemDeviceInodeChanges flag
3953 run : defaults write com.apple.dt.XCBuild IgnoreFileSystemDeviceInodeChanges -bool YES
40- - name : Update mtime for incremental builds
54+ - name : Update mtime for incremental builds
4155 uses : chetan/git-restore-mtime-action@v2
4256 - run : make dot-env
4357 - name : Debug
44- run : make COMMAND ="${{ matrix.command }}" CONFIG=Debug PLATFORM="${{ matrix.platform }}" xcodebuild
58+ run : make XCODEBUILD_ARGUMENT ="${{ matrix.command }}" CONFIG=Debug PLATFORM="${{ matrix.platform }}" xcodebuild
4559 - name : Release
4660 if : matrix.skip_release != '1'
47- run : make COMMAND ="${{ matrix.command }}" CONFIG=Release PLATFORM="${{ matrix.platform }}" xcodebuild
61+ run : make XCODEBUILD_ARGUMENT ="${{ matrix.command }}" CONFIG=Release PLATFORM="${{ matrix.platform }}" xcodebuild
4862
4963 linux :
5064 name : linux
7084 - name : Run tests
7185 run : swift test --skip IntegrationTests
7286
73-
7487 # library-evolution:
7588 # name: Library (evolution)
7689 # runs-on: macos-14
@@ -106,4 +119,3 @@ jobs:
106119 run : make DERIVED_DATA_PATH=~/.derivedData SCHEME="SlackClone" XCODEBUILD_ARGUMENT=build xcodebuild
107120 - name : UserManagement
108121 run : make DERIVED_DATA_PATH=~/.derivedData SCHEME="UserManagement" XCODEBUILD_ARGUMENT=build xcodebuild
109-
0 commit comments