Skip to content

Commit

Permalink
add qemu.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisbra committed Jul 8, 2023
1 parent b660d19 commit 0b16037
Showing 1 changed file with 43 additions and 0 deletions.
43 changes: 43 additions & 0 deletions .github/workflows/qemu.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
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:
- 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}

0 comments on commit 0b16037

Please sign in to comment.