.gitlab-ci.yml 1.34 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
      - 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
32
      - atbuild coretest
Drew's avatar
Drew committed
33 34 35 36

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

Drew's avatar
Drew committed
38 39 40 41 42 43 44 45 46 47 48 49 50 51
documentation:
  stage: package
  script:
    - cd docs
    - make html
  tags:
    - autoscale-linux

  artifacts:
    paths:
      - _build/html

  image: drewcrawford/anarchy-sphinx:latest

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

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

Drew's avatar
Drew committed
67
ioscorepackage:
Drew's avatar
Drew committed
68 69
    stage: package
    script:
Drew's avatar
Drew committed
70
      - atbuild core-framework --toolchain xcode
Drew's avatar
Drew committed
71 72 73 74 75
      
    tags:
      - xc7
      - openswift
      - atbuild
Drew's avatar
Drew committed
76
      - package-framework
Drew's avatar
Drew committed
77

Drew's avatar
Drew committed
78
    artifacts:
Drew's avatar
Drew committed
79 80
      paths:
        - bin/CarolineCore.framework