mirror of https://github.com/vacp2p/zerokit.git
fix(ci): homebrew errors on github actions (#181)
This commit is contained in:
parent
c561741339
commit
8a365f0c9e
5
Makefile
5
Makefile
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue