.gitlab-ci.yml 1.23 KB
Newer Older
Mart Lubbers's avatar
Mart Lubbers committed
1 2
linux:
    image: gcc:latest
Mart Lubbers's avatar
Mart Lubbers committed
3
    script:
Mart Lubbers's avatar
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
        - tar czf ../CleanSerial-linux-x64.tar.gz CleanSerial
Mart Lubbers's avatar
Mart Lubbers committed
9 10
    artifacts:
        paths:
Mart Lubbers's avatar
Mart Lubbers committed
11
            - ./*.tar.gz
Mart Lubbers's avatar
Mart Lubbers committed
12 13 14 15 16 17 18 19 20
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
Mart Lubbers's avatar
Mart Lubbers committed
21
        - zip -rv ../CleanSerial-windows-x86.zip CleanSerial
Mart Lubbers's avatar
Mart Lubbers committed
22 23
    artifacts:
        paths:
Mart Lubbers's avatar
Mart Lubbers committed
24
            - ./*.zip
Mart Lubbers's avatar
Mart Lubbers committed
25 26 27 28 29 30 31 32 33
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
Mart Lubbers's avatar
Mart Lubbers committed
34
        - zip -rv ../CleanSerial-windows-x64.zip CleanSerial
Mart Lubbers's avatar
Mart Lubbers committed
35 36
    artifacts:
        paths:
Mart Lubbers's avatar
Mart Lubbers committed
37
            - ./*.zip