Skip to content

Commit e67b442

Browse files
committed
CI: bundle MSYS2 gcc runtime DLLs into libs/windows-x64
1 parent d941e47 commit e67b442

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

.github/workflows/build-cache.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,14 @@ jobs:
6363
msystem: MINGW64
6464
install: mingw-w64-x86_64-gcc mingw-w64-x86_64-glfw mingw-w64-x86_64-glew
6565

66+
- name: Bundle gcc runtime DLLs
67+
shell: msys2 {0}
68+
run: |
69+
mkdir -p libs/windows-x64
70+
cp /mingw64/bin/libgcc_s_seh-1.dll libs/windows-x64/
71+
cp /mingw64/bin/libstdc++-6.dll libs/windows-x64/
72+
cp /mingw64/bin/libwinpthread-1.dll libs/windows-x64/
73+
cp /mingw64/bin/libssp-0.dll libs/windows-x64/ || true
6674
- name: Build cache
6775
shell: msys2 {0}
6876
run: |

0 commit comments

Comments
 (0)