Commit 3ae58c4 1 parent f63ec15 commit 3ae58c4 Copy full SHA for 3ae58c4
File tree 2 files changed +15
-0
lines changed
2 files changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -71,3 +71,15 @@ sudo chmod 0440 /etc/sudoers.d/tester
71
71
72
72
curl --proto ' =https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- \
73
73
-y --default-toolchain ${RUST_VERSION}
74
+
75
+ # We also need a relatively recent protobuf-compiler, at least 3.12.0,
76
+ # in order to support the experimental `optional` flag.
77
+ PROTOC_VERSION=3.15.8
78
+ PB_REL=" https://github.com/protocolbuffers/protobuf/releases"
79
+ curl -LO $PB_REL /download/v${PROTOC_VERSION} /protoc-${PROTOC_VERSION} -linux-x86_64.zip
80
+ sudo unzip protoc-3.15.8-linux-x86_64.zip -d /usr/local/
81
+ sudo chmod a+x /usr/local/bin/protoc
82
+ export PROTOC=/usr/local/bin/protoc
83
+ export PATH=$PATH :/usr/local/bin
84
+ env
85
+ ls -lha /usr/local/bin
Original file line number Diff line number Diff line change 5
5
branches :
6
6
- " master"
7
7
pull_request :
8
+
8
9
jobs :
9
10
smoke-test :
10
11
name : Smoke Test ${{ matrix.cfg }}
61
62
TEST_GROUP_COUNT : ${{ matrix.TEST_GROUP_COUNT }}
62
63
TEST_GROUP : ${{ matrix.TEST_GROUP }}
63
64
run : |
65
+ echo $PROTOC
66
+ which protoc
64
67
bash -x .github/scripts/build.sh
65
68
66
69
- name : Upload Unit Test Results
You can’t perform that action at this time.
0 commit comments