.gitlab-ci.yml 998 Bytes
Newer Older
1 2 3
stages:
- build

Drew's avatar
Drew committed
4 5 6
linux:
    stage: build
    script:
Drew's avatar
Drew committed
7
        - apt-get update
8
        - apt-get install --no-install-recommends xz-utils curl git ca-certificates -y
Drew's avatar
Drew committed
9
        - apt-get install curl -y && curl -s https://packagecloud.io/install/repositories/anarchytools/AT/script.deb.sh | bash && apt-get install --no-install-recommends -y package-deb xz-utils
10
        - git submodule update --init --recursive
Drew's avatar
Drew committed
11
        - bootstrap/build.sh linux
Drew's avatar
Drew committed
12
        - bin/atbuild check
Drew's avatar
Drew committed
13
    tags:
Drew's avatar
Drew committed
14
        - autoscale-linux
Drew's avatar
Drew committed
15 16
    artifacts:
        paths:
Drew's avatar
Drew committed
17
            - bin/atbuild-*.tar.xz
Drew's avatar
Drew committed
18
            - bin/*.deb
19
    image: drewcrawford/swift:latest
Drew's avatar
Drew committed
20

21 22 23
osx:
    stage: build
    script: 
24
        - git submodule update --init --recursive
25
        - export PATH=/Library/Developer/Toolchains/swift-latest.xctoolchain/usr/bin:"${PATH}"
26
        - ./bootstrap/build.sh
27
        - bin/atbuild check
28 29 30 31
    tags:
        - openswift
    artifacts:
        paths:
Drew's avatar
Drew committed
32 33
            - bin/atbuild-*.tar.xz
            - bin/atbuild.rb