Skip to content

Commit

Permalink
[CI] Update dependencies for qemu build
Browse files Browse the repository at this point in the history
  • Loading branch information
Azure-stars committed Oct 10, 2024
1 parent 6840637 commit 7d4ca40
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/actions/setup-musl/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ runs:
steps:
- name: Cache musl
id: cache-musl
uses: actions/cache/restore@v3
uses: actions/cache/restore@v4
with:
path: ${{ inputs.arch }}-linux-musl-cross
key: ${{ inputs.arch }}-linux-musl-cross
Expand All @@ -22,7 +22,7 @@ runs:
MUSL_PATH=${{ inputs.arch }}-linux-musl-cross
wget https://musl.cc/${MUSL_PATH}.tgz
tar -xf ${MUSL_PATH}.tgz
- uses: actions/cache/save@v3
- uses: actions/cache/save@v4
if: steps.cache-musl.outputs.cache-hit != 'true'
with:
path: ${{ inputs.arch }}-linux-musl-cross
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/actions/setup-qemu/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,13 @@ runs:
steps:
- name: Cache QEMU
id: cache-qemu
uses: actions/cache/restore@v3
uses: actions/cache/restore@v4
with:
path: qemu_build
key: qemu-${{ inputs.qemu-version }}-slirp-1
- name: Install Dependencies
run: |
sudo apt-get install libgtk-3-dev
- name: Download and build QEMU
if: steps.cache-qemu.outputs.cache-hit != 'true'
env:
Expand All @@ -28,7 +31,7 @@ runs:
&& ./configure --prefix=$PREFIX --target-list=x86_64-softmmu,riscv64-softmmu,aarch64-softmmu --enable-slirp \
&& make -j > /dev/null 2>&1 \
&& make install
- uses: actions/cache/save@v3
- uses: actions/cache/save@v4
if: steps.cache-qemu.outputs.cache-hit != 'true'
with:
path: qemu_build
Expand Down

0 comments on commit 7d4ca40

Please sign in to comment.