.gitlab-ci.yml 1.17 KB
Newer Older
Drew's avatar
Drew committed
1
stages:
Drew's avatar
Drew committed
2
- test
Drew's avatar
Drew committed
3 4 5
- package

osx:
Drew's avatar
Drew committed
6
    stage: test
Drew's avatar
Drew committed
7 8 9 10 11 12 13
    script:
      - atbuild check
      
    tags:
      - xc7
      - openswift
      - atbuild
Drew's avatar
Drew committed
14

Drew's avatar
Drew committed
15 16
osxxcode:
    stage: test
Drew's avatar
Drew committed
17
    script:
Drew's avatar
Drew committed
18 19 20 21 22 23 24 25 26 27
      - atbuild coretest-gen
      - atbuild coretest --toolchain xcode

    tags:
      - xc7
      - openswift
      - atbuild

linux:
    stage: test
Drew's avatar
Drew committed
28
    script:
Drew's avatar
Drew committed
29 30 31 32 33 34 35 36
      - apt-get update && apt-get install --no-install-recommends curl ca-certificates git -y
      - curl -s -L https://packagecloud.io/install/repositories/anarchytools/AT/script.deb.sh  | bash
      - apt-get install atbuild -y
      - atbuild coretest --toolchain xcode

    tags:
      - autoscale-linux
    image: drewcrawford/swift:latest
Drew's avatar
Drew committed
37

Drew's avatar
Drew committed
38
osxcorepackage:
Drew's avatar
Drew committed
39 40
    stage: package
    script:
Drew's avatar
Drew committed
41
      - atbuild core-framework --toolchain xcode
Drew's avatar
Drew committed
42 43 44 45 46
      
    tags:
      - xc7
      - openswift
      - atbuild
Drew's avatar
Drew committed
47
      - package-framework
Drew's avatar
Drew committed
48 49

    artifacts:
Drew's avatar
Drew committed
50 51
      paths:
        - bin/CarolineCore.framework
Drew's avatar
Drew committed
52

Drew's avatar
Drew committed
53
ioscorepackage:
Drew's avatar
Drew committed
54 55
    stage: package
    script:
Drew's avatar
Drew committed
56
      - atbuild core-framework --toolchain xcode
Drew's avatar
Drew committed
57 58 59 60 61
      
    tags:
      - xc7
      - openswift
      - atbuild
Drew's avatar
Drew committed
62
      - package-framework
Drew's avatar
Drew committed
63

Drew's avatar
Drew committed
64
    artifacts:
Drew's avatar
Drew committed
65 66
      paths:
        - bin/CarolineCore.framework