From b78082449e3d5ce85cb8a7b360cec1b8ca4808b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Storsj=C3=B6?= Date: Wed, 14 Sep 2022 23:09:35 +0300 Subject: [PATCH] github: Run the lldb smoke tests as part of the test-toolchain stage Run this for both i686 and x86_64, as we only test lldb with the native architecture of the lldb executable (which is assumed to be the same as the default architecture of the clang executable). --- .github/workflows/build.yml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a33e8bf..1ebabd8 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -242,6 +242,12 @@ jobs: defaults: run: shell: msys2 {0} + strategy: + fail-fast: false + matrix: + arch: + - x86_64 + - i686 steps: - uses: msys2/setup-msys2@v2 with: @@ -250,17 +256,18 @@ jobs: unzip - uses: actions/download-artifact@v3 with: - name: windows-x86_64-toolchain + name: windows-${{matrix.arch}}-toolchain - name: Unpack toolchain run: | - unzip -q llvm-mingw-x86_64.zip - rm llvm-mingw-x86_64.zip + unzip -q llvm-mingw-*.zip + rm llvm-mingw-*.zip mv llvm-mingw-* /llvm-mingw echo /llvm-mingw/bin >> $GITHUB_PATH - uses: actions/checkout@v2 - name: Run tests run: | ./run-tests.sh /llvm-mingw + ./run-lldb-tests.sh /llvm-mingw # Test cross-building ffmpeg for all 4 targeted architectures from linux. # This is done only on scheduled builds, with a toolchain with assertions