Added cargo cache to gitlab ci cache
This commit is contained in:
parent
9537113a50
commit
78f4e0f681
@ -11,12 +11,16 @@ build:
|
||||
rules:
|
||||
- if: $CI_COMMIT_BRANCH == "installer"
|
||||
script:
|
||||
- export CARGO_HOME="${PWD}/.cargo"
|
||||
- apk add pkgconf musl-dev
|
||||
- RUSTFLAGS='-C target-feature=+crt-static -C link-self-contained=yes -C link-arg=-s' cargo build --release --target x86_64-unknown-linux-musl
|
||||
- cp target/x86_64-unknown-linux-musl/release/dotfiles_installer ./installer-amd64
|
||||
artifacts:
|
||||
paths:
|
||||
- installer-amd64
|
||||
cache:
|
||||
paths:
|
||||
- .cargo/
|
||||
|
||||
|
||||
upload_assets:
|
||||
|
5
.idea/codeStyles/codeStyleConfig.xml
Normal file
5
.idea/codeStyles/codeStyleConfig.xml
Normal file
@ -0,0 +1,5 @@
|
||||
<component name="ProjectCodeStyleConfiguration">
|
||||
<state>
|
||||
<option name="PREFERRED_PROJECT_CODE_STYLE" value="Default" />
|
||||
</state>
|
||||
</component>
|
Loading…
Reference in New Issue
Block a user