File tree Expand file tree Collapse file tree 2 files changed +40
-5
lines changed Expand file tree Collapse file tree 2 files changed +40
-5
lines changed Original file line number Diff line number Diff line change @@ -23,12 +23,30 @@ jobs:
23
23
windows_nightly_6_1_arguments_override : " --explicit-target-dependency-import-check error"
24
24
windows_nightly_main_arguments_override : " --explicit-target-dependency-import-check error"
25
25
26
+ construct-integration-test-matrix :
27
+ name : Construct integration matrix
28
+ runs-on : ubuntu-latest
29
+ outputs :
30
+ integration-test-matrix : ' ${{ steps.generate-matrix.outputs.integration-test-matrix }}'
31
+ steps :
32
+ - name : Checkout repository
33
+ uses : actions/checkout@v4
34
+ with :
35
+ persist-credentials : false
36
+ - id : generate-matrix
37
+ run : echo "integration-test-matrix=$(curl -s https://raw.githubusercontent.com/apple/swift-nio/main/scripts/generate_matrix.sh | bash)" >> "$GITHUB_OUTPUT"
38
+ env :
39
+ MATRIX_LINUX_SETUP_COMMAND : apt-get update -y && apt-get install -yq jq
40
+ MATRIX_LINUX_COMMAND : ./scripts/run-integration-test.sh
41
+
26
42
integration-test :
27
43
name : Integration test
28
- uses : apple/swift-nio/.github/workflows/swift_matrix.yml@main
44
+ needs : construct-integration-test-matrix
45
+ uses : apple/swift-nio/.github/workflows/swift_test_matrix.yml@main
29
46
with :
30
47
name : " Integration test"
31
- matrix_linux_command : " apt-get update -yq && apt-get install -yq jq && ./scripts/run-integration-test.sh"
48
+ matrix_string : ' ${{ needs.construct-integration-test-matrix.outputs.integration-test-matrix }}'
49
+ matrix_linux_nightly_main_enabled : false
32
50
33
51
static-sdk :
34
52
name : Static SDK
Original file line number Diff line number Diff line change @@ -27,13 +27,30 @@ jobs:
27
27
windows_nightly_6_1_arguments_override : " --explicit-target-dependency-import-check error"
28
28
windows_nightly_main_arguments_override : " --explicit-target-dependency-import-check error"
29
29
30
+ construct-integration-test-matrix :
31
+ name : Construct integration matrix
32
+ runs-on : ubuntu-latest
33
+ outputs :
34
+ integration-test-matrix : ' ${{ steps.generate-matrix.outputs.integration-test-matrix }}'
35
+ steps :
36
+ - name : Checkout repository
37
+ uses : actions/checkout@v4
38
+ with :
39
+ persist-credentials : false
40
+ - id : generate-matrix
41
+ run : echo "integration-test-matrix=$(curl -s https://raw.githubusercontent.com/apple/swift-nio/main/scripts/generate_matrix.sh | bash)" >> "$GITHUB_OUTPUT"
42
+ env :
43
+ MATRIX_LINUX_SETUP_COMMAND : apt-get update -y && apt-get install -yq jq
44
+ MATRIX_LINUX_COMMAND : ./scripts/run-integration-test.sh
45
+ MATRIX_LINUX_NIGHTLY_MAIN_ENABLED : false
46
+
30
47
integration-test :
31
48
name : Integration test
32
- uses : apple/swift-nio/.github/workflows/swift_matrix.yml@main
49
+ needs : construct-integration-test-matrix
50
+ uses : apple/swift-nio/.github/workflows/swift_test_matrix.yml@main
33
51
with :
34
52
name : " Integration test"
35
- matrix_linux_command : " apt-get update -yq && apt-get install -yq jq && ./scripts/run-integration-test.sh"
36
- matrix_linux_nightly_main_enabled : false
53
+ matrix_string : ' ${{ needs.construct-integration-test-matrix.outputs.integration-test-matrix }}'
37
54
38
55
static-sdk :
39
56
name : Static SDK
You can’t perform that action at this time.
0 commit comments