Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
mqttnc
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
clonejo
mqttnc
Commits
1d1f5d8a
There was a problem fetching the pipeline summary.
Commit
1d1f5d8a
authored
7 years ago
by
clonejo
Browse files
Options
Downloads
Patches
Plain Diff
build release binary with gitlab ci
parent
6c5f6f80
Branches
release
Branches containing commit
Tags
v0.2.1
No related merge requests found
Pipeline
#
Changes
1
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+33
-9
33 additions, 9 deletions
.gitlab-ci.yml
with
33 additions
and
9 deletions
.gitlab-ci.yml
+
33
−
9
View file @
1d1f5d8a
image
:
gcc
image
:
rust
stages
:
-
build
-
test
-
release
job
:
stage
:
build
before_script
:
-
uname -a
-
DEBIAN_FRONTEND=noninteractive apt-get update -y
-
DEBIAN_FRONTEND=noninteractive apt-get install -y curl mktemp build-essential
test
:
stage
:
test
script
:
-
RUST_BACKTRACE=1 cargo test --release
except
:
-
tags
-
release
cache
:
paths
:
-
target
release
:
stage
:
release
script
:
-
uname -a
-
DEBIAN_FRONTEND=noninteractive apt-get update -y
-
DEBIAN_FRONTEND=noninteractive apt-get install -y coreutils curl mktemp file tar sed sudo build-essential
-
curl -sSf https://static.rust-lang.org/rustup.sh | sh
-
cargo build --release
\ No newline at end of file
-
cargo build --release
-
mv target/release/mqttnc .
only
:
-
tags
-
release
cache
:
paths
:
-
target
artifacts
:
name
:
"
mqttnc-${CI_COMMIT_REF_NAME}"
paths
:
-
mqttnc
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