mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-19 05:44:12 +01:00
ci: Add protoc
compiler to setup
This commit is contained in:
parent
f63ec15116
commit
3ae58c4429
12
.github/scripts/setup.sh
vendored
12
.github/scripts/setup.sh
vendored
@ -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
|
3
.github/workflows/ci.yaml
vendored
3
.github/workflows/ci.yaml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user