Commit 594421c5 authored by Romain Casati's avatar Romain Casati

Pass artifacts from build to test in gitlab-ci.

parent 387cc2a4
Pipeline #385062 failed with stages
in 2 minutes and 36 seconds
image: debian:buster
stages:
- build
- test
- build
- test
kernel-build:
stage: build
script:
- apt-get update && apt-get install -y make git build-essential llvm nodejs python3-pip python3-pytest
- git clone --depth 1 https://github.com/emscripten-core/emsdk.git
- cd emsdk && ./emsdk install --build=Release 1.38.44-fastcomp ; cd -
- ln -s ../emsdk/fastcomp/emscripten/ extern/emscripten
- make build install
build:
stage: build
script:
- apt-get update && apt-get install -y make git build-essential llvm nodejs python3-pip
- git clone --depth 1 https://github.com/emscripten-core/emsdk.git
- cd emsdk && ./emsdk install --build=Release 1.38.44-fastcomp ; cd -
- ln -s ../emsdk/fastcomp/emscripten/ extern/emscripten
- make build install
artifacts:
untracked: true
pytest:
test:
stage: test
script:
- apt-get install -y python3-pytest
- apt-get update && apt-get install -y python3-pytest
- pytest --junitxml=test_report.xml tests/
artifacts:
when: always
reports:
junit: test_report.xml
dependencies:
- build
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