.gitlab-ci.yml 792 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 -y xz-utils package-deb libcurl4-openssl-dev
9
        - git submodule update --init --recursive
Drew's avatar
Drew committed
10
        - bootstrap/build.sh linux
Drew's avatar
Drew committed
11
        - bin/atbuild check
Drew's avatar
Drew committed
12
    tags:
Drew's avatar
Drew committed
13
        - autoscale-linux
Drew's avatar
Drew committed
14 15
    artifacts:
        paths:
Drew's avatar
Drew committed
16
            - bin/atbuild-*.tar.xz
Drew's avatar
Drew committed
17
            - bin/*.deb
Drew's avatar
Drew committed
18
    image: drewcrawford/buildbase:latest
Drew's avatar
Drew committed
19

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