feat(ci): cross-compile release assets, cache deps (#128)

* feat(ci): cross-compile release assets, cache deps

chore(ci): add caching to regular tests

* fix(ci): include cross only in ci env, add note about release assets
This commit is contained in:
Aaryamann Challani
2023-03-14 17:44:06 +05:30
committed by GitHub
parent c319f32a1e
commit bb7dfb80ee
5 changed files with 75 additions and 44 deletions

View File

@@ -6,8 +6,9 @@ all: .pre-build build
@git submodule update --init --recursive
.pre-build: .fetch-submodules
ifeq (, $(shell which cargo-make))
@cargo install --force cargo-make
@cargo install cargo-make
ifdef CI
@cargo install cross --git https://github.com/cross-rs/cross --branch main
endif
installdeps: .pre-build