Skip to content
Snippets Groups Projects
Commit 30f91cc2 authored by Louis's avatar Louis :fire:
Browse files

Update .gitlab-ci.yml file

parent f40b391e
No related branches found
No related tags found
No related merge requests found
Pipeline #198 passed with stage
in 1 minute and 29 seconds
image: "rust:latest"
test:cargo:
script:
- rustc --version && cargo --version # Print version info for debugging
# No tests yet //
# - cargo test --workspace --verbose
build:application:
before_script:
- export CARGO_HOME="${CI_PROJECT_DIR}/.cargo"
- export PATH="${CI_PROJECT_DIR}/.cargo/bin:$PATH"
cache:
key: build-cache-linux
paths:
- .cargo/registry/cache
- .cargo/registry/index
- .cargo/git/db
- .cargo/bin/
- target/
script:
- cargo build --release
- cp target/release/png_to_svg "${CI_PROJECT_DIR}/"
- strip png_to_svg
artifacts:
expire_in: 1 day
paths:
- png_to_svg
only:
- trunk
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment