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
akitsu-sanae
termion
Commits
5c584dbe
Commit
5c584dbe
authored
6 years ago
by
Michael Aaron Murphy
Browse files
Options
Downloads
Patches
Plain Diff
Attempt to fix GitLab CI
parent
96b1196f
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+26
-8
26 additions, 8 deletions
.gitlab-ci.yml
with
26 additions
and
8 deletions
.gitlab-ci.yml
+
26
−
8
View file @
5c584dbe
before_script
:
-
apt-get update -qq
-
apt-get install -qq build-essential curl git
-
curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain
nightly
-
curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain
stable
-
source "$HOME/.cargo/env"
-
rustup toolchain add stable
-
rustup toolchain add beta
build
:
build
_stable
:
script
:
-
cargo build --verbose
-
cargo
+stable
build --verbose
test
:
test
_stable
:
script
:
-
cargo test --verbose
-
cargo test --release --verbose
\ No newline at end of file
-
bash -c "cargo test --verbose"
-
bash -c "cargo test --release --verbose"
build_beta
:
script
:
-
rustup toolchain add beta
-
cargo +beta build --verbose
test_beta
:
script
:
-
bash -c "cargo +beta test --verbose"
-
bash -c "cargo +beta test --release --verbose"
build_nightly
:
script
:
-
rustup toolchain add nightly
-
cargo +nightly build --verbose
test_nightly
:
script
:
-
bash -c "cargo +nightly test --verbose"
-
bash -c "cargo +nightly test --release --verbose"
\ No newline at end of file
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