diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 03a3d9268e..f64c8e9c71 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -17,6 +17,7 @@ before_script: - gcc -v - cargo --version - export DISABLE_GIT_LFS_CHECK=true + - find assets | md5sum # -- optional build @@ -33,7 +34,7 @@ optional-debug:linux: cache: key: "cache-linux-debug" paths: - - ./ + - ./target script: - cd voxygen && VELOREN_ASSETS=assets cargo build --verbose && cd .. - cd server-cli && VELOREN_ASSETS=assets cargo build --verbose && cd .. @@ -51,7 +52,7 @@ optional-debug:windows: cache: key: "cache-windows-debug" paths: - - ./ + - ./target script: - cd voxygen && VELOREN_ASSETS=assets cargo build --verbose --target=x86_64-pc-windows-gnu && cd .. - cd server-cli && VELOREN_ASSETS=assets cargo build --verbose --target=x86_64-pc-windows-gnu && cd .. @@ -77,7 +78,7 @@ optional-release:linux: cache: key: "cache-linux-release" paths: - - ./ + - ./target script: - cd voxygen && VELOREN_ASSETS=assets cargo build --verbose --release && cd .. - cd server-cli && VELOREN_ASSETS=assets cargo build --verbose --release && cd .. @@ -95,7 +96,7 @@ optional-release:windows: cache: key: "cache-windows-release" paths: - - ./ + - ./target script: - cd voxygen && VELOREN_ASSETS=assets cargo build --verbose --target=x86_64-pc-windows-gnu --release && cd .. - cd server-cli && VELOREN_ASSETS=assets cargo build --verbose --target=x86_64-pc-windows-gnu --release && cd .. @@ -117,7 +118,7 @@ check: cache: key: "cache-linux-debug" paths: - - ./ + - ./target tags: - veloren-docker script: @@ -128,7 +129,7 @@ code-quality: cache: key: "cache-linux-debug" paths: - - ./ + - ./target tags: - veloren-docker script: @@ -144,7 +145,7 @@ unittests: cache: key: "cache-linux-debug" paths: - - ./ + - ./target when: delayed start_in: 5 seconds tags: @@ -157,7 +158,7 @@ benchmarks: cache: key: "cache-linux-release" paths: - - ./ + - ./target when: delayed start_in: 5 seconds tags: @@ -171,7 +172,7 @@ linux: cache: key: "cache-linux-release" paths: - - ./ + - ./target when: delayed start_in: 5 seconds only: @@ -198,7 +199,7 @@ windows: cache: key: "cache-windows-release" paths: - - ./ + - ./target when: delayed start_in: 5 seconds only: