Update build.yml

This commit is contained in:
Jay Lee
2022-03-02 10:31:27 -05:00
committed by GitHub
parent d26bfc9aab
commit b78b5ea9e1

View File

@ -121,11 +121,17 @@ jobs:
- name: Install necessary MacOS tools
if: matrix.os == 'macos-11'
run: |
# Kill brew so Python is happy and uses XCode libraries
curl -fsSL -o uninstall.sh https://raw.githubusercontent.com/Homebrew/install/HEAD/uninstall.sh
/bin/bash uninstall.sh -f
# Install latest Rust
curl -fsS -o rust.sh https://sh.rustup.rs
bash ./rust.sh -y
source $HOME/.cargo/env
# needed for Rust to compile cryptography Python package for universal2
rustup target add aarch64-apple-darwin
# Kill brew so Python is happy and uses XCode libraries
curl -fsSLO https://raw.githubusercontent.com/Homebrew/install/HEAD/uninstall.sh
/bin/bash uninstall.sh -f
- name: Windows Configure VCode
uses: ilammy/msvc-dev-cmd@v1