Skip to content

Rename os_module.json to README.json #35

Rename os_module.json to README.json

Rename os_module.json to README.json #35

Workflow file for this run

name: Build Example CI
on:
workflow_dispatch:
push:
jobs:
build-qemu:
runs-on: ubuntu-20.04
steps:
- name: Install dependencies
run: sudo apt -y install autoconf automake autotools-dev curl libmpc-dev libmpfr-dev libgmp-dev \
gawk build-essential bison flex texinfo gperf libtool patchutils bc \
zlib1g-dev libexpat-dev pkg-config libglib2.0-dev libpixman-1-dev libsdl2-dev libslirp-dev \
git tmux python3 python3-pip ninja-build
- name: Get QEMU Source Code
run: wget https://github.com/qemu/qemu/archive/refs/tags/v9.0.0.tar.gz
- name: extract qemu source code
run: tar zxvf v9.0.0.tar.gz
- name: build qemu 9.0
run: mkdir v9.0.0/build && cd v9.0.0/build && ../configure --target-list=riscv64-softmmu,aarch64-softmmu,x86_64-softmmu,loongarch64-softmmu
- name: make qemu 9.0
run: cd v9.0.0/build && make -j8
test:
runs-on: ubuntu-20.04
needs: build-qemu
strategy:
fail-fast: false
matrix:
arch: [x86_64, riscv64, aarch64, loongarch64]
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@nightly
- name: Test ${{ matrix.arch }}
run: cd example && make ARCH=${{ matrix.arch }} build
timeout-minutes: 1