-
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
43 additions
and
0 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 |
---|---|---|
@@ -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} |