mirror of
https://github.com/mkxp-z/mkxp-z.git
synced 2025-08-29 18:23:03 +02:00
Remove caching of libretro stage 1 from the autobuild
It doesn't take nearly as long for stage 1 of the libretro build process to build as it did when I first started working on libretro builds. At this point, I find it unnecessary to keep caching the stage 1 build artifacts.
This commit is contained in:
parent
f98d868336
commit
42d49f7296
1 changed files with 0 additions and 11 deletions
11
.github/workflows/autobuild.yml
vendored
11
.github/workflows/autobuild.yml
vendored
|
@ -466,22 +466,12 @@ jobs:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- id: cache
|
|
||||||
name: Restore cache
|
|
||||||
uses: actions/cache@v4
|
|
||||||
with:
|
|
||||||
path: |
|
|
||||||
libretro/build/libretro-stage1
|
|
||||||
key: libretro-stage1-${{ hashFiles('libretro/Makefile', 'libretro/indexer.cpp', 'libretro/ruby-bindings.h', 'libretro/sandbox-bindgen.rb', 'libretro/ruby-stack-pointer.patch', 'libretro/ruby-jump-buffer.patch', 'libretro/ruby-compat.patch') }}
|
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
if: steps.cache.outputs.cache-hit != 'true'
|
|
||||||
run: |
|
run: |
|
||||||
sudo apt update
|
sudo apt update
|
||||||
sudo apt install -y git curl build-essential automake libtool binaryen zip universal-ctags ruby
|
sudo apt install -y git curl build-essential automake libtool binaryen zip universal-ctags ruby
|
||||||
|
|
||||||
- name: Set up WASI SDK
|
- name: Set up WASI SDK
|
||||||
if: steps.cache.outputs.cache-hit != 'true'
|
|
||||||
run: |
|
run: |
|
||||||
curl -Lo ${{ runner.temp }}/wasi-sdk.tar.gz https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-21/wasi-sdk-21.0-linux.tar.gz
|
curl -Lo ${{ runner.temp }}/wasi-sdk.tar.gz https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-21/wasi-sdk-21.0-linux.tar.gz
|
||||||
mkdir ${{ runner.temp }}/wasi-sdk
|
mkdir ${{ runner.temp }}/wasi-sdk
|
||||||
|
@ -489,7 +479,6 @@ jobs:
|
||||||
rm ${{ runner.temp }}/wasi-sdk.tar.gz
|
rm ${{ runner.temp }}/wasi-sdk.tar.gz
|
||||||
|
|
||||||
- name: Build stage 1
|
- name: Build stage 1
|
||||||
if: steps.cache.outputs.cache-hit != 'true'
|
|
||||||
run: |
|
run: |
|
||||||
cd libretro
|
cd libretro
|
||||||
CLICOLOR_FORCE=1 make -j $(nproc) WASI_SDK=${{ runner.temp }}/wasi-sdk
|
CLICOLOR_FORCE=1 make -j $(nproc) WASI_SDK=${{ runner.temp }}/wasi-sdk
|
||||||
|
|
Loading…
Add table
Reference in a new issue