Skip to content

Commit

Permalink
Add CI stage for cargo package
Browse files Browse the repository at this point in the history
  • Loading branch information
cmichi committed Mar 14, 2022
1 parent 7e449d1 commit f1f5cb2
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,16 @@ test-new-project-template:
- cargo fmt --verbose --all -- --check
- cargo clippy --verbose --manifest-path Cargo.toml -- -D warnings;

# `cargo package` is executed when doing `cargo publish`. So by testing
# it here we test that at least the `cargo package` step in the publishing
# process will work.
test-cargo-package:
stage: test
<<: *docker-env
script:
- cargo package


#### stage: build (default features)

build:
Expand Down

0 comments on commit f1f5cb2

Please sign in to comment.