updated qemu #14
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
name: Qemu | ||
on: [push, pull_request] | ||
jobs: | ||
qemu_job: | ||
runs-on: ubuntu-20.04 | ||
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: Build on Qemu | ||
id: runcmd | ||
with: | ||
arch: ${{ matrix.arch }} | ||
distro: ubuntu20.04 | ||
githubToken: ${{ github.token }} | ||
dockerRunArgs: --volume "${GITHUB_WORKSPACE}/artifacts:/artifacts" | ||
shell: /bin/bash | ||
setup: | | ||
mkdir -p ./artifacts | ||
export NPROC=$(getconf _NPROCESSORS_ONLN) | ||
run: | | ||
echo $(lscpu) | ||
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 |