Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Romain Casati
Basthon Kernel
Commits
594421c5
Commit
594421c5
authored
Feb 01, 2021
by
Romain Casati
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Pass artifacts from build to test in gitlab-ci.
parent
387cc2a4
Pipeline
#385062
failed with stages
in 2 minutes and 36 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
12 deletions
+16
-12
.gitlab-ci.yml
.gitlab-ci.yml
+16
-12
No files found.
.gitlab-ci.yml
View file @
594421c5
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
py
test
:
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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment