diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b45c3bc..5e69891 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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: diff --git a/.idea/codeStyles/codeStyleConfig.xml b/.idea/codeStyles/codeStyleConfig.xml new file mode 100644 index 0000000..a55e7a1 --- /dev/null +++ b/.idea/codeStyles/codeStyleConfig.xml @@ -0,0 +1,5 @@ + + + + \ No newline at end of file