.gitlab-ci.yml 764 Bytes
Newer Older
Guido Günther's avatar
Guido Günther committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
variables:
  DEPS: >
    build-essential gcc-aarch64-linux-gnu make device-tree-compiler
    bison flex bc libssl-dev

before_script:
  - export DEBIAN_FRONTEND=noninteractive
  - apt-get -y update
  - apt-get -y install $DEPS

.tags: &tags
  tags:
    - librem5

build:aarch64:
  <<: *tags
  stage: build
  variables:
    CROSS_BUILD: "ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu-"
  script:
    - cp arch/arm64/configs/librem5-evk_defconfig .config
    - make      ${CROSS_BUILD} olddefconfig
    - make -j 4 ${CROSS_BUILD} Image dtbs modules
    - make -j 4 ${CROSS_BUILD} INSTALL_MOD_PATH=modules/ modules_install
  artifacts:
    paths:
      - arch/arm64/boot/Image
      - arch/arm64/boot/dts/freescale/librem5-evk.dtb
      - modules/
    expire_in: 1 week