From f5b0fcb706a1d733210d0803f2f663e97c884086 Mon Sep 17 00:00:00 2001 From: Ashmita Bohara Date: Tue, 2 Feb 2021 03:28:37 +0800 Subject: [PATCH 1/2] Divide build-binaries job to multiple jobs per platform Signed-off-by: Ashmita Bohara --- .github/workflows/ci-build-binaries.yml | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci-build-binaries.yml b/.github/workflows/ci-build-binaries.yml index c95dfab9e0e..18b5d5c2b03 100644 --- a/.github/workflows/ci-build-binaries.yml +++ b/.github/workflows/ci-build-binaries.yml @@ -9,6 +9,22 @@ on: jobs: build-binaries: runs-on: ubuntu-latest + strategy: + matrix: + platform: + - name: linux + task: build-binaries-linux + - name: windows + task: build-binaries-windows + - name: osx + task: build-binaries-darwin + - name: system/390 + task: build-binaries-s390x + - name: arm + task: build-binaries-arm64 + - name: powerpc + task: build-binaries-ppc64le + name: binaries ${{ matrix.platform.name }} steps: - uses: actions/checkout@v2 with: @@ -29,4 +45,4 @@ jobs: run: make install-ci - name: Build binaries - run: make build-all-platforms + run: make ${{ matrix.platform.task }} From dad29a94be60e32048eba0fa40d6707f170bd034 Mon Sep 17 00:00:00 2001 From: Ashmita Bohara Date: Tue, 2 Feb 2021 03:54:51 +0800 Subject: [PATCH 2/2] Feedbacks Signed-off-by: Ashmita Bohara --- .github/workflows/ci-build-binaries.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci-build-binaries.yml b/.github/workflows/ci-build-binaries.yml index 18b5d5c2b03..a9c13712788 100644 --- a/.github/workflows/ci-build-binaries.yml +++ b/.github/workflows/ci-build-binaries.yml @@ -24,7 +24,7 @@ jobs: task: build-binaries-arm64 - name: powerpc task: build-binaries-ppc64le - name: binaries ${{ matrix.platform.name }} + name: build binaries for ${{ matrix.platform.name }} steps: - uses: actions/checkout@v2 with: