.gitlab-ci.yml 1.66 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
documentation:
  stage: package
  script:
    - cd docs
    - make html
Drew's avatar
Drew committed
43
    - make dashdoc
Drew's avatar
Drew committed
44 45 46 47 48
  tags:
    - autoscale-linux

  artifacts:
    paths:
Drew's avatar
Drew committed
49 50
      - docs/_build/html
      - docs/_build/Caroline.docset
Drew's avatar
Drew committed
51 52 53

  image: drewcrawford/anarchy-sphinx:latest

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

    artifacts:
Drew's avatar
Drew committed
66 67
      paths:
        - bin/CarolineCore.framework
Drew's avatar
Drew committed
68

Drew's avatar
Drew committed
69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84
osxtoolpackage:
    stage: package
    script:
      - atbuild package-statictool --configuration release
      
    tags:
      - xc7
      - openswift
      - atbuild
      - package-homebrew

    artifacts:
      paths:
        - bin/*.tar.xz
        - bin/*.rb

Drew's avatar
Drew committed
85
ioscorepackage:
Drew's avatar
Drew committed
86 87
    stage: package
    script:
Drew's avatar
Drew committed
88
      - atbuild core-framework --toolchain xcode
Drew's avatar
Drew committed
89 90 91 92 93
      
    tags:
      - xc7
      - openswift
      - atbuild
Drew's avatar
Drew committed
94
      - package-framework
Drew's avatar
Drew committed
95

Drew's avatar
Drew committed
96
    artifacts:
Drew's avatar
Drew committed
97 98
      paths:
        - bin/CarolineCore.framework