File tree Expand file tree Collapse file tree 4 files changed +45
-8
lines changed
IntegrationTests/PluginTests/Resources Expand file tree Collapse file tree 4 files changed +45
-8
lines changed Original file line number Diff line number Diff line change 17
17
linux_nightly_6_0_arguments_override : " --explicit-target-dependency-import-check error -Xswiftc -require-explicit-sendable"
18
18
linux_nightly_main_arguments_override : " --explicit-target-dependency-import-check error -Xswiftc -require-explicit-sendable"
19
19
20
- plugin-tests :
20
+ construct-plugin-tests-matrix :
21
+ name : Construct plugin tests matrix
22
+ runs-on : ubuntu-latest
23
+ outputs :
24
+ plugin-tests-matrix : ' ${{ steps.generate-matrix.outputs.plugin-tests-matrix }}'
25
+ steps :
26
+ - name : Checkout repository
27
+ uses : actions/checkout@v4
28
+ with :
29
+ persist-credentials : false
30
+ - id : generate-matrix
31
+ run : echo "plugin-tests-matrix=$(curl -s https://raw.githubusercontent.com/apple/swift-nio/main/scripts/generate_matrix.sh | bash)" >> "$GITHUB_OUTPUT"
32
+ env :
33
+ MATRIX_LINUX_5_9_ENABLED : false
34
+ MATRIX_LINUX_5_10_ENABLED : false
35
+ MATRIX_LINUX_COMMAND : " curl -s https://raw.githubusercontent.com/rnro/grpc-swift-protobuf/refs/heads/build_plugin_integration_tests/dev/plugin-tests.sh | GITHUB_ACTIONS=true bash"
36
+ MATRIX_LINUX_SETUP_COMMAND : " apt-get update -y -q && apt-get install -y -q curl protobuf-compiler"
37
+
38
+ plugin-tests-matrix :
21
39
name : Plugin tests
22
- uses : apple/swift-nio/.github/workflows/swift_load_test_matrix.yml@main
40
+ needs : construct-plugin-tests-matrix
41
+ uses : apple/swift-nio/.github/workflows/swift_test_matrix.yml@main
23
42
with :
24
43
name : " Plugin tests"
25
- matrix_path : " .github/workflows/matrices/ plugin-tests.json "
44
+ matrix_string : ' ${{ needs.construct- plugin-tests-matrix.outputs.plugin-tests-matrix }} '
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -26,12 +26,31 @@ jobs:
26
26
linux_nightly_6_0_arguments_override : " --explicit-target-dependency-import-check error -Xswiftc -require-explicit-sendable"
27
27
linux_nightly_main_arguments_override : " --explicit-target-dependency-import-check error -Xswiftc -require-explicit-sendable"
28
28
29
- plugin-tests :
29
+ construct-plugin-tests-matrix :
30
+ name : Construct plugin tests matrix
31
+ runs-on : ubuntu-latest
32
+ outputs :
33
+ plugin-tests-matrix : ' ${{ steps.generate-matrix.outputs.plugin-tests-matrix }}'
34
+ steps :
35
+ - name : Checkout repository
36
+ uses : actions/checkout@v4
37
+ with :
38
+ persist-credentials : false
39
+ - id : generate-matrix
40
+ run : echo "plugin-tests-matrix=$(curl -s https://raw.githubusercontent.com/apple/swift-nio/main/scripts/generate_matrix.sh | bash)" >> "$GITHUB_OUTPUT"
41
+ env :
42
+ MATRIX_LINUX_5_9_ENABLED : false
43
+ MATRIX_LINUX_5_10_ENABLED : false
44
+ MATRIX_LINUX_COMMAND : " curl -s https://raw.githubusercontent.com/rnro/grpc-swift-protobuf/refs/heads/build_plugin_integration_tests/dev/plugin-tests.sh | GITHUB_ACTIONS=true bash"
45
+ MATRIX_LINUX_SETUP_COMMAND : " apt-get update -y -q && apt-get install -y -q curl protobuf-compiler"
46
+
47
+ plugin-tests-matrix :
30
48
name : Plugin tests
31
- uses : apple/swift-nio/.github/workflows/swift_load_test_matrix.yml@main
49
+ needs : construct-plugin-tests-matrix
50
+ uses : apple/swift-nio/.github/workflows/swift_test_matrix.yml@main
32
51
with :
33
52
name : " Plugin tests"
34
- matrix_path : " .github/workflows/matrices/ plugin-tests.json "
53
+ matrix_string : ' ${{ needs.construct- plugin-tests-matrix.outputs.plugin-tests-matrix }} '
35
54
36
55
cxx-interop :
37
56
name : Cxx interop
Original file line number Diff line number Diff line change 17
17
18
18
import PackageDescription
19
19
20
- var package = Package (
20
+ let package = Package (
21
21
name: " grpc-adopter " ,
22
22
platforms: [
23
23
. macOS( . v15) ,
You can’t perform that action at this time.
0 commit comments