mirror of
https://github.com/ii64/sonic.git
synced 2026-06-21 00:46:43 +08:00
parent
cf08d54edd
commit
0a3d980974
1 changed files with 3 additions and 0 deletions
3
.github/workflows/push-check-arm.yml
vendored
3
.github/workflows/push-check-arm.yml
vendored
|
|
@ -26,5 +26,8 @@ jobs:
|
|||
|
||||
- name: Compatibility Test
|
||||
run: |
|
||||
printf ' #!/bin/bash\n if [ ! -x "/usr/bin/qemu-x86_64" ];then\n sudo apt-get update\n sudo apt-get -y install make gcc g++ libglib2.0-dev libpixman-1-dev libfdt-dev python3-pip ninja-build\n sudo pip3 install meson\n wget https://download.qemu.org/qemu-6.2.0.tar.xz\n tar -xvf qemu-6.2.0.tar.xz\n cd qemu-6.2.0\n sudo ./configure\n sudo make -j 4\n sudo make install\n cd ..\n cp /usr/local/bin/qemu-x86_64 /usr/bin/qemu-x86_64\n fi\n' > qemu_install.sh
|
||||
chmod +x qemu_install.sh
|
||||
./qemu_install.sh
|
||||
GOARCH=amd64 go test -gcflags=-d=checkptr=0 -c .
|
||||
qemu-x86_64 -cpu max ./sonic.test -test.v
|
||||
|
|
|
|||
Loading…
Reference in a new issue