fix(ci): homebrew errors on github actions (#181)

This commit is contained in:
Aaryamann Challani 2023-07-04 12:10:35 +05:30 committed by GitHub
parent c561741339
commit 8a365f0c9e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions

View File

@ -8,12 +8,13 @@ all: .pre-build build
.pre-build: .fetch-submodules .pre-build: .fetch-submodules
@cargo install cargo-make @cargo install cargo-make
ifdef CI ifdef CI
@cargo install cross --git https://github.com/cross-rs/cross --rev 1511a28 @cargo install cross --git https://github.com/cross-rs/cross.git --rev 1511a28
endif endif
installdeps: .pre-build installdeps: .pre-build
ifeq ($(shell uname),Darwin) ifeq ($(shell uname),Darwin)
@brew update # commented due to https://github.com/orgs/Homebrew/discussions/4612
# @brew update
@brew install cmake ninja @brew install cmake ninja
else ifeq ($(shell uname),Linux) else ifeq ($(shell uname),Linux)
@sudo apt-get update @sudo apt-get update