Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
.gitlab-ci.yml 862 B
Newer Older
image: robertcnelson/debian-bookworm-slim-ti-linux-kernel-dev:latest
Robert Nelson's avatar
Robert Nelson committed
  key: "$CI_PROJECT_NAME-am33x-v6.5"
  tags:
    - docker-amd64
  stage: build
  script:
    - . version.sh && echo $BRANCH
    - mkdir -p /root/.cache/ccache/ || true
    - ccache -s
    - tar -xf ccache.tar.gz -C / || true
    - ccache -s
    - cp -v system.sh.sample system.sh
    - echo "AUTO_BUILD=1" >> system.sh
    - echo "LINUX_GIT=/mnt/yocto-cache/git/linux-src/" >> system.sh
    - git config --global --add safe.directory /mnt/yocto-cache/git/linux-src
    - ./build_deb.sh
    - du -sh deploy/linux-image-*.deb || true
    - ccache -s
    - tar -cf ccache.tar.gz /root/.cache/ccache/
  artifacts:
    expire_in: 28 days
Robert Nelson's avatar
Robert Nelson committed
    name: "$CI_PROJECT_NAME-am33x-v6.5-$CI_JOB_ID"
    paths:
      - "deploy/linux-image-*.deb"