-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
28 additions
and
12 deletions.
There are no files selected for viewing
This file contains 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
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 |