Skip to content

add qemu.yml

add qemu.yml #1

Workflow file for this run

name: QEMU Emulation
on:
push:
branches: ['**']
pull_request:
jobs:
qemu_job:
# The host should always be Linux
runs-on: ubuntu-22.04
name: Build on ubuntu-22.04 s390
steps:

Check failure on line 13 in .github/workflows/qemu.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/qemu.yml

Invalid workflow file

You have an error in your yaml syntax on line 13
- uses: actions/checkout@v3
with:
path: repo
- uses: uraimo/run-on-arch-action@v2
name: Run commands
id: runcmd
with:
arch: s390x
sh: /bin/sh
distro: ubuntu22.04
# Not required, but speeds up builds by storing container images in
# a GitHub package registry.
githubToken: ${{ github.token }}
-name: setup env
run: |
echo "NPROC=$(getconf _NPROCESSORS_ONLN)" >> $GITHUB_ENV
-name: install dependencies
run: |
apt-get update -q -y
apt-get install build-essential
apt-get build-dep -y vim
- name: Build Vim
run: |
cd repo/src
./configure
make -j${NPROC}