robin/laufey
git clone https://git.robinwobin.dev/robin/laufey
085bb518c8
master
1name : optional 2on : 3pull_request : 4types : [ labeled , opened , synchronize , reopened ] 5workflow_dispatch : 6 7permissions : 8contents : read 9 10env : 11INSTALL_PREFIX : ${{ github.workspace }}/nvim-install 12# Double test timeout since it's running via qemu 13TEST_TIMEOUT : 3600 14# TEST_FILE: test/functional/shada 15# TEST_FILTER: foo 16 17jobs : 18s390x : 19if : >- 20github.event_name == 'workflow_dispatch' || 21( 22contains(github.event.pull_request.labels.*.name, 'ci:s390x') && 23(github.event.action != 'labeled' || github.event.label.name == 'ci:s390x') 24) 25concurrency : 26group : ${{ github.workflow }}-s390x-${{ github.ref }} 27cancel-in-progress : ${{ github.event_name == 'pull_request' }} 28strategy : 29fail-fast : false 30matrix : 31test : [ functionaltest , oldtest ] 32runs-on : ubuntu-latest 33timeout-minutes : 90 34steps : 35- run : docker run --rm --privileged multiarch/qemu-user-static:register --reset 36- uses : docker://multiarch/ubuntu-core:s390x-focal 37with : 38# Docker runs the command as root, but we want the build/test to run 39# as non-root so permissions based tests run correctly 40args : > 41bash -c 42" 43apt-get -y update && 44time DEBIAN_FRONTEND=noninteractive apt-get -y install build-essential cmake curl gettext ninja-build locales-all cpanminus git attr libattr1-dev xdg-utils && 45useradd --create-home qemuci && 46chown -R qemuci. . && 47runuser -u qemuci -- git clone --depth=1 https://github.com/neovim/neovim.git && 48cd neovim && 49runuser -u qemuci -- git fetch origin ${{ github.ref }}:pr && 50runuser -u qemuci -- git switch pr && 51runuser -u qemuci -- cmake -S cmake.deps -B .deps -G Ninja -D USE_BUNDLED_LUAJIT=OFF -D USE_BUNDLED_LUA=ON && 52runuser -u qemuci -- cmake --build .deps && 53runuser -u qemuci -- cmake -B build -G Ninja -D CI_BUILD=ON -D PREFER_LUA=ON && 54runuser -u qemuci -- make ${{ matrix.test }} 55" 56 57windows-asan : 58if : >- 59github.event_name == 'workflow_dispatch' || 60( 61contains(github.event.pull_request.labels.*.name, 'ci:windows-asan') && 62(github.event.action != 'labeled' || github.event.label.name == 'ci:windows-asan') 63) 64concurrency : 65group : ${{ github.workflow }}-windows-asan-${{ github.ref }} 66cancel-in-progress : ${{ github.event_name == 'pull_request' }} 67uses : ./.github/workflows/test_windows.yml 68with : 69build_flags : "-D ENABLE_ASAN_UBSAN=ON" 70functionaltest_timeout : 40