Skip to content
Snippets Groups Projects
.gitlab-ci.yml 1.25 KiB
Newer Older
  - '/ci/container-build.yml'
  - project: 'sw/ked/docs/mkdocs-ked'
    ref: main
    file: '/ci/docs-build.yml'
stages:
  - build-container
  - build
# Build Yocto BSPs
.build-matrix: &build-matrix
  - PLATFORM: mx8mm
    YOCTO_SERIES: dunfell
  - PLATFORM: mx6ul
    YOCTO_SERIES: dunfell
  - PLATFORM: mp1
    YOCTO_SERIES: dunfell
  - PLATFORM: mx8mm
    YOCTO_SERIES: kirkstone
  - PLATFORM: mx6ul
    YOCTO_SERIES: kirkstone
  - PLATFORM: mp1
    YOCTO_SERIES: kirkstone
  extends: .yocto-build-template
  variables:
    KAS_CONFIG: "kas/ked-${PLATFORM}.yml:kas/series/${YOCTO_SERIES}.yml"
    - if: $HEAD_BUILD == "1"
      variables:
        KAS_CONFIG: "${KAS_CONFIG}:kas/dev/head-${YOCTO_SERIES}.yml"
# Build Container Image
.container-vars: &container-vars
  variables:
    CONTAINERFILE: Containerfile

container:build:
  extends: .build-container
  <<: *container-vars

container:build-deploy:
  extends: .build-deploy-container
  <<: *container-vars

# Build Documentation
docs:build:
  extends: .docs:build
  variables:
    DOCS_SUBDIR: docs

docs:trigger:
  extends: .docs:trigger
  variables:
    DOCS_SUBDIR: docs