.gitlab-ci.yml 1.06 KB
Newer Older
Mart Lubbers's avatar
ci  
Mart Lubbers committed
1 2
linux:
    image: gcc:latest
Mart Lubbers's avatar
Mart Lubbers committed
3
    script:
Mart Lubbers's avatar
ci  
Mart Lubbers committed
4 5 6 7
        - cd src
        - make
        - mkdir CleanSerial
        - mv -v "Clean System Files" {TTY,iTasksTTY}.[id]cl POSIX/Platform.[id]cl CleanSerial
Mart Lubbers's avatar
Mart Lubbers committed
8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
        - tar cfz CleanSerial-linux-x64.tar.gz CleanSerial
windows-x86:
    image: debian:latest
    script:
        - apt-get update -qq
        - apt-get install -yy build-essential gcc-mingw-w64 zip
        - cd src
        - make DETECTED_OS=Windows CC=x86_64-w64-mingw32-gcc-win32 CFLAGS=-m32
        - mkdir CleanSerial
        - mv -v "Clean System Files" {TTY,iTasksTTY}.[id]cl Windows/Platform.[id]cl CleanSerial
        - zip -rv CleanSerial-windows-x86.zip CleanSerial
windows-x64:
    image: debian:latest
    script:
        - apt-get update -qq
        - apt-get install -yy build-essential gcc-mingw-w64 zip
        - cd src
        - make DETECTED_OS=Windows CC=x86_64-w64-mingw32-gcc CFLAGS=-m64
        - mkdir CleanSerial
        - mv -v "Clean System Files" {TTY,iTasksTTY}.[id]cl Windows/Platform.[id]cl CleanSerial
        - zip -rv CleanSerial-windows-x64.zip CleanSerial