Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/build_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ jobs:
- name: build static
run: |
go mod tidy
VIEW=1 CGO_ENABLED=0 go build -ldflags="-extldflags=-static" -o gigapipe_arm64 cmd/gigapipe/main.go
VIEW=1 CGO_ENABLED=0 go build -ldflags="-extldflags=-static" -o gigapipe_arm64 ./cmd/gigapipe

- name: get NFPM
if: github.event_name == 'release' || ${{ inputs.release }}
Expand Down Expand Up @@ -157,7 +157,7 @@ jobs:
- name: build static
run: |
go mod tidy
VIEW=1 CGO_ENABLED=0 go build -ldflags="-extldflags=-static" -o gigapipe cmd/gigapipe/main.go
VIEW=1 CGO_ENABLED=0 go build -ldflags="-extldflags=-static" -o gigapipe ./cmd/gigapipe

- name: glibc polyfill
if: ${{ matrix.goarch == 'amd64' }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
go-version-file: go.mod

- name: Build gigapipe
run: go build -o gigapipe cmd/gigapipe/main.go
run: go build -o gigapipe ./cmd/gigapipe

# The image version lives in the compose file, shared with run.sh.
- name: Start ClickHouse
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ COPY . /src
WORKDIR /src
ARG VIEW
RUN if [ "$VIEW" = "1" ]; then \
go build -tags view -o gigapipe cmd/gigapipe/main.go ; \
go build -tags view -o gigapipe ./cmd/gigapipe ; \
else \
go build -o gigapipe cmd/gigapipe/main.go ; \
go build -o gigapipe ./cmd/gigapipe ; \
fi

FROM alpine:3.21
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ fmt-check:
# Build the gigapipe binary the same way CI does.
build:
go mod tidy
CGO_ENABLED=0 go build -ldflags="-extldflags=-static" -o gigapipe cmd/gigapipe/main.go
CGO_ENABLED=0 go build -ldflags="-extldflags=-static" -o gigapipe ./cmd/gigapipe

# Run the full unit-test suite with the race detector, matching CI.
test-unit:
Expand Down
Loading