From ff0814b9b66850170e8e8f385c86a6fe86773819 Mon Sep 17 00:00:00 2001 From: Bogdan Drutu Date: Sat, 20 Feb 2021 11:59:14 -0800 Subject: [PATCH] Run build binaries in parallel Signed-off-by: Bogdan Drutu --- .github/workflows/build-and-test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index a0da5ee4a6c..35fc1356799 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -186,7 +186,7 @@ jobs: path: /home/runner/go/bin key: tools-${{ runner.os }}-${{ hashFiles('./internal/tools/go.mod') }} - name: Build Collector for All Architectures - run: grep ^binaries-all-sys Makefile|fmt -w 1|tail -n +2|xargs make + run: make -j4 binaries-all-sys - name: Create Collector Binaries Archive run: tar -cvf bin.tar ./bin - name: Upload Collector Binaries