diff --git a/src/Qir/Runtime/prerequisites.ps1 b/src/Qir/Runtime/prerequisites.ps1 index 72ae1b5079c..35e9b351aba 100644 --- a/src/Qir/Runtime/prerequisites.ps1 +++ b/src/Qir/Runtime/prerequisites.ps1 @@ -8,6 +8,10 @@ if ($Env:ENABLE_QIRRUNTIME -ne "false") { choco install ninja } } elseif ($IsMacOS) { + # temporary workaround for Bintray sunset + # remove this after Homebrew is updated to 3.1.1 on MacOS image, see: + # https://github.com/actions/virtual-environments/blob/main/images/macos/macos-10.15-Readme.md + brew update brew install ninja } else { sudo apt update diff --git a/src/Simulation/Native/prerequisites.ps1 b/src/Simulation/Native/prerequisites.ps1 index e7f32efff04..3f1272ffa84 100644 --- a/src/Simulation/Native/prerequisites.ps1 +++ b/src/Simulation/Native/prerequisites.ps1 @@ -4,6 +4,10 @@ if (($IsMacOS) -or ((Test-Path Env:AGENT_OS) -and ($Env:AGENT_OS.StartsWith("Darwin")))) { # building with gcc-9 succeeds but some of the unit tests fail Write-Host "Install gcc-7 as pre-req for building native simulator on MacOS" + # temporary workaround for Bintray sunset + # remove this after Homebrew is updated to 3.1.1 on MacOS image, see: + # https://github.com/actions/virtual-environments/blob/main/images/macos/macos-10.15-Readme.md + brew update brew install gcc@7 } else { Write-Host "No pre-reqs for building native simulator on platforms other than MacOS"