Skip to content

Commit 9c646c2

Browse files
Add warning and update PR checks for Swift on Linux (#2399)
* PR checks: Only run Swift build command on MacOS * PR checks: update to only test Swift on MacOS * Log warning if workflow is running Swift on Ubuntu --------- Co-authored-by: Andrew Eisenberg <[email protected]>
1 parent 8b7d739 commit 9c646c2

20 files changed

+66
-64
lines changed

.github/workflows/__all-platform-bundle.yml

Lines changed: 2 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/__build-mode-manual.yml

Lines changed: 0 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/__export-file-baseline-information.yml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/__multi-language-autodetect.yml

Lines changed: 16 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/__swift-custom-build.yml

Lines changed: 0 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/__test-local-codeql.yml

Lines changed: 2 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/__unset-environment.yml

Lines changed: 12 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/debug-artifacts.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,8 @@ jobs:
5252
debug: true
5353
debug-artifact-name: my-debug-artifacts
5454
debug-database-name: my-db
55-
- uses: ./../action/.github/actions/setup-swift
56-
with:
57-
codeql-path: ${{ steps.init.outputs.codeql-path }}
55+
# We manually exclude Swift from the languages list here, as it is not supported on Ubuntu
56+
languages: cpp,csharp,go,java,javascript,python,ruby
5857
- name: Build code
5958
shell: bash
6059
run: ./build.sh

.github/workflows/test-codeql-bundle-all.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,9 @@ jobs:
4242
- id: init
4343
uses: ./../action/init
4444
with:
45+
# We manually exclude Swift from the languages list here, as it is not supported on Ubuntu
46+
languages: cpp,csharp,go,java,javascript,python,ruby
4547
tools: ${{ steps.prepare-test.outputs.tools-url }}
46-
- uses: ./../action/.github/actions/setup-swift
47-
with:
48-
codeql-path: ${{ steps.init.outputs.codeql-path }}
4948
- name: Build code
5049
shell: bash
5150
run: ./build.sh

lib/init-action.js

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)