aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fischer@muhq.space>2024-02-14 20:56:28 +0100
committerFlorian Fischer <florian.fischer@muhq.space>2024-02-15 07:56:46 +0100
commit1f916202b3c813e0e6fcb7932476315fb7b259b5 (patch)
treecc3bd06ba5b7fdf778e57d4c46d2bcad165ba76e /.github
parent5dd98cff5a10d89a556b078cdff790c1c20a77f0 (diff)
downloadSOS-1f916202b3c813e0e6fcb7932476315fb7b259b5.tar.gz
SOS-1f916202b3c813e0e6fcb7932476315fb7b259b5.zip
cache the qemu build directory including the copied DLLsv0.0.3
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/build.yml16
1 files changed, 9 insertions, 7 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 699e5cd..10d0a3c 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -54,7 +54,15 @@ jobs:
- name: Checkout the sources
uses: actions/checkout@v4
+ - name: Cache build dir
+ id: qemu-cached-build
+ uses: actions/cache@v4
+ with:
+ path: qemu/build
+ key: v8.2.1-1-qemu-cached-build
+
- name: Setup mingw build environment
+ if: steps.qemu-cached-build.outputs.cache-hit != 'true'
uses: msys2/setup-msys2@v2
with:
update: true
@@ -69,13 +77,6 @@ jobs:
python-setuptools
mingw-w64-x86_64-gtk3
- - name: Cache build dir
- id: qemu-cached-build
- uses: actions/cache@v4
- with:
- path: qemu/build
- key: v8.2.1-qemu-cached-build
-
- name: Checkout MentOS submodule
if: steps.qemu-cached-build.outputs.cache-hit != 'true'
run: git submodule update --init qemu
@@ -114,6 +115,7 @@ jobs:
if: steps.qemu-cached-build.outputs.cache-hit != 'true'
- name: Copy required DLLs into the build directory
+ if: steps.qemu-cached-build.outputs.cache-hit != 'true'
run: >
cp /mingw64/bin/libbz2-1.dll
/mingw64/bin/liblzo2-2.dll