File tree Expand file tree Collapse file tree
.github/workflows/scripts Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -120,6 +120,7 @@ function prapre_test_env() {
120120 esac
121121
122122 which mockery || go install github.com/vektra/mockery/v2@latest
123+ cd /mnt/host && go mod download capnproto.org/go/capnp/v3
123124 which capnpc-go || go install capnproto.org/go/capnp/v3/capnpc-go@v3.1.0-alpha.1
124125 git config --global --add safe.directory /mnt/host
125126}
Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ COPY . .
1515RUN set -x; \
1616 apt-get update && apt-get install -y --no-install-recommends \
1717 make clang libbpf-dev bpftool curl git binutils-gold musl-tools capnproto-dev &&\
18+ cd ${BUILD_PATH} && go mod download capnproto.org/go/capnp/v3 &&\
1819 make BUILD_MODE=${BUILD_MODE} &&\
1920 mkdir -p ${RUN_PATH} &&\
2021 cp -rf ${BUILD_PATH}/_output/* ${RUN_PATH}/ &&\
Original file line number Diff line number Diff line change @@ -18,4 +18,5 @@ ENV PATH="${GOPATH}/bin:${GOROOT}/bin:/usr/lib/llvm15/bin:${PATH}"
1818RUN go install mvdan.cc/gofumpt@v0.8.0 && \
1919 go install golang.org/x/tools/cmd/goimports@v0.36.0 && \
2020 go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.62.2 && \
21+ go install github.com/vektra/mockery/v2@v2.53.6 && \
2122 go install capnproto.org/go/capnp/v3/capnpc-go@v3.1.0-alpha.1
Original file line number Diff line number Diff line change 7272 @cp $(BPF_DIR ) /* .o $(APP_CMD_OUTPUT ) /bpf/
7373 @cp * .conf $(APP_CMD_OUTPUT ) /conf/
7474
75- build : $(APP_CMD_BIN_TARGETS )
75+ build : gen-build $(APP_CMD_BIN_TARGETS )
7676$(APP_CMD_BIN_TARGETS ) : $(GO_SRCS )
7777$(APP_CMD_OUTPUT ) /bin/% :
7878 @mkdir -p $(APP_CMD_OUTPUT ) /bin
You can’t perform that action at this time.
0 commit comments