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

Drew's avatar
Drew committed
5 6
osxxcode:
    stage: test
Drew's avatar
Drew committed
7
    script:
Drew's avatar
Drew committed
8
      - atpm fetch
Drew's avatar
Drew committed
9 10 11 12
      - atbuild coretest-gen
      - atbuild coretest --toolchain xcode

    tags:
Drew's avatar
Drew committed
13
      - xcode7
Drew's avatar
Drew committed
14 15
      - openswift
      - atbuild
Drew's avatar
Drew committed
16
      - atpm
Drew's avatar
Drew committed
17

Drew's avatar
Drew committed
18 19 20 21 22
documentation:
  stage: package
  script:
    - cd docs
    - make html
23
    - make dashdoc
Drew's avatar
Drew committed
24 25 26 27 28
  tags:
    - autoscale-linux

  artifacts:
    paths:
29 30
      - docs/_build/html
      - docs/_build/Caroline.docset
Drew's avatar
Drew committed
31 32 33

  image: drewcrawford/anarchy-sphinx:latest

Drew's avatar
Drew committed
34
osxcorepackage:
Drew's avatar
Drew committed
35 36
    stage: package
    script:
Drew's avatar
Drew committed
37
      - atpm fetch
Drew's avatar
Drew committed
38
      - atbuild core-framework --toolchain xcode --configuration release
Drew's avatar
Drew committed
39 40
      
    tags:
Drew's avatar
Drew committed
41
      - xcode7
Drew's avatar
Drew committed
42 43
      - openswift
      - atbuild
Drew's avatar
Drew committed
44
      - package-framework
Drew's avatar
Drew committed
45
      - atpm
Drew's avatar
Drew committed
46 47

    artifacts:
Drew's avatar
Drew committed
48
      paths:
Drew's avatar
Drew committed
49
        - bin/CarolineCore*.tar.xz
Drew's avatar
Drew committed
50

51 52 53
osxtoolpackage:
    stage: package
    script:
Drew's avatar
Drew committed
54
      - atpm fetch
55 56 57
      - atbuild package-statictool --configuration release
      
    tags:
Drew's avatar
Drew committed
58
      - xcodeselect8
59 60 61
      - openswift
      - atbuild
      - package-homebrew
Drew's avatar
Drew committed
62
      - atpm
63 64 65 66 67 68

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

Drew's avatar
Drew committed
69
ioscorepackage:
Drew's avatar
Drew committed
70 71
    stage: package
    script:
Drew's avatar
Drew committed
72
      - atpm fetch
Drew's avatar
Drew committed
73
      - atbuild core-framework --toolchain xcode --platform ios --configuration release
Drew's avatar
Drew committed
74 75
      
    tags:
Drew's avatar
Drew committed
76 77 78 79 80
      - xcode7
      - openswift
      - atbuild
      - package-framework
      - atpm
Drew's avatar
Drew committed
81 82 83

    artifacts:
      paths:
Drew's avatar
Drew committed
84
        - bin/CarolineCore*.tar.xz
Drew's avatar
Drew committed
85

Drew's avatar
Drew committed
86
ios23corepackage:
Drew's avatar
Drew committed
87 88
    stage: package
    script:
Drew's avatar
Drew committed
89
      - atpm fetch
Drew's avatar
Drew committed
90
      - atbuild core-framework --toolchain /Applications/Xcode8.app/Contents/Developer/Toolchains/Swift_2.3.xctoolchain --platform ios --configuration release
Drew's avatar
Drew committed
91 92
      
    tags:
Drew's avatar
Drew committed
93
      - xcode8symlink
Drew's avatar
Drew committed
94 95
      - openswift
      - atbuild
Drew's avatar
Drew committed
96
      - package-framework
Drew's avatar
Drew committed
97
      - atpm
Drew's avatar
Drew committed
98

Drew's avatar
Drew committed
99
    artifacts:
Drew's avatar
Drew committed
100
      paths:
Drew's avatar
Drew committed
101
        - bin/CarolineCore*.tar.xz