Skip to content

Commit

Permalink
windowize
Browse files Browse the repository at this point in the history
  • Loading branch information
ctrlaltca committed Feb 16, 2024
1 parent 1fca506 commit e650703
Showing 1 changed file with 22 additions and 19 deletions.
41 changes: 22 additions & 19 deletions .github/workflows/build_windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,26 +117,29 @@ jobs:
# missing: perl, python
- name: Deploy 3rd party dlls
shell: bash
run: |
cd '${{github.workspace}}/build'
cp -v c:/vcpkg/installed/x64-windows-release/bin/zlib1.dll release/; if (!$?) { exit 1 }
cp -v c:/vcpkg/installed/x64-windows-release/bin/libcrypto*.dll release/; if (!$?) { exit 1 }
cp -v c:/vcpkg/installed/x64-windows-release/bin/libssl*.dll release/; if (!$?) { exit 1 }
cp -v c:/msys64/mingw64/bin/libenchant-2.dll release/; if (!$?) { exit 1 }
cp -v c:/msys64/mingw64/bin/libpcre2-*.dll release/; if (!$?) { exit 1 }
cp -v c:/msys64/mingw64/bin/libglib-2.0-0.dll release/; if (!$?) { exit 1 }
cp -v c:/msys64/mingw64/bin/libgmodule-2.0-0.dll release/; if (!$?) { exit 1 }
cp -v c:/msys64/mingw64/bin/libintl-8.dll release/; if (!$?) { exit 1 }
cp -v c:/msys64/mingw64/bin/libwinpthread-1.dll release/; if (!$?) { exit 1 }
cp -v c:/msys64/mingw64/bin/libiconv-2.dll release/; if (!$?) { exit 1 }
cp -v c:/msys64/mingw64/bin/libgcc_s_seh-1.dll release/; if (!$?) { exit 1 }
cp -v c:/msys64/mingw64/bin/libstdc++-6.dll release/; if (!$?) { exit 1 }
cp -v c:/msys64/mingw64/bin/libhunspell-1.7-0.dll release/; if (!$?) { exit 1 }
mkdir -p release/lib/enchant-2/ release/share/enchant/ release/share/hunspell/; if (!$?) { exit 1 }
touch release/share/locale; if (!$?) { exit 1 }
cp -v c:/msys64/mingw64/share/enchant/enchant.ordering release/share/enchant/; if (!$?) { exit 1 }
cp -v c:/msys64/mingw64/lib/enchant-2/enchant_hunspell.dll release/lib/enchant-2/; if (!$?) { exit 1 }
cd '${{github.workspace}}\build'
copy c:\vcpkg\installed\x64-windows-releasebin\zlib1.dll release; if (!$?) { exit 1 }
copy c:\vcpkg\installed\x64-windows-releasebin\libcrypto*.dll release; if (!$?) { exit 1 }
copy c:\vcpkg\installed\x64-windows-releasebin\libssl*.dll release; if (!$?) { exit 1 }
copy c:\msys64\mingw64\bin\libenchant-2.dll release; if (!$?) { exit 1 }
copy c:\msys64\mingw64\bin\libpcre2-*.dll release; if (!$?) { exit 1 }
copy c:\msys64\mingw64\bin\libglib-2.0-0.dll release; if (!$?) { exit 1 }
copy c:\msys64\mingw64\bin\libgmodule-2.0-0.dll release; if (!$?) { exit 1 }
copy c:\msys64\mingw64\bin\libintl-8.dll release; if (!$?) { exit 1 }
copy c:\msys64\mingw64\bin\libwinpthread-1.dll release; if (!$?) { exit 1 }
copy c:\msys64\mingw64\bin\libiconv-2.dll release; if (!$?) { exit 1 }
copy c:\msys64\mingw64\bin\libgcc_s_seh-1.dll release; if (!$?) { exit 1 }
copy c:\msys64\mingw64\bin\libstdc++-6.dll release; if (!$?) { exit 1 }
copy c:\msys64\mingw64\bin\libhunspell-1.7-0.dll release; if (!$?) { exit 1 }
mkdir release\lib
mkdir release\share
mkdir release\lib\enchant-2
mkdir release\share\enchant
mkdir release\share\hunspell
touch release\share\locale; if (!$?) { exit 1 }
copy c:\msys64\mingw64\share\enchant\enchant.ordering release\share\enchant\; if (!$?) { exit 1 }
copy c:\msys64\mingw64\lib\enchant-2\enchant_hunspell.dll release\lib\enchant-2\; if (!$?) { exit 1 }
- name: Deploy dictionaries
run: |
Expand Down

0 comments on commit e650703

Please sign in to comment.