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 b7ae80a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 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
6 changes: 3 additions & 3 deletions .github/workflows/actions/setup-qemu/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ 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
Expand All @@ -22,13 +22,13 @@ runs:
PREFIX: ${{ github.workspace }}/qemu_build
shell: bash
run: |
sudo apt-get update && sudo apt-get install -y ninja-build libslirp-dev
sudo apt-get update && sudo apt-get install -y ninja-build libslirp-dev libgtk-3-dev
wget https://download.qemu.org/$QEMU_PATH.tar.xz && tar -xJf $QEMU_PATH.tar.xz
cd $QEMU_PATH \
&& ./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 b7ae80a

Please sign in to comment.