Skip to content

Commit 59b791f

Browse files
committed
github: Copy in the llvm-mingw toolchain dependencies into the bin dir
This avoids relying on finding these dependencies in $PATH while running the tests. Some tests may set PATH="" while executing them, which previously caused those tests to fail in this build setup.
1 parent e633b48 commit 59b791f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/test-llvm.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,8 @@ jobs:
8787
-DCMAKE_CXX_COMPILER=clang++ `
8888
-DLLVM_LIT_ARGS="-v --time-tests"
8989
ninja test-depends
90+
cp c:\llvm-mingw\bin\libc++.dll bin
91+
cp c:\llvm-mingw\bin\libunwind.dll bin
9092
- name: Run tests
9193
run: |
9294
cd llvm-project

0 commit comments

Comments
 (0)