mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-16 12:42:06 +00:00
Install rust/cargo for CI builds
This commit is contained in:
@ -39,6 +39,11 @@ before_cache:
|
|||||||
- rm -rf $HOME/.cache/electron-builder
|
- rm -rf $HOME/.cache/electron-builder
|
||||||
before_install:
|
before_install:
|
||||||
- rm -rf node_modules
|
- rm -rf node_modules
|
||||||
|
# Install Rust and Cargo
|
||||||
|
- curl https://sh.rustup.rs -sSf > /tmp/rustup.sh
|
||||||
|
- sh /tmp/rustup.sh -y
|
||||||
|
- export PATH="$HOME/.cargo/bin:$PATH"
|
||||||
|
- source "$HOME/.cargo/env"
|
||||||
|
|
||||||
branches:
|
branches:
|
||||||
except:
|
except:
|
||||||
|
|||||||
@ -11,7 +11,15 @@ init:
|
|||||||
- git config --global core.autocrlf input
|
- git config --global core.autocrlf input
|
||||||
|
|
||||||
install:
|
install:
|
||||||
|
# Install node
|
||||||
- ps: Install-Product node 10 x64
|
- ps: Install-Product node 10 x64
|
||||||
|
# Install Rust and Cargo
|
||||||
|
- appveyor DownloadFile https://win.rustup.rs/ -FileName rustup-init.exe
|
||||||
|
- rustup-init -yv --default-toolchain stable --default-host x86_64-pc-windows-msvc
|
||||||
|
- set PATH=%PATH%;%USERPROFILE%\.cargo\bin
|
||||||
|
- rustc -vV
|
||||||
|
- cargo -vV
|
||||||
|
# Install dependencies
|
||||||
- yarn
|
- yarn
|
||||||
|
|
||||||
build_script:
|
build_script:
|
||||||
|
|||||||
Reference in New Issue
Block a user