Skip to content

Change build steps to follow Fivetran requirements#108

Merged
koletzilla merged 1 commit into
mainfrom
clickhouse/change-build-steps
Jul 7, 2026
Merged

Change build steps to follow Fivetran requirements#108
koletzilla merged 1 commit into
mainfrom
clickhouse/change-build-steps

Conversation

@koletzilla

Copy link
Copy Markdown
Contributor

Closes #56

Now make build can be used to install all dependencies and have a working binary

@codecov

codecov Bot commented Jul 6, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@@ -0,0 +1,27 @@
name: 'Setup Go & Build'

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is just the old action.yml but renamed and focused on only doing the complete make build

Comment thread Makefile
Comment on lines 4 to +16
UNAME_S := $(shell uname -s)
UNAME_M := $(shell uname -m)
ifeq ($(UNAME_S),Darwin)
GRPC_HOSTNAME := host.docker.internal
PROTOC_OS := osx
else
GRPC_HOSTNAME := 172.17.0.1
PROTOC_OS := linux
endif
ifneq ($(filter $(UNAME_M),arm64 aarch64),)
PROTOC_ARCH := aarch_64
else
PROTOC_ARCH := x86_64

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Needed to allow the wiki example: GOOS=linux GOARCH=amd64 make build

Comment thread Makefile

# Installs a pinned protoc version into .protoc/ so builds do not depend on
# whatever protoc happens to be on PATH.
install-protoc:

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We used to install it separately. Now it's included in the build process as mentioned in the docs Installation of local dependencies (e.g., protoc)

@koletzilla
koletzilla requested a review from BentsiLeviav July 6, 2026 16:26
@koletzilla
koletzilla merged commit 88db91b into main Jul 7, 2026
5 checks passed
@koletzilla
koletzilla deleted the clickhouse/change-build-steps branch July 7, 2026 09:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Ensure sure distributed artifact follows new requirements

2 participants