Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Commit

Permalink
fix win&mac build (#10486)
Browse files Browse the repository at this point in the history
add CARGO_HOME:                      "${CI_PROJECT_DIR}/.cargo"
  • Loading branch information
General-Beck authored and TriplEight committed Mar 19, 2019
1 parent a8ee3c9 commit effead9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ build-darwin:
only: *releaseable_branches
variables:
CARGO_TARGET: x86_64-apple-darwin
CARGO_HOME: "${CI_PROJECT_DIR}/.cargo"
CC: gcc
CXX: g++
script:
Expand All @@ -151,6 +152,7 @@ build-windows:
only: *releaseable_branches
variables:
CARGO_TARGET: x86_64-pc-windows-msvc
CARGO_HOME: "${CI_PROJECT_DIR}/.cargo"
script:
- sh scripts/gitlab/build-windows.sh
tags:
Expand Down

0 comments on commit effead9

Please sign in to comment.