Skip to content

Commit 53176bb

Browse files
committed
fix: macos now overrides the PATH with the rustup installed rust and cargo in ~/.cargo/bin
1 parent 3c618b7 commit 53176bb

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.gitlab-ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,9 @@ build:macos:
217217
- hash -r
218218
- npm install --ignore-scripts
219219
- export PATH="$(npm root)/.bin:$PATH"
220+
# Gitlab MacOS already has rust installed
221+
# This will override the system installed rust
222+
- export PATH="$HOME/.cargo/bin:$PATH"
220223
# Build x64 and arm64 separately
221224
- npm run prebuild --verbose -- --arch x64 --production
222225
- npm run prebuild --verbose -- --arch arm64 --production

0 commit comments

Comments
 (0)