Skip to content

Commit 04499b2

Browse files
committed
Merge branch 'main' into jgrynspan/build-packages-for-ios
2 parents df51dba + 1169be7 commit 04499b2

File tree

2 files changed

+29
-9
lines changed

2 files changed

+29
-9
lines changed

.github/workflows/soundness.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,15 @@ on:
1818
api_breakage_check_container_image:
1919
type: string
2020
description: "Container image for the API breakage check job. Defaults to latest Swift Ubuntu image."
21-
default: "swift:6.1-noble"
21+
default: "swift:6.2-noble"
2222
docs_check_enabled:
2323
type: boolean
2424
description: "Boolean to enable the docs check job. Defaults to true."
2525
default: true
2626
docs_check_container_image:
2727
type: string
2828
description: "Container image for the docs check job. Defaults to latest Swift Ubuntu image."
29-
default: "swift:6.1-noble"
29+
default: "swift:6.2-noble"
3030
docs_check_additional_arguments:
3131
type: string
3232
description: "Additional arguments that should be passed to docc"
@@ -58,15 +58,15 @@ on:
5858
format_check_container_image:
5959
type: string
6060
description: "Container image for the format check job. Defaults to latest Swift Ubuntu image."
61-
default: "swift:6.1-noble"
61+
default: "swift:6.2-noble"
6262
shell_check_enabled:
6363
type: boolean
6464
description: "Boolean to enable the shell check job. Defaults to true."
6565
default: true
6666
shell_check_container_image:
6767
type: string
6868
description: "Container image for the shell check job. Defaults to latest Swift Ubuntu image."
69-
default: "swift:6.1-noble"
69+
default: "swift:6.2-noble"
7070
yamllint_check_enabled:
7171
type: boolean
7272
description: "Boolean to enable the YAML lint check job. Defaults to true."
@@ -80,6 +80,9 @@ on:
8080
description: "Linux command to execute before building the Swift package"
8181
default: ""
8282

83+
permissions:
84+
contents: read
85+
8386
## We are cancelling previously triggered workflow runs
8487
concurrency:
8588
group: ${{ github.workflow }}-${{ github.ref }}-soundness

.github/workflows/swift_package_test.yml

Lines changed: 22 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
macos_xcode_versions:
77
type: string
88
description: "Xcode version list (JSON)"
9-
default: "[\"16.2\", \"16.3\", \"26.b6\"]"
9+
default: "[\"16.3\", \"16.4\", \"26.0\"]"
1010
macos_exclude_xcode_versions:
1111
type: string
1212
description: "Exclude Xcode version list (JSON)"
@@ -38,7 +38,7 @@ on:
3838
linux_swift_versions:
3939
type: string
4040
description: "Include Linux Swift version list (JSON)"
41-
default: "[ \"5.9\", \"5.10\", \"6.0\", \"6.1\", \"nightly-main\", \"nightly-6.2\"]"
41+
default: "[ \"5.9\", \"5.10\", \"6.0\", \"6.1\", \"6.2\", \"nightly-main\", \"nightly-6.2\"]"
4242
linux_exclude_swift_versions:
4343
type: string
4444
description: "Exclude Linux Swift version list (JSON)"
@@ -50,11 +50,15 @@ on:
5050
linux_static_sdk_versions:
5151
type: string
5252
description: "Static Linux Swift SDK version list (JSON)"
53-
default: "[\"nightly-6.2\"]"
53+
default: "[\"nightly-main\", \"nightly-6.2\", \"6.2\"]"
54+
linux_static_sdk_exclude_swift_versions:
55+
type: string
56+
description: "Exclude Static Linux Swift SDK version list (JSON)"
57+
default: "[{\"swift_version\": \"\"}]"
5458
wasm_sdk_versions:
5559
type: string
5660
description: "Wasm Swift SDK version list (JSON)"
57-
default: "[\"nightly-main\", \"nightly-6.2\"]"
61+
default: "[\"nightly-main\", \"nightly-6.2\", \"6.2\"]"
5862
wasm_exclude_swift_versions:
5963
type: string
6064
description: "Exclude Wasm Swift SDK version list (JSON)"
@@ -63,7 +67,7 @@ on:
6367
type: string
6468
description: "Include Windows Swift version list (JSON)"
6569
# "5.10" is omitted for Windows because the container image is broken.
66-
default: "[\"5.9\", \"6.0\", \"6.1\", \"nightly\", \"nightly-6.2\"]"
70+
default: "[\"5.9\", \"6.0\", \"6.1\", \"6.2\", \"nightly\", \"nightly-6.2\"]"
6771
windows_exclude_swift_versions:
6872
type: string
6973
description: "Exclude Windows Swift version list (JSON)"
@@ -211,6 +215,8 @@ jobs:
211215
run: echo "DEVELOPER_DIR=/Applications/Xcode_${{ matrix.xcode_version }}.app" >> $GITHUB_ENV
212216
- name: Swift version
213217
run: xcrun swift --version
218+
- name: Clang version
219+
run: xcrun clang --version
214220
- name: Pre-build
215221
run: ${{ inputs.macos_pre_build_command }}
216222
- name: Build / Test
@@ -305,6 +311,8 @@ jobs:
305311
steps:
306312
- name: Swift version
307313
run: swift --version
314+
- name: Clang version
315+
run: clang --version
308316
- name: Checkout repository
309317
uses: actions/checkout@v4
310318
if: ${{ matrix.os_version != 'amazonlinux2' }}
@@ -342,11 +350,15 @@ jobs:
342350
matrix:
343351
swift_version: ${{ fromJson(inputs.linux_static_sdk_versions) }}
344352
os_version: ${{ fromJson(inputs.linux_os_versions) }}
353+
exclude:
354+
- ${{ fromJson(inputs.linux_static_sdk_exclude_swift_versions) }}
345355
container:
346356
image: ${{ (contains(matrix.swift_version, 'nightly') && 'swiftlang/swift') || 'swift' }}:${{ matrix.swift_version }}-${{ matrix.os_version }}
347357
steps:
348358
- name: Swift version
349359
run: swift --version
360+
- name: Clang version
361+
run: clang --version
350362
- name: Checkout repository
351363
uses: actions/checkout@v4
352364
if: ${{ matrix.os_version != 'amazonlinux2' }}
@@ -402,6 +414,8 @@ jobs:
402414
steps:
403415
- name: Swift version
404416
run: swift --version
417+
- name: Clang version
418+
run: clang --version
405419
- name: Checkout repository
406420
uses: actions/checkout@v4
407421
if: ${{ matrix.os_version != 'amazonlinux2' }}
@@ -457,6 +471,8 @@ jobs:
457471
steps:
458472
- name: Swift version
459473
run: swift --version
474+
- name: Clang version
475+
run: clang --version
460476
- name: Checkout repository
461477
uses: actions/checkout@v4
462478
- name: Provide token
@@ -561,6 +577,7 @@ jobs:
561577
}
562578
Invoke-Program swift --version
563579
Invoke-Program swift test --version
580+
Invoke-Program clang --version
564581
Invoke-Program cd $Source
565582
'@ >> $env:TEMP\test-script\run.ps1
566583

0 commit comments

Comments
 (0)