devices: Add Radxa Dragon Q6A #91
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Run in QEMU | |
| on: [push, pull_request] | |
| jobs: | |
| miix: | |
| name: "Run in QEMU (Lenovo Miix 630)" | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Install additional build dependencies | |
| run: sudo apt-get update && sudo apt-get install -yqq llvm lld device-tree-compiler qemu-system-arm qemu-efi-aarch64 | |
| - uses: actions/checkout@v4 | |
| with: | |
| submodules: recursive | |
| - name: Build dtbloader | |
| run: git clean -dxf && make -j$(nproc) DEBUG=1 CFLAGS_SRC="-Wall -Werror -fsanitize=undefined -fsanitize-trap=all" | |
| - name: Prepare ESP | |
| run: dtc .ci/dummy.dts -o build-aarch64/msm8998-lenovo-miix-630.dtb | |
| - name: Run QEMU | |
| run: ./scripts/run_qemu.sh miix | tee log.txt | |
| - name: Check the log | |
| run: "grep -q 'Detected device: LENOVO Miix 630' log.txt && ! grep -q 'Synchronous Exception' log.txt" | |
| nosmbios: | |
| name: "Run in QEMU (firmware default)" | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Install additional build dependencies | |
| run: sudo apt-get update && sudo apt-get install -yqq llvm lld device-tree-compiler qemu-system-arm qemu-efi-aarch64 | |
| - uses: actions/checkout@v4 | |
| with: | |
| submodules: recursive | |
| - name: Build dtbloader | |
| run: git clean -dxf && make -j$(nproc) DEBUG=1 CFLAGS_SRC="-Wall -Werror -fsanitize=undefined -fsanitize-trap=all" | |
| - name: Prepare ESP | |
| run: dtc .ci/dummy.dts -o build-aarch64/msm8998-lenovo-miix-630.dtb | |
| - name: Run QEMU | |
| run: ./scripts/run_qemu.sh nosmbios | tee log.txt | |
| - name: Check the log | |
| run: "! grep -q 'Synchronous Exception' log.txt" |