.gitlab-ci.yml 598 Bytes
Newer Older
Markus Frosch's avatar
Markus Frosch committed
1
2
3
4
5
stages:
  - build

variables:
  #BITS: 32 or 64
Markus Frosch's avatar
Markus Frosch committed
6
7
8
9
  # for more vars see build.ps1
  #CMAKE_BUILD_TYPE: RelWithDebInfo
  CMAKE_BUILD_TYPE: Debug
  UPSTREAM_GIT_BRANCH: tools/windows
Markus Frosch's avatar
Markus Frosch committed
10
11
12
13

.build: &build
  stage: build
  tags:
Markus Frosch's avatar
Markus Frosch committed
14
    - windows
Markus Frosch's avatar
Markus Frosch committed
15
  script:
Markus Frosch's avatar
Markus Frosch committed
16
17
    - powershell.exe .\source.ps1
    - powershell.exe .\build.ps1
Markus Frosch's avatar
Markus Frosch committed
18
19
20
  cache:
    key: "${CI_COMMIT_REF_NAME}-${CI_JOB_NAME}"
    paths:
Markus Frosch's avatar
Markus Frosch committed
21
22
23
24
25
26
      - icinga2\
  artifacts:
    paths:
      - icinga2\Build\Icinga*.msi
      - icinga2\Build\*.nupkg
    expire_in: 1 week
Markus Frosch's avatar
Markus Frosch committed
27
28
29
30
31
32
33
34
35
36

Win32:
  <<: *build
  variables:
    BITS: 32

Win64:
  <<: *build
  variables:
    BITS: 64