File tree 4 files changed +12
-5
lines changed
4 files changed +12
-5
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,13 @@ name: Benchmarks
3
3
on :
4
4
workflow_call :
5
5
inputs :
6
+ benchmark_package_path :
7
+ type : string
8
+ description : " Path to the directory containing the benchmarking package. Defaults to ."
9
+ default : " ."
10
+ swift_package_arguments :
11
+ type : string
12
+ description : " Arguments to the switch package command invocation e.g. `--disable-sandbox`"
6
13
linux_5_8_enabled :
7
14
type : boolean
8
15
description : " Boolean to enable the Linux 5.8 Swift version matrix job. Defaults to true."
30
37
uses : ./.github/workflows/pull_request_swift_matrix.yml
31
38
with :
32
39
name : " Benchmarks"
33
- matrix_linux_command : " apt-get update -y -q && apt-get install -y -q libjemalloc-dev && swift package --package-path Benchmarks/ --disable-sandbox benchmark baseline check --check-absolute-path Benchmarks /Thresholds/${SWIFT_VERSION}/"
40
+ matrix_linux_command : " apt-get update -y -q && apt-get install -y -q libjemalloc-dev && swift package --package-path ${{ inputs.benchmark_package_path }} ${{ inputs.swift_package_arguments }} benchmark baseline check --check-absolute-path ${{ inputs.benchmark_package_path }} /Thresholds/${SWIFT_VERSION}/"
34
41
matrix_linux_5_8_enabled : ${{ inputs.linux_5_8_enabled }}
35
42
matrix_linux_5_9_enabled : ${{ inputs.linux_5_9_enabled }}
36
43
matrix_linux_5_10_enabled : ${{ inputs.linux_5_10_enabled }}
Original file line number Diff line number Diff line change 30
30
uses : ./.github/workflows/pull_request_swift_matrix.yml
31
31
with :
32
32
name : " Cxx interop"
33
- matrix_linux_command : " apt-get update -y -q && apt-get install -y -q jq && ./ scripts/check-cxx-interop-compatibility.sh"
33
+ matrix_linux_command : " apt-get update -y -q && apt-get install -y -q jq && curl -s https://raw.githubusercontent.com/apple/swift-nio/main/ scripts/check-cxx-interop-compatibility.sh | bash "
34
34
matrix_linux_5_8_enabled : ${{ inputs.linux_5_8_enabled }}
35
35
matrix_linux_5_9_enabled : ${{ inputs.linux_5_9_enabled }}
36
36
matrix_linux_5_10_enabled : ${{ inputs.linux_5_10_enabled }}
37
37
matrix_linux_nightly_6_0_enabled : ${{ inputs.linux_nightly_6_0_enabled }}
38
- matrix_linux_nightly_main_enabled : ${{ inputs.linux_nightly_main_enabled }}
38
+ matrix_linux_nightly_main_enabled : ${{ inputs.linux_nightly_main_enabled }}
Original file line number Diff line number Diff line change 93
93
COMMAND_OVERRIDE_NIGHTLY_MAIN : ${{ inputs.matrix_linux_nightly_main_command_override }}
94
94
run : |
95
95
apt-get -qq update && apt-get -qq -y install curl
96
- curl -s https://raw.githubusercontent.com/apple/swift-nio/main/scripts/check-matrix-job.sh | bash
96
+ curl -s https://raw.githubusercontent.com/apple/swift-nio/main/scripts/check-matrix-job.sh | bash
Original file line number Diff line number Diff line change 60
60
matrix_linux_nightly_6_0_enabled : ${{ inputs.linux_nightly_6_0_enabled }}
61
61
matrix_linux_nightly_6_0_command_override : " swift test ${{ inputs.linux_nightly_6_0_arguments_override }}"
62
62
matrix_linux_nightly_main_enabled : ${{ inputs.linux_nightly_main_enabled }}
63
- matrix_linux_nightly_main_command_override : " swift test ${{ inputs.linux_nightly_main_arguments_override }}"
63
+ matrix_linux_nightly_main_command_override : " swift test ${{ inputs.linux_nightly_main_arguments_override }}"
You can’t perform that action at this time.
0 commit comments