Skip to content

Commit

Permalink
[ci] include vcomp140.dll in windows binary
Browse files Browse the repository at this point in the history
  • Loading branch information
fangq committed Nov 23, 2024
1 parent 2902119 commit e8907db
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build_all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ jobs:
## 7z x octave_5.2.7z -ooctave -y
## rm -rf octave_5.2.7z
#choco install octave.portable --version=5.2.0
ls 'C:\Windows\System32\vcomp140.dll'
choco install lazarus --version=2.2.6
choco install mingw --version=8.1.0
curl --retry 3 -kL https://github.com/upx/upx/releases/download/v4.0.2/upx-4.0.2-win64.zip --output upx.zip
Expand Down Expand Up @@ -190,7 +189,7 @@ jobs:
run: |
[[ -f mcxlab/mcx.mex ]] && mv mcxlab/mcx.mex mcxlab/octave/${{ env.OCTAVE_ARCH }}
if [[ "$RUNNER_OS" == "Windows" ]]; then
ls '/c/Windows/System32/vcomp1*.dll'
cp 'C:\Windows\System32\vcomp140.dll' mcxlab
upx/upx-4.0.2-win64/upx mcxlab/mcx.mex*
7z a -tzip packages/mcxlab-${{ env.RELEASE_TAG }}.zip mcxlab
else
Expand Down Expand Up @@ -223,6 +222,7 @@ jobs:
run: |
cd .. && pwd
if [[ "$RUNNER_OS" == "Windows" ]]; then
cp 'C:\Windows\System32\vcomp140.dll' mcx/bin
7z a -tzip mcx/packages/mcx-${{ env.RELEASE_TAG }}.zip mcx -xr!mcx/packages
else
zip -FSr --symlink mcx/packages/mcx-${{ env.RELEASE_TAG }}.zip mcx -x 'mcx/packages*'
Expand Down

0 comments on commit e8907db

Please sign in to comment.