From 0e7d463689748b7a14565593df5dd1aa075a3d89 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Mierzwa?= Date: Thu, 24 Nov 2022 20:33:15 +0000 Subject: [PATCH] fix(ci): speed up CI jobs --- .github/workflows/test.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 77a611ecb..55f13c069 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -421,7 +421,12 @@ jobs: cache-dependency-path: 'ui/package-lock.json' - name: Cross compile binaries - run: make crosscompile -j 2 + if: github.event_name != 'pull_request' + run: make -j2 crosscompile + + - name: Cross compile binaries (PR) + if: github.event_name == 'pull_request' + run: make -j2 cc-linux-386 cc-linux-amd64 cc-linux-arm64 cc-windows-amd64 - name: Compress binaries shell: bash