Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
termion
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
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
redox-os
termion
Commits
377dca13
Commit
377dca13
authored
6 years ago
by
SamwiseFilmore
Committed by
Michael Aaron Murphy
6 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Reconfigure CI
parent
c25f4f3d
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+53
-12
53 additions, 12 deletions
.gitlab-ci.yml
with
53 additions
and
12 deletions
.gitlab-ci.yml
+
53
−
12
View file @
377dca13
image
:
"
rust:latest"
stages
:
-
build
-
test
before_script
:
before_script
:
-
apt-get update -qq
-
rustup toolchain add $toolchain
-
apt-get install -qq build-essential curl git
-
curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain stable
cache
:
-
source "$HOME/.cargo/env"
paths
:
-
target/
stable
:
build:stable
:
stage
:
build
variables
:
toolchain
:
stable
script
:
script
:
-
cargo +stable build --verbose
-
cargo +stable build --verbose
-
cargo +stable build --release --verbose
test:stable
:
stage
:
test
variables
:
toolchain
:
stable
dependencies
:
-
build:stable
script
:
-
script -q -c "cargo +stable test --verbose"
-
script -q -c "cargo +stable test --verbose"
-
script -q -c "cargo +stable test --release --verbose"
-
script -q -c "cargo +stable test --release --verbose"
beta
:
build:beta
:
stage
:
build
variables
:
toolchain
:
beta
script
:
script
:
-
rustup toolchain add beta
-
cargo +beta build --verbose
-
cargo +beta build --verbose
-
cargo +beta build --release --verbose
test:beta
:
stage
:
test
variables
:
toolchain
:
beta
dependencies
:
-
build:beta
script
:
-
script -q -c "cargo +beta test --verbose"
-
script -q -c "cargo +beta test --verbose"
-
script -q -c "cargo +beta test --release --verbose"
-
script -q -c "cargo +beta test --release --verbose"
nightly
:
build:nightly
:
stage
:
build
variables
:
toolchain
:
nightly
script
:
-
cargo +nightly build --verbose
-
cargo +nightly build --release --verbose
test:nightly
:
stage
:
test
variables
:
toolchain
:
nightly
dependencies
:
-
build:nightly
script
:
script
:
-
rustup toolchain add nightly
-
script -q -c "cargo +nightly test --verbose"
-
cargo +nightly build --verbose
-
script -q -c "cargo +nightly test --release --verbose"
-
script -q -c "cargo +nightly test --verbose"
\ No newline at end of file
-
script -q -c "cargo +nightly test --release --verbose"
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