From 28fb5325293a2324e54297deb296679bc09cc070 Mon Sep 17 00:00:00 2001 From: "pawel.skiers" Date: Fri, 16 Feb 2024 17:45:06 +0100 Subject: [PATCH] ci: update build toolchain on mac JIRA: CI-158 --- .github/workflows/build-toolchain.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/workflows/build-toolchain.yml b/.github/workflows/build-toolchain.yml index 3c74de92..136ddb80 100644 --- a/.github/workflows/build-toolchain.yml +++ b/.github/workflows/build-toolchain.yml @@ -2,11 +2,21 @@ name: Build toolchain on: workflow_dispatch: + workflow_call: + push: + branches: + - 'pskiers/fix-build-mac' + pull_request: + branches: + - 'pskiers/fix-build-mac' jobs: build-macos: name: build-macos-toolchain runs-on: macos-12 + strategy: + matrix: + instance: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20] steps: - name: Checkout the repository uses: actions/checkout@v3 @@ -28,6 +38,10 @@ jobs: # upload/download-artifact action don't preserve permissions and compresses to zip. Pack to archive and don't compress. tar -C ~/toolchain -cvf ~/i386-pc-phoenix-macos.tar i386-pc-phoenix git-version + - name: Debug failures by SSH + if: ${{ failure() }} + uses: mxschmitt/action-tmate@v3 + - name: Upload toolchain artifacts uses: actions/upload-artifact@v3 with: