Commit f34b3f36 authored by Mart Lubbers's avatar Mart Lubbers

fix ci for windows

parent 2d98e76e
...@@ -5,15 +5,16 @@ trap "rm -rf CleanSerial" EXIT ...@@ -5,15 +5,16 @@ trap "rm -rf CleanSerial" EXIT
mkpkg() { mkpkg() {
rm -rf CleanSerial rm -rf CleanSerial
mkdir -p CleanSerial mkdir -p CleanSerial
make $1 -C src clean all make -B $1 -C src clean all
cp -Rv src/"Clean System Files" CleanSerial cp -Rv src/"Clean System Files" CleanSerial
cp -v src/{TTY,iTasksTTY}.[id]cl src/$2/Platform.[id]cl CleanSerial cp -v src/{TTY,iTasksTTY}.[id]cl src/$2/Platform.[id]cl CleanSerial
file CleanSerial/*/*.o
$3 CleanSerial-$4 CleanSerial $3 CleanSerial-$4 CleanSerial
} }
#linux #linux
mkpkg "" POSIX "tar -czvf" linux64.tar.gz mkpkg "" POSIX "tar -czvf" linux64.tar.gz
#windows64 #windows64
mkpkg "DETECTED_OS=Windows CC=x86_64-w64-mingw32-gcc" Windows "zip -rv" win64.zip mkpkg "DETECTED_OS=Windows CC=x86_64-w64-mingw32-gcc CFLAGS=-m64" Windows "zip -rv" win64.zip
#windows32 #windows32
mkpkg "DETECTED_OS=Windows CC=x86_64-w64-mingw32-gcc-win32" Windows "zip -rv" win32.zip mkpkg "DETECTED_OS=Windows CC=x86_64-w64-mingw32-gcc-win32 CFLAGS=-m32" Windows "zip -rv" win32.zip
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment