From 52504b84689034d94ad9aa717ff4829dd12e343d Mon Sep 17 00:00:00 2001 From: Joe Bellus Date: Thu, 10 Feb 2022 09:27:53 -0500 Subject: [PATCH] Rmeoved sccache --- .gitlab-ci.yml | 19 +++++-------------- 1 file changed, 5 insertions(+), 14 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b4f5dc9..7a67ea2 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -25,8 +25,8 @@ build-ui: - apt-get -y install libssl-dev - npm install - npm run build - # rules: - # - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH + rules: + - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH artifacts: paths: - dist/ @@ -34,25 +34,16 @@ build-ui: build-bin: dependencies: - build-ui - # variables: - # RUSTC_WRAPPER: /usr/local/bin/sccache - # SCCACHE_BUCKET: $SCCACHE_BUCKET - # AWS_ACCESS_KEY_ID: $AWS_ACCESS_KEY_ID - # AWS_SECRET_ACCESS_KEY: $AWS_SECRET_ACCESS_KEY image: "rust:slim-buster" stage: build tags: - linux - # rules: - # - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH + rules: + - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH script: - apt-get update - - apt-get -y install libssl-dev pkg-config wget - # - wget https://github.com/mozilla/sccache/releases/download/v0.2.15/sccache-v0.2.15-x86_64-unknown-linux-musl.tar.gz - # - tar xzf sccache-v0.2.15-x86_64-unknown-linux-musl.tar.gz - # - mv sccache-v0.2.15-x86_64-unknown-linux-musl/sccache /usr/local/bin/sccache - # - chmod +x /usr/local/bin/sccache + - apt-get -y install libssl-dev pkg-config - cargo build --release - cd target/release - tar -czf ../../vade-linux-x64.tar.gz vade