diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d4433fea2076264a0b0dcd9950371afe705c0bfd..d11387f29e0976b2c72c247e9da7031b267bed7c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,3 +1,10 @@ +variables: + FLASHDEPS: python3 + python3-coloredlogs + python3-jenkins + python3-requests + python3-tqdm + python3-yaml .tags: &tags tags: @@ -31,3 +38,16 @@ build:deb: artifacts: paths: - '*.deb' + +test:download: + <<: *tags + stage: test + before_script: + - export DEBIAN_FRONTEND=noninteractive + - apt-get -y update + - apt-get -y install $FLASHDEPS + script: + - scripts/librem5-devkit-flash-image --skip-flash --skip-cleanup --dir=download/ + - ls -l download/devkit.img download/flash_devkit.lst download/u-boot-devkit-recovery.imx + - rm -rf download +