Skip to content

Commit

Permalink
Fix macos build and name of task
Browse files Browse the repository at this point in the history
  • Loading branch information
quentinlesceller committed May 16, 2019
1 parent 76c67c2 commit 63e382c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .ci/install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,22 @@ steps:
curl -sSf -o rustup-init.exe https://win.rustup.rs
rustup-init.exe -y
echo "##vso[task.setvariable variable=PATH;]%PATH%;%USERPROFILE%\.cargo\bin"
displayName: Windows Install Rust
displayName: Windows Install Rust and Dependencies
condition: eq( variables['Agent.OS'], 'Windows_NT' )
- script: |
curl https://sh.rustup.rs -sSf | sh -s -- -y
echo "##vso[task.setvariable variable=PATH;]$PATH:$HOME/.cargo/bin"
brew tap caskroom/drivers
brew install nvidia-cuda
displayName: macOS Install Rust
brew cask install nvidia-cuda
displayName: macOS Install Rust and Dependencies
condition: eq( variables['Agent.OS'], 'Darwin' )
- script: |
curl https://sh.rustup.rs -sSf | sh -s -- -y
echo "##vso[task.setvariable variable=PATH;]$PATH:/usr/local/cargo/bin"
wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64/cuda-repo-ubuntu1604_10.1.168-1_amd64.deb
sudo dpkg -i cuda-repo-ubuntu1604_10.1.168-1_amd64.deb
sudo apt-key adv --fetch-keys http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64/7fa2af80.pub
sudo apt-get update
sudo apt-get update -yqq
sudo apt-get install cuda
displayName: Linux Install Rust and Dependencies
condition: eq( variables['Agent.OS'], 'Linux' )

0 comments on commit 63e382c

Please sign in to comment.