.gitlab-ci.yml 2.11 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
    script:
Drew's avatar
Drew committed
8
      - atpm fetch
Drew's avatar
Drew committed
9 10 11
      - atbuild check
      
    tags:
Drew's avatar
Drew committed
12
      - xcode8
Drew's avatar
Drew committed
13 14
      - openswift
      - atbuild
Drew's avatar
Drew committed
15
      - atpm
Drew's avatar
Drew committed
16

Drew's avatar
Drew committed
17 18
osxxcode:
    stage: test
Drew's avatar
Drew committed
19
    script:
Drew's avatar
Drew committed
20
      - atpm fetch
Drew's avatar
Drew committed
21
      - atbuild coretest-gen
Drew's avatar
Drew committed
22
      - atbuild coretest --toolchain xcode-beta
Drew's avatar
Drew committed
23 24

    tags:
Drew's avatar
Drew committed
25
      - xcode8
Drew's avatar
Drew committed
26 27
      - openswift
      - atbuild
Drew's avatar
Drew committed
28
      - atpm
Drew's avatar
Drew committed
29 30 31

linux:
    stage: test
Drew's avatar
Drew committed
32
    script:
Drew's avatar
Drew committed
33
      - apt-get update
Drew's avatar
Drew committed
34 35
      - apt-get install atbuild atpm -y
      - atpm fetch
36
      - atbuild coretest
Drew's avatar
Drew committed
37 38 39

    tags:
      - autoscale-linux
Drew's avatar
Drew committed
40
    image: drewcrawford/buildbase:latest
Drew's avatar
Drew committed
41

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

  artifacts:
    paths:
53 54
      - docs/_build/html
      - docs/_build/Caroline.docset
Drew's avatar
Drew committed
55 56 57

  image: drewcrawford/anarchy-sphinx:latest

Drew's avatar
Drew committed
58
osxcorepackage:
Drew's avatar
Drew committed
59 60
    stage: package
    script:
Drew's avatar
Drew committed
61
      - atpm fetch
Drew's avatar
Drew committed
62
      - atbuild core-framework --toolchain xcode-beta --configuration release
Drew's avatar
Drew committed
63 64
      
    tags:
Drew's avatar
Drew committed
65
      - xcode8
Drew's avatar
Drew committed
66 67
      - openswift
      - atbuild
Drew's avatar
Drew committed
68
      - package-framework
Drew's avatar
Drew committed
69
      - atpm
Drew's avatar
Drew committed
70 71

    artifacts:
Drew's avatar
Drew committed
72
      paths:
Drew's avatar
Drew committed
73
        - bin/CarolineCore*.tar.xz
Drew's avatar
Drew committed
74

75 76 77
osxtoolpackage:
    stage: package
    script:
Drew's avatar
Drew committed
78
      - atpm fetch
79 80 81
      - atbuild package-statictool --configuration release
      
    tags:
Drew's avatar
Drew committed
82
      - xcode8
83 84 85
      - openswift
      - atbuild
      - package-homebrew
Drew's avatar
Drew committed
86
      - atpm
87 88 89 90 91 92

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

Drew's avatar
Drew committed
93 94 95
linuxtoolpackage:
    stage: package
    script:
Drew's avatar
Drew committed
96
      - apt-get update
Drew's avatar
Drew committed
97 98
      - apt-get install atbuild atpm package-deb -y
      - atpm fetch
Drew's avatar
Drew committed
99 100 101 102 103 104 105 106 107 108
      - atbuild package-statictool --configuration release
      
    tags:
      - autoscale-linux

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

Drew's avatar
Drew committed
109
    image: drewcrawford/buildbase:latest
Drew's avatar
Drew committed
110

Drew's avatar
Drew committed
111
ioscorepackage:
Drew's avatar
Drew committed
112 113
    stage: package
    script:
Drew's avatar
Drew committed
114
      - atpm fetch
Drew's avatar
Drew committed
115
      - atbuild core-framework --toolchain xcode-beta --platform ios --configuration release
Drew's avatar
Drew committed
116 117
      
    tags:
Drew's avatar
Drew committed
118
      - xcode8
Drew's avatar
Drew committed
119 120
      - openswift
      - atbuild
Drew's avatar
Drew committed
121
      - package-framework
Drew's avatar
Drew committed
122
      - atpm
Drew's avatar
Drew committed
123

Drew's avatar
Drew committed
124
    artifacts:
Drew's avatar
Drew committed
125
      paths:
Drew's avatar
Drew committed
126
        - bin/CarolineCore*.tar.xz