Skip to content

Commit

Permalink
feat: cross-compile target binaries
Browse files Browse the repository at this point in the history
- Avoid stripping cross-compiled binaries
- Disable UPX and dart-protobuf for arm64
- Use `gcompat`
- Maximize caching possibilities
- Install grpc, protoc, protobuf-c and dart-protobuf from package repos
- Few minor fixes/styling improvements
  • Loading branch information
rvolosatovs committed Apr 7, 2022
1 parent 4b458a8 commit 2777c20
Show file tree
Hide file tree
Showing 5 changed files with 309 additions and 256 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/dockerimage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,20 +65,16 @@ jobs:
platforms: linux/amd64,linux/arm64
build-args: |
ALPINE_VERSION=${{ env.ALPINE_VERSION }}
DART_PROTOBUF_VERSION=${{ env.DART_PROTOBUF_VERSION }}
DART_VERSION=${{ env.DART_VERSION }}
GO_VERSION=${{ env.GO_VERSION }}
GOOGLE_API_VERSION=${{ env.GOOGLE_API_VERSION }}
GOTEMPLATE_VERSION=${{ env.GOTEMPLATE_VERSION }}
GRPC_GATEWAY_VERSION=${{ env.GRPC_GATEWAY_VERSION }}
GRPC_JAVA_VERSION=${{ env.GRPC_JAVA_VERSION }}
GRPC_RUST_VERSION=${{ env.GRPC_RUST_VERSION }}
GRPC_SWIFT_VERSION=${{ env.GRPC_SWIFT_VERSION }}
GRPC_VERSION=${{ env.GRPC_VERSION }}
GRPC_WEB_VERSION=${{ env.GRPC_WEB_VERSION }}
JSONSCHEMA_VERSION=${{ env.JSONSCHEMA_VERSION }}
NODE_VERSION=${{ env.NODE_VERSION }}
PROTOBUF_C_VERSION=${{ env.PROTOBUF_C_VERSION }}
PROTOC_GEN_DOC_VERSION=${{ env.PROTOC_GEN_DOC_VERSION }}
PROTOC_GEN_GO_GRPC_VERSION=${{ env.PROTOC_GEN_GO_GRPC_VERSION }}
PROTOC_GEN_GO_VERSION=${{ env.PROTOC_GEN_GO_VERSION }}
Expand Down
Loading

0 comments on commit 2777c20

Please sign in to comment.