mirror of
https://github.com/vim/vim.git
synced 2025-09-05 21:43:39 -04:00
CI: add Linux arm64 CI job
This patch adds jobs to run tests on arm64 GitHub Actions hosted runner for tiny and huge features. closes: #16477 Signed-off-by: rhysd <lin90162@yahoo.co.jp> Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
parent
7c92e88894
commit
87f65f3857
19
.github/workflows/ci.yml
vendored
19
.github/workflows/ci.yml
vendored
@ -17,7 +17,7 @@ permissions:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
linux:
|
linux:
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ${{ matrix.architecture == 'arm64' && 'ubuntu-22.04-arm' || 'ubuntu-22.04' }}
|
||||||
|
|
||||||
env:
|
env:
|
||||||
CC: ${{ matrix.compiler }}
|
CC: ${{ matrix.compiler }}
|
||||||
@ -48,6 +48,10 @@ jobs:
|
|||||||
- features: tiny
|
- features: tiny
|
||||||
compiler: gcc
|
compiler: gcc
|
||||||
extra: [nogui]
|
extra: [nogui]
|
||||||
|
- features: tiny
|
||||||
|
compiler: gcc
|
||||||
|
extra: [nogui]
|
||||||
|
architecture: arm64
|
||||||
- features: normal
|
- features: normal
|
||||||
shadow: ./src/shadow
|
shadow: ./src/shadow
|
||||||
compiler: gcc
|
compiler: gcc
|
||||||
@ -73,6 +77,11 @@ jobs:
|
|||||||
compiler: gcc
|
compiler: gcc
|
||||||
coverage: true
|
coverage: true
|
||||||
extra: [unittests]
|
extra: [unittests]
|
||||||
|
- features: huge
|
||||||
|
compiler: gcc
|
||||||
|
coverage: true
|
||||||
|
extra: [unittests]
|
||||||
|
architecture: arm64
|
||||||
- features: normal
|
- features: normal
|
||||||
compiler: gcc
|
compiler: gcc
|
||||||
extra: [vimtags]
|
extra: [vimtags]
|
||||||
@ -251,11 +260,19 @@ jobs:
|
|||||||
"${SRCDIR}"/vim -u NONE -i NONE --not-a-term -esNX -V1 -S ci/if_ver-2.vim -c quit
|
"${SRCDIR}"/vim -u NONE -i NONE --not-a-term -esNX -V1 -S ci/if_ver-2.vim -c quit
|
||||||
|
|
||||||
- name: Test
|
- name: Test
|
||||||
|
if: matrix.architecture != 'arm64'
|
||||||
timeout-minutes: 25
|
timeout-minutes: 25
|
||||||
run: |
|
run: |
|
||||||
do_test() { echo "$*"; sg audio "sg $(id -gn) '$*'"; }
|
do_test() { echo "$*"; sg audio "sg $(id -gn) '$*'"; }
|
||||||
do_test make ${SHADOWOPT} ${TEST}
|
do_test make ${SHADOWOPT} ${TEST}
|
||||||
|
|
||||||
|
# `sg audio` does not work on arm64 runner due to permission ('Incorrect password' error).
|
||||||
|
- name: Test on arm64
|
||||||
|
if: matrix.architecture == 'arm64'
|
||||||
|
timeout-minutes: 25
|
||||||
|
run: |
|
||||||
|
make ${SHADOWOPT} ${TEST}
|
||||||
|
|
||||||
- if: ${{ !cancelled() }}
|
- if: ${{ !cancelled() }}
|
||||||
uses: ./.github/actions/test_artifacts
|
uses: ./.github/actions/test_artifacts
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user