Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit c8cd040

Browse filesBrowse files
authored
Add a call to clang --version in the PR worfklow. (#161)
This change adds a call to `clang --version` after `swift --version` in the PR workflow YML file. The result of this command is useful for investigating issues stemming from out-of-date clang builds such as swiftlang/swift-testing#1320.
1 parent 46c9211 commit c8cd040
Copy full SHA for c8cd040

File tree

Expand file treeCollapse file tree

1 file changed

+11
-0
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+11
-0
lines changed
Open diff view settings
Collapse file

‎.github/workflows/swift_package_test.yml‎

Copy file name to clipboardExpand all lines: .github/workflows/swift_package_test.yml
+11Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,8 @@ jobs:
180180
run: echo "DEVELOPER_DIR=/Applications/Xcode_${{ matrix.xcode_version }}.app" >> $GITHUB_ENV
181181
- name: Swift version
182182
run: xcrun swift --version
183+
- name: Clang version
184+
run: xcrun clang --version
183185
- name: Pre-build
184186
run: ${{ inputs.macos_pre_build_command }}
185187
- name: Build / Test
@@ -202,6 +204,8 @@ jobs:
202204
steps:
203205
- name: Swift version
204206
run: swift --version
207+
- name: Clang version
208+
run: clang --version
205209
- name: Checkout repository
206210
uses: actions/checkout@v4
207211
if: ${{ matrix.os_version != 'amazonlinux2' }}
@@ -244,6 +248,8 @@ jobs:
244248
steps:
245249
- name: Swift version
246250
run: swift --version
251+
- name: Clang version
252+
run: clang --version
247253
- name: Checkout repository
248254
uses: actions/checkout@v4
249255
if: ${{ matrix.os_version != 'amazonlinux2' }}
@@ -299,6 +305,8 @@ jobs:
299305
steps:
300306
- name: Swift version
301307
run: swift --version
308+
- name: Clang version
309+
run: clang --version
302310
- name: Checkout repository
303311
uses: actions/checkout@v4
304312
if: ${{ matrix.os_version != 'amazonlinux2' }}
@@ -354,6 +362,8 @@ jobs:
354362
steps:
355363
- name: Swift version
356364
run: swift --version
365+
- name: Clang version
366+
run: clang --version
357367
- name: Checkout repository
358368
uses: actions/checkout@v4
359369
- name: Provide token
@@ -458,6 +468,7 @@ jobs:
458468
}
459469
Invoke-Program swift --version
460470
Invoke-Program swift test --version
471+
Invoke-Program clang --version
461472
Invoke-Program cd $Source
462473
'@ >> $env:TEMP\test-script\run.ps1
463474

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.