mirror of
https://github.com/apple/container.git
synced 2026-09-27 10:05:42 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user