.gitlab-ci.yml 1.14 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 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
osxxcode:
    stage: test
      - atbuild coretest-gen
      - atbuild coretest --toolchain xcode

    tags:
      - xc7
      - openswift
      - atbuild

linux:
    stage: test
      - 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
34

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

    artifacts:
Drew's avatar
Drew committed
47 48
      paths:
        - bin/CarolineCore.framework
Drew's avatar
Drew committed
49

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

Drew's avatar
Drew committed
61
    artifacts:
Drew's avatar
Drew committed
62 63
      paths:
        - bin/CarolineCore.framework