From b78b5ea9e1a27d10e6c7ad9a3a10a956a692f20f Mon Sep 17 00:00:00 2001 From: Jay Lee Date: Wed, 2 Mar 2022 10:31:27 -0500 Subject: [PATCH] Update build.yml --- .github/workflows/build.yml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4e28b0b9..6cfc633b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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