Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
OPOSSUM
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
phelix
rust
OPOSSUM
Commits
a9d26cd6
Commit
a9d26cd6
authored
1 year ago
by
Udo Eisenbarth
Browse files
Options
Downloads
Patches
Plain Diff
improve CI config
parent
849ba805
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Pipeline
#7342
passed with warnings
1 year ago
Stage: test
Stage: build
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+7
-6
7 additions, 6 deletions
.gitlab-ci.yml
with
7 additions
and
6 deletions
.gitlab-ci.yml
+
7
−
6
View file @
a9d26cd6
# Official language image. Look for the different tagged releases at:
# https://hub.docker.com/r/library/rust/tags/
image
:
"
rust:latest"
default
:
# Official language image. Look for the different tagged releases at:
# https://hub.docker.com/r/library/rust/tags/
image
:
"
rust:latest"
# Optional: Pick zero or more services to be used on all builds.
# Only needed when using a docker container to run your tests in.
...
...
@@ -19,7 +20,7 @@ image: "rust:latest"
stages
:
-
test
-
build
#
- deploy
-
deploy
# Build the main application (currently mostly useless)
build-main
:
...
...
@@ -48,7 +49,7 @@ test:cargo:
-
export HTTP_PROXY=lxproxy01.gsi.de:3128
-
export https_proxy=lxproxy01.gsi.de:3128
-
export http_proxy=lxproxy01.gsi.de:3128
-
rustc --version && cargo --version
# Print version info for debugging
-
rustc --version && cargo --version
# Print version info for debugging
-
cargo test --workspace
test:clippy
:
stage
:
test
...
...
@@ -58,7 +59,7 @@ test:clippy:
-
export https_proxy=lxproxy01.gsi.de:3128
-
export http_proxy=lxproxy01.gsi.de:3128
-
cargo clippy --workspace
allow_failure
:
true
allow_failure
:
true
# Optional: Use a third party library to generate gitlab junit reports
# test:junit-report:
# script:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment