Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ jobs:
windows_build_command: |
mkdir MyPackage
cd MyPackage
swift package init --type library
swift build
Invoke-Program swift package init --type library
Invoke-Program swift build -vv
enable_windows_docker: true

tests_without_docker:
Expand All @@ -59,8 +59,8 @@ jobs:
windows_build_command: |
mkdir MyPackage
cd MyPackage
swift package init --type library
swift build
Invoke-Program swift package init --type library
Invoke-Program swift build -vv
enable_windows_docker: false

tests_macos:
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/swift_package_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ on:
linux_swift_versions:
type: string
description: "Include Linux Swift version list (JSON)"
default: "[ \"5.9\", \"5.10\", \"6.0\", \"6.1\", \"nightly-main\", \"nightly-6.2\"]"
default: "[ \"5.10\", \"6.0\", \"6.1\", \"nightly-main\", \"nightly-6.2\"]"
linux_exclude_swift_versions:
type: string
description: "Exclude Linux Swift version list (JSON)"
Expand All @@ -46,8 +46,7 @@ on:
windows_swift_versions:
type: string
description: "Include Windows Swift version list (JSON)"
# "5.10" is omitted for Windows because the container image is broken.
default: "[\"5.9\", \"6.0\", \"6.1\", \"nightly\", \"nightly-6.2\"]"
default: "[\"5.10\", \"6.0\", \"6.1\", \"nightly\", \"nightly-6.2\"]"
windows_exclude_swift_versions:
type: string
description: "Exclude Windows Swift version list (JSON)"
Expand Down Expand Up @@ -102,7 +101,7 @@ on:
Windows Command Prompt command to build and test the package.
Note that Powershell does not automatically exit if a subcommand fails. The Invoke-Program utility is available to propagate non-zero exit codes.
It is strongly encouraged to run all command using `Invoke-Program` unless you want to continue on error eg. `Invoke-Program git apply patch.diff` instead of `git apply patch.diff`.
default: "swift test"
default: "Invoke-Program swift test"
macos_env_vars:
description: "Newline separated list of environment variables"
type: string
Expand Down
Loading