Skip to content

Commit

Permalink
fix: macos now overrides the PATH with the rustup installed rust an…
Browse files Browse the repository at this point in the history
…d cargo in `~/.cargo/bin`
  • Loading branch information
CMCDragonkai committed May 17, 2023
1 parent 3c618b7 commit 53176bb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,9 @@ build:macos:
- hash -r
- npm install --ignore-scripts
- export PATH="$(npm root)/.bin:$PATH"
# Gitlab MacOS already has rust installed
# This will override the system installed rust
- export PATH="$HOME/.cargo/bin:$PATH"
# Build x64 and arm64 separately
- npm run prebuild --verbose -- --arch x64 --production
- npm run prebuild --verbose -- --arch arm64 --production
Expand Down

0 comments on commit 53176bb

Please sign in to comment.