@@ -21,24 +21,54 @@ jobs:
2121 matrix :
2222 command : [test, ""]
2323 platform : [IOS, MAC_CATALYST, MACOS, TVOS, VISIONOS, WATCHOS]
24- xcode : ["15.4", "16.0"]
2524 exclude :
2625 - { platform: VISIONOS }
2726 include :
2827 - { command: test, skip_release: 1 }
2928 steps :
3029 - uses : actions/checkout@v4
31- - name : Select Xcode ${{ matrix.xcode }}
32- run : sudo xcode-select -s /Applications/Xcode_${{ matrix.xcode }}.app
3330 - name : Cache derived data
3431 uses : actions/cache@v3
3532 with :
3633 path : |
3734 ~/.derivedData
3835 key : |
39- deriveddata-xcodebuild-${{ matrix.platform }}-${{ matrix.xcode }}-${{ matrix. command }}-${{ hashFiles('**/Sources/**/*.swift', '**/Tests/**/*.swift') }}
36+ deriveddata-xcodebuild-${{ matrix.platform }}-${{ matrix.command }}-${{ hashFiles('**/Sources/**/*.swift', '**/Tests/**/*.swift') }}
4037 restore-keys : |
41- deriveddata-xcodebuild-${{ matrix.platform }}-${{ matrix.xcode }}-${{ matrix.command }}-
38+ deriveddata-xcodebuild-${{ matrix.platform }}-${{ matrix.command }}-
39+ - name : Set IgnoreFileSystemDeviceInodeChanges flag
40+ run : defaults write com.apple.dt.XCBuild IgnoreFileSystemDeviceInodeChanges -bool YES
41+ - name : Update mtime for incremental builds
42+ uses : chetan/git-restore-mtime-action@v2
43+ - run : make dot-env
44+ - name : Debug
45+ run : make XCODEBUILD_ARGUMENT="${{ matrix.command }}" CONFIG=Debug PLATFORM="${{ matrix.platform }}" xcodebuild
46+ - name : Release
47+ if : matrix.skip_release != '1'
48+ run : make XCODEBUILD_ARGUMENT="${{ matrix.command }}" CONFIG=Release PLATFORM="${{ matrix.platform }}" xcodebuild
49+
50+ xcodebuild-macOS-14 :
51+ name : xcodebuild
52+ runs-on : macos-14
53+ strategy :
54+ matrix :
55+ command : [test, ""]
56+ platform : [IOS, MAC_CATALYST, MACOS, TVOS, VISIONOS, WATCHOS]
57+ exclude :
58+ - { platform: VISIONOS }
59+ include :
60+ - { command: test, skip_release: 1 }
61+ steps :
62+ - uses : actions/checkout@v4
63+ - name : Cache derived data
64+ uses : actions/cache@v3
65+ with :
66+ path : |
67+ ~/.derivedData
68+ key : |
69+ deriveddata-xcodebuild-${{ matrix.platform }}-${{ matrix.command }}-${{ hashFiles('**/Sources/**/*.swift', '**/Tests/**/*.swift') }}
70+ restore-keys : |
71+ deriveddata-xcodebuild-${{ matrix.platform }}-${{ matrix.command }}-
4272 - name : Set IgnoreFileSystemDeviceInodeChanges flag
4373 run : defaults write com.apple.dt.XCBuild IgnoreFileSystemDeviceInodeChanges -bool YES
4474 - name : Update mtime for incremental builds
0 commit comments