Change github actions

This commit is contained in:
cyd01
2020-09-20 12:22:45 +02:00
parent 2e87a6dc2b
commit 1d13ae9175
2 changed files with 4 additions and 2 deletions
+2 -2
View File
@@ -38,7 +38,7 @@ jobs:
if: github.event_name != 'pull_request'
uses: actions/upload-artifact@v1
with:
name: kitty.zip
name: kitty
path: builds/
# Build for Win 64bits
@@ -62,5 +62,5 @@ jobs:
if: github.event_name != 'pull_request'
uses: actions/upload-artifact@v1
with:
name: kitty64.zip
name: kitty64
path: builds/
+2
View File
@@ -2135,6 +2135,7 @@ clean:
cross:
sed -i 's#^typedef enum _WTS_VIRTUAL_CLASS #// typedef enum _WTS_VIRTUAL_CLASS #' window.c
sed -i 's/0/999/' version_major.txt
make -e TOOLPATH=/usr/bin/i686-w64-mingw32- -f MAKEFILE.MINGW putty.exe plink.exe pscp.exe psftp.exe pageant.exe puttygen.exe
make -e TOOLPATH=/usr/bin/i686-w64-mingw32- -f MAKEFILE.MINGW portable
cp putty.exe putty_nocompress.exe
@@ -2151,6 +2152,7 @@ cross:
cross64:
sed -i 's#^typedef enum _WTS_VIRTUAL_CLASS #// typedef enum _WTS_VIRTUAL_CLASS #' window.c
sed -i 's/0/999/' version_major.txt
make -e TOOLPATH=/usr/bin/x86_64-w64-mingw32- -f MAKEFILE.MINGW putty.exe || /usr/bin/x86_64-w64-mingw32-gcc -o kitty64.exe *.o ../../base64/base64_64.a ../../bcrypt/bcrypt_64.a ../../blocnote/notepad_64.a ../../jpeg/libjpeg_64.a ../../md5/MD5check_64.a ../../mini/mini_64.a ../../regex/libregex_64.a -ladvapi32 -lcomdlg32 -lgdi32 -limm32 -lpsapi -lole32 -lshell32 -luser32 -lwsock32 -lwtsapi32 -mwindows
upx --best --compress-icons=2 --compress-exports=0 kitty64.exe
mv kitty64.exe /builds/kitty64.exe