Skip to content

Commit

Permalink
updated qemu
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisbra committed Jul 10, 2023
1 parent bc0b3e6 commit 760b892
Showing 1 changed file with 28 additions and 12 deletions.
40 changes: 28 additions & 12 deletions .github/workflows/qemu.yml
Original file line number Diff line number Diff line change
@@ -1,31 +1,47 @@
name: QEMU
name: Qemu

on: [push, pull_request]

jobs:
qemu_job:
runs-on: ubuntu-20.04
name: Build Vim on ubuntu-20.04 s390
name: Build Vim on Qemu ubuntu-20.04
strategy:
matrix:
arch: [ "s390x", "aarch64" ]
steps:
- uses: actions/checkout@v3
name: Checkout Source
# with:
# path: repo
- uses: uraimo/run-on-arch-action@v2
name: Prep Environment
name: Build on Qemu
id: runcmd
with:
arch: s390x
distro: ubuntu18.04
shell: /bin/sh

arch: ${{ matrix.arch }}
distro: ubuntu20.04
githubToken: ${{ github.token }}
install: |
apt-get update -q -y &&
apt-get install -q -y build-essential
dockerRunArgs: --volume "${GITHUB_WORKSPACE}/artifacts:/artifacts"
shell: /bin/bash

setup: |
mkdir -p ./artifacts
export NPROC=$(getconf _NPROCESSORS_ONLN)
run: |
echo "NPROC=$(getconf _NPROCESSORS_ONLN)" >> $GITHUB_ENV
echo $(lscpu)
cd repo/src
apt-get update -q -y
apt-get install -q -y build-essential
# Build Vim
pushd src
./configure
make -j${NPROC}
# Test
./vim --version
# make test
popd
cp vim /artifacts
- name: Show artifacts
run: |
ls -al ./artifacts

0 comments on commit 760b892

Please sign in to comment.