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
Commits
95c0c674
Commit
95c0c674
authored
1 year ago
by
Hugo Trentesaux
Browse files
Options
Downloads
Patches
Plain Diff
Update file .gitlab-ci.yml
parent
f7237d69
No related branches found
No related tags found
1 merge request
!6
add gitlab ci
Pipeline
#32211
failed
1 year ago
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+15
-8
15 additions, 8 deletions
.gitlab-ci.yml
with
15 additions
and
8 deletions
.gitlab-ci.yml
+
15
−
8
View file @
95c0c674
# This file is adapted from GitLab template for Rust projects
# Official language image. Look for the different tagged releases at:
# https://hub.docker.com/r/library/rust/tags/
image
:
"
rust:latest"
# Optional: Install a C compiler, cmake and git into the container.
# You will often need this when you (or any of your dependencies) depends on C code.
# before_script:
# - apt-get update -yqq
# - apt-get install -yqq --no-install-recommends build-essential
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
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