File tree Expand file tree Collapse file tree 3 files changed +15
-6
lines changed
Expand file tree Collapse file tree 3 files changed +15
-6
lines changed Original file line number Diff line number Diff line change 9797 cache-from : type=registry,ref=${{ env.CACHE_IMAGE }}
9898 cache-to : ${{ env.CACHE_TO }}
9999 push : ${{ github.event_name != 'pull_request' }}
100- platforms : linux/amd64
100+ platforms : linux/amd64,linux/s390x
Original file line number Diff line number Diff line change @@ -5,15 +5,24 @@ ARG PROTOC_VERSION=27.1
55
66# # Rust builder ################################################################
77# Specific debian version so that compatible glibc version is used
8- FROM rust:1.79-bullseye as rust-builder
8+ FROM rust:1.81 as rust-builder
99ARG PROTOC_VERSION
1010
1111ENV CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse
1212
1313# Install protoc, no longer included in prost crate
1414RUN cd /tmp && \
15- curl -L -O https://github.com/protocolbuffers/protobuf/releases/download/v${PROTOC_VERSION}/protoc-${PROTOC_VERSION}-linux-x86_64.zip && \
16- unzip protoc-*.zip -d /usr/local && rm protoc-*.zip
15+ if [ "$(uname -m)" = "s390x" ]; then \
16+ apt update && \
17+ apt install -y cmake clang libclang-dev curl unzip && \
18+ curl -L -O https://github.com/protocolbuffers/protobuf/releases/download/v${PROTOC_VERSION}/protoc-${PROTOC_VERSION}-linux-s390_64.zip; \
19+ elif [ "$(uname -m)" = "x86_64" ]; then \
20+ curl -L -O https://github.com/protocolbuffers/protobuf/releases/download/v${PROTOC_VERSION}/protoc-${PROTOC_VERSION}-linux-x86_64.zip; \
21+ fi && \
22+ unzip protoc-*.zip -d /usr/local && \
23+ rm protoc-*.zip
24+
25+ ENV LIBCLANG_PATH=/usr/lib/llvm-14/lib/
1726
1827WORKDIR /usr/src
1928
Original file line number Diff line number Diff line change 11[toolchain ]
2- channel = " 1.79 "
3- components = [" rustfmt" , " clippy" ]
2+ channel = " 1.81 "
3+ components = [" rustfmt" , " clippy" ]
You can’t perform that action at this time.
0 commit comments