Skip to content

Commit

Permalink
add test to aarch64 platform
Browse files Browse the repository at this point in the history
  • Loading branch information
shzhxh committed Jun 2, 2022
1 parent c7e10d3 commit 8df01a9
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/scripts/install-qemu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
wget https://download.qemu.org/qemu-$1.tar.xz
tar -xJf qemu-$1.tar.xz
cd qemu-$1
./configure --target-list=x86_64-softmmu,riscv64-softmmu
make -j$nproc > /dev/null 2>&1
./configure --target-list=x86_64-softmmu,riscv64-softmmu,aarch64-softmmu
make -j$nproc > /dev/null 2>&1
8 changes: 4 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ jobs:
strategy:
fail-fast: false
matrix:
arch: [x86_64, riscv64]
arch: [x86_64, riscv64, aarch64]
steps:
- uses: actions/checkout@v3
with:
Expand All @@ -204,7 +204,7 @@ jobs:
uses: actions/cache@v3
with:
path: qemu-${{ env.qemu_version }}
key: qemu-${{ env.qemu_version }}-x86_64-riscv64
key: qemu-${{ env.qemu_version }}-x64-rv64-aa64

- name: Download and Compile QEMU
if: steps.cache-qemu.outputs.cache-hit != 'true'
Expand Down Expand Up @@ -232,7 +232,7 @@ jobs:
strategy:
fail-fast: false
matrix:
arch: [x86_64, riscv64]
arch: [x86_64, riscv64, aarch64]
steps:
- uses: actions/checkout@v3
with:
Expand All @@ -258,7 +258,7 @@ jobs:
uses: actions/cache@v3
with:
path: qemu-${{ env.qemu_version }}
key: qemu-${{ env.qemu_version }}-x86_64-riscv64
key: qemu-${{ env.qemu_version }}-x64-rv64-aa64

- name: Download and Compile QEMU
if: steps.cache-qemu.outputs.cache-hit != 'true'
Expand Down

0 comments on commit 8df01a9

Please sign in to comment.