mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-04-24 14:28:42 +00:00
dep: Upgrade transitive dependencies (#1630)
* dep: Upgrade transitive dependencies * CI: Use make 4.4.1 on macOS Siuce cc 1.0.86 only works with make >=4.3 Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com> * CI: Bump actions/cache to v4 Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com> * CI: Fix copying of make compilation bash code Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com> * CI: Fix make compilation Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com> * CI: Speedup make compilation Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com> * Fix CI: Add missing `shell` Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com> * CI: FIx parallism for compiling make Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com> --------- Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com> Co-authored-by: github-actions <github-actions@github.com> Co-authored-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
parent
6dd4a155fb
commit
fbb49b4eb6
2 changed files with 119 additions and 104 deletions
26
.github/actions/just-setup/action.yml
vendored
26
.github/actions/just-setup/action.yml
vendored
|
@ -93,9 +93,33 @@ runs:
|
|||
|
||||
- name: Cache zig compilation
|
||||
if: env.JUST_USE_CARGO_ZIGBUILD
|
||||
uses: actions/cache@v3
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: ${{ steps.zig_global_cache_dir_path.outputs.cache_dir }}
|
||||
key: ${{ env.ZIG_CACHE_KEY }}
|
||||
restore-keys: |
|
||||
${{ env.ZIG_CACHE_RESTORE_KEY }}
|
||||
|
||||
- name: Cache make compiled
|
||||
if: runner.os == 'macOS'
|
||||
id: cache-make
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: /usr/local/bin/make
|
||||
key: ${{ runner.os }}-make-4.4.1
|
||||
|
||||
- name: Build and use make 4.4.1 on macOS, since cc requires make >=4.3
|
||||
if: runner.os == 'macOS' && steps.cache-make.outputs.cache-hit != 'true'
|
||||
run: |
|
||||
curl "https://ftp.gnu.org/gnu/make/make-${MAKE_VERSION}.tar.gz" | tar xz
|
||||
pushd "make-${MAKE_VERSION}"
|
||||
./configure
|
||||
make -j 4
|
||||
popd
|
||||
cp -p "make-${MAKE_VERSION}/make" /usr/local/bin
|
||||
env:
|
||||
MAKE_VERSION: 4.4.1
|
||||
shell: bash
|
||||
|
||||
- run: make -v
|
||||
shell: bash
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue