From bc0b3e61d8c118f19bf05069a5192127daebd188 Mon Sep 17 00:00:00 2001 From: Christian Brabandt Date: Sun, 9 Jul 2023 15:15:01 +0200 Subject: [PATCH] simple qemu --- .github/workflows/simple_qemu.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/simple_qemu.yml diff --git a/.github/workflows/simple_qemu.yml b/.github/workflows/simple_qemu.yml new file mode 100644 index 00000000000000..d24f02d0b8e67b --- /dev/null +++ b/.github/workflows/simple_qemu.yml @@ -0,0 +1,29 @@ +on: [push, pull_request] + +jobs: + armv7_job: + # The host should always be Linux + runs-on: ubuntu-18.04 + name: Build on ubuntu-18.04 armv7 + steps: + - uses: actions/checkout@v3 + - uses: uraimo/run-on-arch-action@v2 + name: Run commands + id: runcmd + with: + arch: armv7 + distro: ubuntu18.04 + + # Not required, but speeds up builds by storing container images in + # a GitHub package registry. + githubToken: ${{ github.token }} + + # Set an output parameter `uname` for use in subsequent steps + run: | + uname -a + echo ::set-output name=uname::$(uname -a) + + - name: Get the output + # Echo the `uname` output parameter from the `runcmd` step + run: | + echo "The uname output was ${{ steps.runcmd.outputs.uname }}"