diff --git a/.github/scripts/setup.sh b/.github/scripts/setup.sh index c8c91cef5..b1b4f252f 100755 --- a/.github/scripts/setup.sh +++ b/.github/scripts/setup.sh @@ -71,3 +71,15 @@ sudo chmod 0440 /etc/sudoers.d/tester curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- \ -y --default-toolchain ${RUST_VERSION} + +# We also need a relatively recent protobuf-compiler, at least 3.12.0, +# in order to support the experimental `optional` flag. +PROTOC_VERSION=3.15.8 +PB_REL="https://github.com/protocolbuffers/protobuf/releases" +curl -LO $PB_REL/download/v${PROTOC_VERSION}/protoc-${PROTOC_VERSION}-linux-x86_64.zip +sudo unzip protoc-3.15.8-linux-x86_64.zip -d /usr/local/ +sudo chmod a+x /usr/local/bin/protoc +export PROTOC=/usr/local/bin/protoc +export PATH=$PATH:/usr/local/bin +env +ls -lha /usr/local/bin \ No newline at end of file diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 969c5e456..4b274e016 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -5,6 +5,7 @@ on: branches: - "master" pull_request: + jobs: smoke-test: name: Smoke Test ${{ matrix.cfg }} @@ -61,6 +62,8 @@ jobs: TEST_GROUP_COUNT: ${{ matrix.TEST_GROUP_COUNT }} TEST_GROUP: ${{ matrix.TEST_GROUP }} run: | + echo $PROTOC + which protoc bash -x .github/scripts/build.sh - name: Upload Unit Test Results