File tree Expand file tree Collapse file tree 4 files changed +39
-4
lines changed Expand file tree Collapse file tree 4 files changed +39
-4
lines changed Original file line number Diff line number Diff line change 18
18
environment :
19
19
MAVEN_OPTS : -Xms512m -Xmx1024m # Customize the JVM maximum heap limit
20
20
GO111MODULE : " on"
21
- CI_GO_VERSION : 1.14.7
21
+ CI_GO_VERSION : 1.17.6
22
22
steps :
23
23
- checkout :
24
24
path : ~/.go_workspace/src/github.com/envoyproxy/protoc-gen-validate
Original file line number Diff line number Diff line change 39
39
</environmentVariables >
40
40
</configuration >
41
41
</execution >
42
+ <execution >
43
+ <id >osx-aarch_64</id >
44
+ <goals >
45
+ <goal >exec</goal >
46
+ </goals >
47
+ <phase >compile</phase >
48
+ <configuration >
49
+ <executable >go</executable >
50
+ <arguments >
51
+ <argument >build</argument >
52
+ <argument >-o</argument >
53
+ <argument >${project.build.directory} /protoc-gen-validate-${project.version} -osx-aarch_64.exe</argument >
54
+ <argument >../..</argument >
55
+ </arguments >
56
+ <environmentVariables >
57
+ <GOOS >darwin</GOOS >
58
+ <GOARCH >arm64</GOARCH >
59
+ </environmentVariables >
60
+ </configuration >
61
+ </execution >
42
62
<execution >
43
63
<id >linux_x86_32</id >
44
64
<goals >
142
162
</artifacts >
143
163
</configuration >
144
164
</execution >
165
+ <execution >
166
+ <id >osx-aarch_64</id >
167
+ <goals >
168
+ <goal >attach-artifact</goal >
169
+ </goals >
170
+ <configuration >
171
+ <artifacts >
172
+ <artifact >
173
+ <file >${project.build.directory} /protoc-gen-validate-${project.version} -osx-aarch_64.exe</file >
174
+ <type >exe</type >
175
+ <classifier >osx-aarch_64</classifier >
176
+ </artifact >
177
+ </artifacts >
178
+ </configuration >
179
+ </execution >
145
180
<execution >
146
181
<id >linux_x86_32</id >
147
182
<goals >
Original file line number Diff line number Diff line change 76
76
~ Protobuf guarantees API stability for all 3.x version.
77
77
~ https://github.com/protocolbuffers/protobuf/blob/17cc42a45aeab0f78a137fa6be6c36095db32e58/CHANGES.txt#L107-L122
78
78
-->
79
- <protocArtifact >com.google.protobuf:protoc:3.0.0 :exe:${os.detected.classifier} </protocArtifact >
79
+ <protocArtifact >com.google.protobuf:protoc:${protoc.version} :exe:${os.detected.classifier} </protocArtifact >
80
80
</configuration >
81
81
<executions >
82
82
<execution >
Original file line number Diff line number Diff line change 42
42
<properties >
43
43
<project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
44
44
45
- <protoc .version>3.19.1 </protoc .version>
46
- <google .protobuf.version>3.19.1 </google .protobuf.version>
45
+ <protoc .version>3.19.4 </protoc .version>
46
+ <google .protobuf.version>3.19.4 </google .protobuf.version>
47
47
<protobuf .maven.plugin.version>0.6.1</protobuf .maven.plugin.version>
48
48
49
49
<re2j .version>1.5</re2j .version>
You can’t perform that action at this time.
0 commit comments