Commit c8b9fe16 authored by Adam Wujek's avatar Adam Wujek

CI: fix artifacts+more

--Store build log in a log file. Log size is ~32MB, log limit in gitlab is ~16MB.
--Add log file into artifact archive
--Fix adding wrs-firmware*.tar into artifacts
--Fix a name of artifacts archive to contain job ID
--Use all available cores on a build machine
parent df7f3cc6
......@@ -5,11 +5,13 @@ job_wrs_compile:
stage: wrs_sw_compile
script:
- cd ..
- wr-switch-sw/build/wrs_build-all
- echo "Using `grep -c ^processor /proc/cpuinfo` parallel jobs"
- MAKEFLAGS="-j `grep -c ^processor /proc/cpuinfo`" wr-switch-sw/build/wrs_build-all > ${CI_PROJECT_DIR}/log_${CI_JOB_ID}.txt
- cp *.tar ${CI_PROJECT_DIR}
artifacts:
name: WRS_SW_CI_$CI_JOB_ID
name: "wrs_sw_ci_${CI_JOB_ID}"
paths:
- ../*.tar
- log_${CI_JOB_ID}.txt
- ./*.tar
tags:
- wrs_sw
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment