|
8 | 8 | workflow_dispatch: |
9 | 9 |
|
10 | 10 | env: |
11 | | - VCPKG_FEATURE_FLAGS: "manifests,binarycaching" |
| 11 | + VCPKG_FEATURE_FLAGS: "manifests,binarycaching,registries" |
12 | 12 |
|
13 | 13 | jobs: |
14 | | - macos12: |
15 | | - runs-on: macos-12 |
16 | | - steps: |
17 | | - - uses: actions/checkout@v4 |
18 | | - - uses: swift-actions/setup-swift@v1.25.0 |
19 | | - with: |
20 | | - swift-version: "5.9.0" |
21 | | - - name: "Setup Metal-cpp" |
22 | | - run: | |
23 | | - ./setup-metal-cpp.ps1 -Folder "externals" -FileName "metal-cpp_macOS13.3_iOS16.4.zip" |
24 | | - shell: pwsh |
25 | | - - uses: lukka/run-vcpkg@v11.4 |
26 | | - with: |
27 | | - vcpkgDirectory: "/usr/local/share/vcpkg" # $VCPKG_INSTALLATION_ROOT |
28 | | - vcpkgGitCommitId: c8696863d371ab7f46e213d8f5ca923c4aef2a00 # 2023.12.12 |
29 | | - vcpkgJsonGlob: "${{ github.workspace }}/vcpkg.json" |
30 | | - runVcpkgInstall: true |
31 | | - - uses: lukka/run-cmake@v10.7 |
32 | | - with: |
33 | | - configurePreset: "x64-osx" |
34 | | - buildPreset: "x64-osx-debug" |
35 | | - testPreset: "x64-osx-debug" |
36 | | - |
37 | 14 | macos13: |
38 | 15 | runs-on: macos-13 |
39 | 16 | steps: |
40 | 17 | - uses: actions/checkout@v4 |
41 | | - - uses: swift-actions/setup-swift@v1.25.0 |
| 18 | + - uses: swift-actions/setup-swift@v2 |
42 | 19 | with: |
43 | | - swift-version: "5.9.0" |
44 | | - - name: "Setup Metal-cpp" |
45 | | - run: | |
46 | | - ./setup-metal-cpp.ps1 -Folder "externals" -FileName "metal-cpp_macOS14.2_iOS17.2.zip" |
| 20 | + swift-version: "6.0.2" |
| 21 | + - name: "Setup metal-cpp" |
| 22 | + run: ./setup-metal-cpp.ps1 -Folder "externals" -FileName "metal-cpp_macOS15.2_iOS18.2.zip" |
47 | 23 | shell: pwsh |
48 | | - - uses: lukka/run-vcpkg@v11.4 |
| 24 | + - uses: lukka/get-cmake@v4.0.0 |
| 25 | + with: |
| 26 | + cmakeVersion: "~4.0.0" |
| 27 | + - uses: lukka/run-vcpkg@v11.5 |
49 | 28 | with: |
50 | | - vcpkgDirectory: "/usr/local/share/vcpkg" # $VCPKG_INSTALLATION_ROOT |
51 | | - vcpkgGitCommitId: c8696863d371ab7f46e213d8f5ca923c4aef2a00 # 2023.12.12 |
52 | | - vcpkgJsonGlob: "${{ github.workspace }}/vcpkg.json" |
| 29 | + vcpkgDirectory: "${{ runner.tool_cache }}/vcpkg" |
| 30 | + vcpkgGitCommitId: b02e341c927f16d991edbd915d8ea43eac52096c # 2025.03.19 |
| 31 | + vcpkgJsonGlob: "**/vcpkg.json" |
| 32 | + vcpkgConfigurationJsonGlob: "**/vcpkg-configuration.json" |
53 | 33 | runVcpkgInstall: true |
54 | 34 | - uses: lukka/run-cmake@v10.7 |
55 | 35 | with: |
|
0 commit comments