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).
This commit is contained in:
Martin Storsjö committed 2022-09-17 00:20:52 +03:00
1 parent 6dbfbec8ff
commit b78082449e
1 file changed
+10 -3
+10 -3
View File
@@ -242,6 +242,12 @@ jobs:
defaults: defaults:
run: run:
shell: msys2 {0} shell: msys2 {0}
strategy:
fail-fast: false
matrix:
arch:
- x86_64
- i686
steps: steps:
- uses: msys2/setup-msys2@v2 - uses: msys2/setup-msys2@v2
with: with:
@@ -250,17 +256,18 @@ jobs:
unzip unzip
- uses: actions/download-artifact@v3 - uses: actions/download-artifact@v3
with: with:
name: windows-x86_64-toolchain name: windows-${{matrix.arch}}-toolchain
- name: Unpack toolchain - name: Unpack toolchain
run: | run: |
unzip -q llvm-mingw-x86_64.zip unzip -q llvm-mingw-*.zip
rm llvm-mingw-x86_64.zip rm llvm-mingw-*.zip
mv llvm-mingw-* /llvm-mingw mv llvm-mingw-* /llvm-mingw
echo /llvm-mingw/bin >> $GITHUB_PATH echo /llvm-mingw/bin >> $GITHUB_PATH
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Run tests - name: Run tests
run: | run: |
./run-tests.sh /llvm-mingw ./run-tests.sh /llvm-mingw
./run-lldb-tests.sh /llvm-mingw
# Test cross-building ffmpeg for all 4 targeted architectures from linux. # Test cross-building ffmpeg for all 4 targeted architectures from linux.
# This is done only on scheduled builds, with a toolchain with assertions # This is done only on scheduled builds, with a toolchain with assertions