Change github actions

This commit is contained in:
cyd01
2020-09-20 12:11:17 +02:00
parent 977da5f49c
commit 8612fa5ef2
+2
View File
@@ -2135,6 +2135,7 @@ clean:
cross:
sed -i 's#^typedef enum _WTS_VIRTUAL_CLASS #// typedef enum _WTS_VIRTUAL_CLASS #' window.c
cat version.txt|sed 's/\.//g'|sed 's/^/0.0.0./'
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
cat version.txt|sed 's/\.//g'|sed 's/^/0.0.0./'
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