-
Notifications
You must be signed in to change notification settings - Fork 124
/
config.yml
40 lines (35 loc) · 1.21 KB
/
config.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
version: 2.1
orbs:
go: circleci/go@1.7.0
jobs:
build:
docker:
- image: circleci/node:14.5.0-browsers
steps:
- go/install:
version: 1.16.4
- run:
name: Install protoc
command: |
version=3.12.0
archive=protoc-${version}-linux-x86_64.zip
curl -O -L https://github.com/protocolbuffers/protobuf/releases/download/v${version}/${archive}
sudo unzip -d '/usr/local' ${archive} 'bin/*' 'include/*'
sudo chmod 755 /usr/local/bin/protoc
rm ${archive}
protoc --version
- run:
name: Install conformance-test-runner
command: |
archive=conformance-test-runner-3.12.3-linux-x86_64.zip
curl -O -L http://pub.devserver2.de/protobuf/conformance-test-runner-3.12.3-linux-x86_64.zip
unzip ${archive}
sudo cp libprotobuf.so.23 /usr/lib/
sudo cp conformance-test-runner /usr/bin/
sudo chmod 755 /usr/bin/conformance-test-runner
rm libprotobuf.so.23
rm conformance-test-runner
rm ${archive}
# check out the code in the project directory
- checkout
- run: make