.gitlab-ci.yml 1.88 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
      - apt-get update
Drew's avatar
Drew committed
30
      - apt-get install atbuild -y
31
      - atbuild coretest
Drew's avatar
Drew committed
32 33 34

    tags:
      - autoscale-linux
Drew's avatar
Drew committed
35
    image: drewcrawford/buildbase:latest
Drew's avatar
Drew committed
36

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

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

  image: drewcrawford/anarchy-sphinx:latest

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

    artifacts:
Drew's avatar
Drew committed
65
      paths:
Drew's avatar
Drew committed
66
        - bin/CarolineCore*.tar.xz
Drew's avatar
Drew committed
67

Drew's avatar
Drew committed
68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83
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
84 85 86
linuxtoolpackage:
    stage: package
    script:
Drew's avatar
Drew committed
87
      - apt-get update
Drew's avatar
Drew committed
88 89 90 91 92 93 94 95 96 97 98
      - apt-get install atbuild package-deb -y
      - atbuild package-statictool --configuration release
      
    tags:
      - autoscale-linux

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

Drew's avatar
Drew committed
99
    image: drewcrawford/buildbase:latest
Drew's avatar
Drew committed
100

Drew's avatar
Drew committed
101
ioscorepackage:
Drew's avatar
Drew committed
102 103
    stage: package
    script:
Drew's avatar
Drew committed
104
      - atbuild core-framework --toolchain xcode --platform ios --configuration release
Drew's avatar
Drew committed
105 106 107 108 109
      
    tags:
      - xc7
      - openswift
      - atbuild
Drew's avatar
Drew committed
110
      - package-framework
Drew's avatar
Drew committed
111

Drew's avatar
Drew committed
112
    artifacts:
Drew's avatar
Drew committed
113
      paths:
Drew's avatar
Drew committed
114
        - bin/CarolineCore*.tar.xz