mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-10 10:11:46 +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
|
||||
before_install:
|
||||
- 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:
|
||||
except:
|
||||
|
||||
@ -11,7 +11,15 @@ init:
|
||||
- git config --global core.autocrlf input
|
||||
|
||||
install:
|
||||
# Install node
|
||||
- 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
|
||||
|
||||
build_script:
|
||||
|
||||
Reference in New Issue
Block a user