diff --git a/.semaphore/semaphore.yml b/.semaphore/semaphore.yml index 5daaf87681..6a3cc58fa1 100644 --- a/.semaphore/semaphore.yml +++ b/.semaphore/semaphore.yml @@ -13,83 +13,6 @@ execution_time_limit: hours: 1 blocks: - - name: linux/amd64 - dependencies: [] - task: - when: - condition: false - jobs: - - name: "Test linux/amd64" - commands: - - checkout - - sem-version go $(cat .go-version) - - export PATH=$(go env GOPATH)/bin:$PATH - - make generate-packaging-patch - - diff -w -u <(git cat-file --filters HEAD:debian/patches/standard_build_layout.patch | awk "{if (NR>3) {print}}") <(cat debian/patches/standard_build_layout.patch | awk "{if (NR>3) {print}}") - - make lint - - make test - - make test-installer - - name: "Build linux/amd64 (GLIBC)" - commands: - - checkout - - docker build . --file docker/Dockerfile_build_linux_amd64 --tag test-build - - name: "Build linux/amd64 (Alpine)" - commands: - - checkout - - sem-version go $(cat .go-version) - - export PATH=$(go env GOPATH)/bin:$PATH - - sudo apt install musl-tools --yes - - CC=musl-gcc CGO_LDFLAGS="-static" CGO_ENABLED=1 GOEXPERIMENT=boringcrypto go build -tags musl -ldflags="-s -w -X main.commit="00000000" -X main.date="1970-01-01T00:00:00Z" -X main.isTest=true" ./cmd/confluent - epilogue: - always: - commands: - - test-results publish . -N "linux/amd64" - - - name: linux/arm64 - dependencies: [] - task: - agent: - machine: - type: s1-prod-ubuntu20-04-arm64-1 - jobs: - - name: "Build linux/arm64 (GLIBC)" - commands: - - checkout - - docker build . --file docker/Dockerfile_build_linux_arm64 --tag test-build - - name: "Build linux/arm64 (Alpine)" - commands: - - checkout - - sem-version go $(cat .go-version) - - export PATH=$(go env GOPATH)/bin:$PATH - - sudo apt install musl-tools --yes - - CC=musl-gcc CGO_LDFLAGS="-static" CGO_ENABLED=1 GOEXPERIMENT=boringcrypto go build -tags musl -ldflags="-s -w -X main.commit="00000000" -X main.date="1970-01-01T00:00:00Z" -X main.isTest=true" ./cmd/confluent - - - name: darwin - dependencies: [] - task: - when: - condition: false - agent: - machine: - type: s1-prod-macos-13-5-arm64 - jobs: - - name: "Build & Test darwin/arm64" - commands: - - checkout - - sem-version go $(cat .go-version) - - export PATH=$(go env GOPATH)/bin:$PATH - - make test - - name: "Build darwin/amd64" - commands: - - checkout - - sem-version go $(cat .go-version) - - export PATH=$(go env GOPATH)/bin:$PATH - - GOARCH=amd64 CGO_ENABLED=1 go build -ldflags="-s -w -X main.commit="00000000" -X main.date="1970-01-01T00:00:00Z" -X main.isTest=true" ./cmd/confluent - epilogue: - always: - commands: - - test-results publish . -N "darwin/arm64" - - name: windows/amd64 dependencies: [] task: