Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Ğ
Ğcli-v2s
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
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
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
clients
Rust
Ğcli-v2s
Merge requests
!6
add gitlab ci
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
add gitlab ci
hugo-gitlab-ci
into
master
Overview
1
Commits
4
Pipelines
0
Changes
2
Merged
Hugo Trentesaux
requested to merge
hugo-gitlab-ci
into
master
2 years ago
Overview
1
Commits
4
Pipelines
0
Changes
2
Expand
Trying to add GitLab CI in order to release gcli binaries, but apparently the cache does not work.
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
c1ef3843
4 commits,
2 years ago
2 files
+
30
−
0
Side-by-side
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
.gitlab-ci.yml
0 → 100644
+
28
−
0
Options
# Official language image. Look for the different tagged releases at:
# https://hub.docker.com/r/library/rust/tags/
image
:
"
rust:latest"
stages
:
-
build
build
:
stage
:
build
# image used for this build
image
:
rust
# build script
script
:
-
cargo build --release
# output file
artifacts
:
paths
:
-
target/release/gcli
# use cache to avoid re-downloading and re-building all dependencies
cache
:
-
key
:
files
:
-
Cargo.lock
paths
:
-
target/release
# only build gcli when adding a tag
only
:
-
tags
\ No newline at end of file
Loading