.gitlab-ci.yml 499 Bytes
Newer Older
Yury Popov's avatar
Yury Popov committed
1 2
stages:
  - build
PhoeniX's avatar
PhoeniX committed
3
  - docs
Yury Popov's avatar
Yury Popov committed
4

PhoeniX's avatar
PhoeniX committed
5
build:
Yury Popov's avatar
Yury Popov committed
6
  stage: build
7 8
  cache:
    paths:
PhoeniX's avatar
PhoeniX committed
9
      - build/*-prefix
Yury Popov's avatar
Yury Popov committed
10
  script:
PhoeniX's avatar
PhoeniX committed
11 12 13 14
    - mkdir build
    - cd build
    - cmake ..
    - make all iso VERBOSE=1
PhoeniX's avatar
PhoeniX committed
15
  artifacts:
PhoeniX's avatar
PhoeniX committed
16
    name: "$CI_BUILD_REF_NAME"
PhoeniX's avatar
PhoeniX committed
17
    paths:
PhoeniX's avatar
PhoeniX committed
18 19
      - build/pxkrnl
      - build/phoenixos.iso
PhoeniX's avatar
PhoeniX committed
20 21 22 23 24 25 26 27 28 29 30 31 32 33

pages:
  stage: docs
  environment:
    name: production
    url: https://os.phoenix.dj
  script:
    - mkdocs build
  artifacts:
    paths:
      - public
    expire_in: 1h
  only:
    - master@phoenix/phoenix-os