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
8b88bf1a
Verified
Commit
8b88bf1a
authored
5 years ago
by
gabriel klawitter
Browse files
Options
Downloads
Patches
Plain Diff
ci: add .gitlab-ci.yml
parent
a96ad75a
No related merge requests found
Pipeline
#51866
failed with stage
in 36 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+87
-0
87 additions, 0 deletions
.gitlab-ci.yml
with
87 additions
and
0 deletions
.gitlab-ci.yml
0 → 100644
+
87
−
0
View file @
8b88bf1a
# .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"
.collect-artifacts
:
&collect-artifacts
artifacts
:
name
:
"
${CI_JOB_NAME}_${CI_COMMIT_REF_NAME}"
when
:
on_success
expire_in
:
7 days
paths
:
-
artifacts/
.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 --locked
-
sccache -s
build-linux-release
:
&build
stage
:
build
<<
:
*build-refs
<<
:
*docker-env
<<
:
*compiler_info
<<
:
*collect-artifacts
script
:
-
time cargo build --release --verbose
-
mv ./target/release/libsecp256k1* ./artifacts/.
-
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