From d3f7aecd76f2872bfc9757dad59889d2aab1dd3e Mon Sep 17 00:00:00 2001 From: jeremyd2019 Date: Fri, 19 Nov 2021 14:21:00 -0800 Subject: [PATCH] hack around setup-msys2 not liking CLANGARM64 --- .github/workflows/main.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index ffd2da4a50..0bd63aa46d 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -43,7 +43,7 @@ jobs: - uses: msys2/setup-msys2@v2 with: - msystem: ${{ matrix.msystem }} + msystem: ${{ contains(matrix.msystem, 'ARM64') && 'MSYS' || matrix.msystem }} install: VCS base-devel binutils pactoys ${{ matrix.toolchain }} update: true release: ${{ runner.arch != 'ARM64' }} @@ -77,6 +77,12 @@ jobs: id: build run: | cd /C/_ + if [[ "$MSYSTEM" != "${{ matrix.msystem }}" ]]; then + MSYSTEM=${{ matrix.msystem }} + set +e + . shell ${MSYSTEM,,} + set -e + fi MINGW_ARCH=${{ matrix.msystem }} ./.ci/ci-build.sh - name: "Upload binaries"