Update to Swift 6.2 (#195)

This PR updates to Swift 6.2 and resolves a build error after updating
to Swift 6.2-snapshot in
https://github.com/apple/containerization/pull/94.
This commit is contained in:
Dmitry Kovba
2025-06-13 17:27:50 -07:00
committed by GitHub
parent 84798601cd
commit 51c1b879d2
4 changed files with 15 additions and 17 deletions
+6 -8
View File
@@ -11,7 +11,7 @@ on:
jobs:
buildAndTest:
name: Build and test the project
timeout-minutes: 30
timeout-minutes: 60
runs-on: [self-hosted, macos, sequoia, ARM64]
permissions:
contents: read
@@ -24,10 +24,6 @@ jobs:
with:
fetch-depth: 0
- name: Update containerization
run: |
/usr/bin/swift package update containerization
- name: Check formatting
run: |
./scripts/install-hawkeye.sh
@@ -47,7 +43,9 @@ jobs:
git diff --name-only -- .
false
fi
env:
DEVELOPER_DIR: "/Applications/Xcode_26.b1.app/Contents/Developer"
- name: Set build configuration
run: |
echo "BUILD_CONFIGURATION=debug" >> $GITHUB_ENV
@@ -60,7 +58,7 @@ jobs:
make container dsym docs
tar cfz _site.tgz _site
env:
DEVELOPER_DIR: "/Applications/Xcode_16.3.app/Contents/Developer"
DEVELOPER_DIR: "/Applications/Xcode_26.b1.app/Contents/Developer"
- name: Create package
run: |
@@ -73,7 +71,7 @@ jobs:
launchctl setenv HTTP_PROXY $HTTP_PROXY
make test cleancontent install-kernel integration
env:
DEVELOPER_DIR: "/Applications/Xcode_16.3.app/Contents/Developer"
DEVELOPER_DIR: "/Applications/Xcode_26.b1.app/Contents/Developer"
CURRENT_SDK: y # explicitly repeated due to local env block
- name: Save documentation artifact