Skip to content

Commit 5d559a0

Browse files
committed
Build Windows artifacts only
1 parent 79147b8 commit 5d559a0

File tree

1 file changed

+0
-52
lines changed

1 file changed

+0
-52
lines changed

.github/workflows/ci-build-binary-artifacts.yaml

Lines changed: 0 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -29,58 +29,6 @@ concurrency:
2929

3030
jobs:
3131

32-
package-linux:
33-
name: Build ${{matrix.pkg.name}} ${{matrix.cpu.platform}}
34-
runs-on: ubuntu-22.04
35-
timeout-minutes: 500
36-
37-
strategy:
38-
fail-fast: false
39-
matrix:
40-
pkg:
41-
- { name: 'RPM', type: 'rpm', path: 'pkg/rpm/RPMS' }
42-
- { name: 'Deb', type: 'deb', path: 'pkg/deb/BUILD/DEB' }
43-
- { name: 'Alpine', type: 'apk', path: 'pkg/apk/build' }
44-
cpu:
45-
- { arch: 'x86_64', platform: 'x86_64' }
46-
- { arch: 'aarch64', platform: 'arm64' }
47-
48-
steps:
49-
- name: checkout
50-
uses: actions/checkout@v3
51-
52-
- name: Set up QEMU
53-
uses: docker/setup-qemu-action@v2
54-
55-
- name: Package Pulsar source
56-
run: build-support/generate-source-archive.sh
57-
58-
- uses: docker/setup-buildx-action@v2
59-
- run: build-support/copy-deps-versionfile.sh
60-
61-
- name: Build dependencies Docker image
62-
uses: docker/build-push-action@v3
63-
with:
64-
context: ./pkg/${{matrix.pkg.type}}
65-
load: true
66-
tags: build:latest
67-
platforms: linux/${{matrix.cpu.platform}}
68-
build-args: PLATFORM=${{matrix.cpu.arch}}
69-
cache-from: type=gha
70-
cache-to: type=gha,mode=max
71-
72-
- name: Build packages
73-
run: pkg/${{matrix.pkg.type}}/docker-build-${{matrix.pkg.type}}-${{matrix.cpu.platform}}.sh build:latest
74-
75-
- name: Zip artifact
76-
run: zip -r ${{matrix.pkg.type}}-${{matrix.cpu.platform}}.zip ${{matrix.pkg.path}}
77-
78-
- name: Upload artifacts
79-
uses: actions/upload-artifact@v3
80-
with:
81-
name: ${{matrix.pkg.type}}-${{matrix.cpu.platform}}
82-
path: ${{matrix.pkg.path}}
83-
8432
package-windows:
8533
timeout-minutes: 120
8634
name: Build CPP Client on ${{ matrix.name }}

0 commit comments

Comments
 (0)