Skip to content

Commit a385f52

Browse files
committed
add qemu.yml
1 parent b660d19 commit a385f52

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

.github/workflows/qemu.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: QEMU
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
qemu_job:
7+
runs-on: ubuntu-22.04
8+
name: Build Vim on ubuntu-22.04 s390
9+
steps:
10+
- uses: actions/checkout@v3
11+
with:
12+
path: repo
13+
- uses: uraimo/run-on-arch-action@v2
14+
name: Prep Environment
15+
id: runcmd
16+
with:
17+
arch: s390x
18+
distro: ubuntu22.04
19+
shell: /bin/sh
20+
21+
githubToken: ${{ github.token }}
22+
install: |
23+
apt-get update -q -y
24+
apt-get install -q -y build-essential
25+
apt-get build-dep -q -y vim
26+
27+
run: |
28+
echo "NPROC=$(getconf _NPROCESSORS_ONLN)" >> $GITHUB_ENV
29+
echo $(lscpu)
30+
cd repo/src
31+
./configure
32+
make -j${NPROC}

0 commit comments

Comments
 (0)