Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
rust-secp256k1
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Contributor analytics
CI/CD analytics
Repository analytics
Insights
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
parity
rust-secp256k1
Commits
72c93ab5
Unverified
Commit
72c93ab5
authored
5 years ago
by
gabriel klawitter
Committed by
GitHub
5 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #20 from paritytech/ci-add-gitlab
ci: add .gitlab-ci.yml
parents
20d11b0a
5fbb1fcf
Branches
Branches containing commit
Tags
0.15.3
Tags containing commit
No related merge requests found
Pipeline
#51894
passed with stages
in 1 minute and 15 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+78
-0
78 additions, 0 deletions
.gitlab-ci.yml
with
78 additions
and
0 deletions
.gitlab-ci.yml
0 → 100644
+
78
−
0
View file @
72c93ab5
# .gitlab-ci.yml
# rust-secp256k1
stages
:
-
test
-
build
image
:
parity/rust-builder:latest
variables
:
GIT_STRATEGY
:
fetch
CARGO_HOME
:
"
/ci-cache/${CI_PROJECT_NAME}/cargo/${CI_JOB_NAME}"
SCCACHE_DIR
:
"
/ci-cache/${CI_PROJECT_NAME}/sccache"
CI_SERVER_NAME
:
"
GitLab
CI"
DOCKER_OS
:
"
debian:stretch"
ARCH
:
"
x86_64"
.docker-env
:
&docker-env
tags
:
-
linux-docker
.compiler_info
:
&compiler_info
before_script
:
-
rustup show
-
cargo --version
-
sccache -s
.build-refs
:
&build-refs
only
:
-
master
-
schedules
-
web
-
/^v[0-9]+\.[0-9]+.*$/
# i.e. v1.0, v2.1rc1
.test-refs
:
&test-refs
only
:
-
master
-
schedules
-
web
-
/^v[0-9]+\.[0-9]+.*$/
# i.e. v1.0, v2.1rc1
-
/^[0-9]+$/
test-linux-stable
:
&test
stage
:
test
<<
:
*test-refs
<<
:
*docker-env
<<
:
*compiler_info
variables
:
RUST_TOOLCHAIN
:
stable
RUSTFLAGS
:
-Cdebug-assertions=y
TARGET
:
native
script
:
-
time cargo test --all --release --verbose
-
sccache -s
build-linux-release
:
&build
stage
:
build
<<
:
*build-refs
<<
:
*docker-env
<<
:
*compiler_info
script
:
-
time cargo build --release --verbose
-
sccache -s
This diff is collapsed.
Click to expand it.
Preview
0%
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