43
43
- name : Checkout
44
44
uses : actions/checkout@v4
45
45
with :
46
- path : main
46
+ path : swift-protobuf
47
47
- name : Update and install dependencies
48
48
# dependencies from https://github.com/protocolbuffers/protobuf/blob/main/src/README.md
49
49
# this step is run before get-sha because we need curl and jq for get-sha
@@ -62,10 +62,10 @@ jobs:
62
62
;;
63
63
esac
64
64
- name : Build
65
- working-directory : main
65
+ working-directory : swift-protobuf
66
66
run : make build ${{ matrix.swift.hook }}
67
67
- name : Test runtime
68
- working-directory : main
68
+ working-directory : swift-protobuf
69
69
run : make test-runtime ${{ matrix.swift.hook }}
70
70
- name : Cache protobuf
71
71
id : cache-protobuf
@@ -97,16 +97,16 @@ jobs:
97
97
NUM_CPUS=$(getconf _NPROCESSORS_ONLN)
98
98
make -j "${NUM_CPUS}" protoc conformance_test_runner
99
99
- name : Test plugin
100
- working-directory : main
100
+ working-directory : swift-protobuf
101
101
run : make test-plugin PROTOC=../protobuf/cmake_build/protoc
102
102
- name : Test conformance
103
- working-directory : main
103
+ working-directory : swift-protobuf
104
104
run : make test-conformance CONFORMANCE_TEST_RUNNER=../protobuf/cmake_build/conformance_test_runner
105
105
- name : Test SPM plugin
106
- working-directory : main
106
+ working-directory : swift-protobuf
107
107
run : make test-spm-plugin PROTOC=../protobuf/cmake_build/protoc
108
108
- name : Compilation Tests
109
- working-directory : main
109
+ working-directory : swift-protobuf
110
110
run : make compile-tests PROTOC=../protobuf/cmake_build/protoc
111
111
112
112
api-breakage :
0 commit comments