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

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

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

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

  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 --configuration release
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
      paths:
Drew's avatar
Drew committed
65
        - bin/CarolineCore*.tar.xz
Drew's avatar
Drew committed
66

Drew's avatar
Drew committed
67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82
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
83 84 85 86 87 88 89 90 91 92 93 94 95 96
linuxtoolpackage:
    stage: package
    script:
      - 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
97
    image: drewcrawford/buildbase:latest
Drew's avatar
Drew committed
98

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

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