Skip to content
This repository has been archived by the owner on Jan 30, 2025. It is now read-only.

Commit

Permalink
Pack mono binary and DLLs in a zip
Browse files Browse the repository at this point in the history
  • Loading branch information
akien-mga committed Mar 1, 2018
1 parent 21a3530 commit 397967b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
5 changes: 3 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ env:
# - PLATFORM=osx BITS=64 TOOLS=no TARGET=release
# - PLATFORM=osx BITS=64 TOOLS=no TARGET=release_debug
# - PLATFORM=server BITS=64 TOOLS=yes TARGET=release_debug
- PLATFORM=x11 BITS=32 TOOLS=yes TARGET=release_debug
# - PLATFORM=x11 BITS=32 TOOLS=yes TARGET=release_debug
# - PLATFORM=x11 BITS=32 TOOLS=no TARGET=release
# - PLATFORM=x11 BITS=32 TOOLS=no TARGET=release_debug
- PLATFORM=x11 BITS=64 TOOLS=yes TARGET=release_debug
Expand Down Expand Up @@ -220,6 +220,7 @@ before_deploy:
- if [ "$PLATFORM" = "osx" ]; then
rm -rf bin/godot.osx.*.dSYM;
fi;
- zip -q -r -9 godot.$PLATFORM.$BITS.zip bin/*godot*.$PLATFORM.opt.* bin/*.dll


deploy:
Expand All @@ -228,7 +229,7 @@ deploy:
secure: tCFCHet6fgtf1+sgQEft4XTIfNH2JrqRx+YaatEfEEVNkHbY3SnRdtvcZeTeHc1LNpf6S0eU45RkBHeyN1Gna80Yiz8uep7rFuUTp5XtZsRfNecw/ebhPlyOEf3AhCVBJ3e3RxT2V1i/+8HyaWBisbXMZ1R+w07M3BxQrTpJflb7iSIXYTF//BxBtC1Atp7egDoU97OJfLSPEhPbjGhMoUuLTe7wmZqd7zK3DNTatL/pXefLN67N15dOra0LNgBHo1o6P4wcVBT2V+o9/TK5RAyUi5TqoudETgq2pBdAE558OuBbHh1dwDrs9b9ZbUC0mLautadiSbCkU0nLmYapaCKGr4+DpnZCxZYgzcYb5UPb6u6Rs3pY11JFtPYIXR2C1UJh4rpBIQa+F/eBKnw+QztnjfYWxJYq2T73CuFLgku89x99cVq7EiP0g/lZp64HxyENOcyL0FlWwjmq2vnr8BKNhDEVAXIUB1JsH8VshvndlgLhaRyRe+rkXnikLX8Nm6Z9V4pCjnRuCgiwZtYjxMTBhk30ZtXUg4uzCVmbvbUql8PPNrWDeq9yoUVe55kqU6DsxM1CEIou7Qcua2eeXcUkOGCgpXH4W0NXWBFo7Ze7FWHeKSHAcBeUrUpbiY75fcFdVjY/uUJaXQpem64Xm0O8GxK67CsBqAJahD1hxjc=
file_glob: true
file:
- bin/*godot*.$PLATFORM.opt.*
- godot.$PLATFORM.$BITS.zip
- bin/*gdnative_wrapper_code*.$PLATFORM.opt.*
skip_cleanup: true
on:
Expand Down
8 changes: 3 additions & 5 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,8 @@ image: Visual Studio 2017
skip_non_tags: true

artifacts:
- path: godot\bin\*.exe
- path: godot\godot.windows.*.zip
name: GodotBinary
- path: godot\bin\*.dll
name: GodotDLLs
- path: godot\bin\*gdnative_wrapper_code*.lib
name: GodotGDNativeWrapper

Expand Down Expand Up @@ -107,13 +105,13 @@ build_script:
- scons platform=%GD_PLATFORM% target=%TARGET% tools=%TOOLS% progress=no warnings=no verbose=no gdnative_wrapper=yes module_mono_enabled=yes

after_build:
- mv bin\mono-2.0-sgen.dll bin\mono-2.0-sgen_%ARCH%.dll
- 7z a godot.%GD_PLATFORM%.%ARCH%.7z bin/*godot*.exe bin/*.dll

deploy:
description: 'Godot binaries deployed by Travis CI and AppVeyor'
provider: GitHub
auth_token:
secure: DYTTAkQFPIDq2YL6hPMOttlHdJ9ZL6dYdOtGFIEneO8BTYx6keJRvewsdzgP2QGA
artifact: GodotBinary, GodotDLLs, GodotGDNativeWrapper
artifact: GodotBinary, GodotGDNativeWrapper
on:
appveyor_repo_tag: true

0 comments on commit 397967b

Please sign in to comment.