Skip to content

test-ci-failure

test-ci-failure #98

Workflow file for this run

name: test
on:
push:
branches:
- 'test-ci-failure'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
env:
ASAN_OPTIONS: detect_leaks=1:check_initialization_order=1:log_path=${{ github.workspace }}/build/log/asan:intercept_tls_get_addr=0
BIN_DIR: ${{ github.workspace }}/bin
BUILD_DIR: ${{ github.workspace }}/build
INSTALL_PREFIX: ${{ github.workspace }}/nvim-install
LOG_DIR: ${{ github.workspace }}/build/log
NVIM_LOG_FILE: ${{ github.workspace }}/build/.nvimlog
TSAN_OPTIONS: log_path=${{ github.workspace }}/build/log/tsan
VALGRIND_LOG: ${{ github.workspace }}/build/log/valgrind-%p.log
TEST_FILE: test/functional/terminal/tui_spec.lua
jobs:
posix:
name: ${{ matrix.build.os }} ${{ matrix.build.flavor }} ${{ matrix.build.cc }} ${{ matrix.test }}
strategy:
fail-fast: false
matrix:
# The `os` field is not needed to differentiate between the different
# matrix builds. It is needed to not change the required checks (which
# uses jobs names) each time we bump the runner version. It may be
# possible to remove if we e.g. start using `-latest` runner versions
# or if github introduces a wildcard for required checks in the future.
build:
[
{ runner: ubuntu-22.04, os: ubuntu, flavor: puc-lua, cc: gcc, deps_flags: -D USE_BUNDLED_LUAJIT=OFF -D USE_BUNDLED_LUA=ON, flags: -D PREFER_LUA=ON },
]
test: [functionaltest]
runs-on: ${{ matrix.build.runner }}
timeout-minutes: 45
env:
CC: ${{ matrix.build.cc }}
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup
with:
install_flags: "--test"
- name: Create log dir
run: mkdir -p "$LOG_DIR"
- name: Build third-party deps
run: |
cmake -S cmake.deps --preset ci -D CMAKE_BUILD_TYPE=Debug ${{ matrix.build.deps_flags }}
cmake --build .deps
- name: Build
run: |
cmake --preset ci -D CMAKE_BUILD_TYPE=Debug -D CMAKE_INSTALL_PREFIX:PATH=$INSTALL_PREFIX ${{ matrix.build.flags }}
cmake --build build
- name: ${{ matrix.test }}
timeout-minutes: 20
run: make ${{ matrix.test }}
- name: ${{ matrix.test }}
timeout-minutes: 20
run: make ${{ matrix.test }}
- name: ${{ matrix.test }}
timeout-minutes: 20
run: make ${{ matrix.test }}
- name: ${{ matrix.test }}
timeout-minutes: 20
run: make ${{ matrix.test }}
- name: ${{ matrix.test }}
timeout-minutes: 20
run: make ${{ matrix.test }}
- name: ${{ matrix.test }}
timeout-minutes: 20
run: make ${{ matrix.test }}
- name: ${{ matrix.test }}
timeout-minutes: 20
run: make ${{ matrix.test }}
- name: ${{ matrix.test }}
timeout-minutes: 20
run: make ${{ matrix.test }}
- name: ${{ matrix.test }}
timeout-minutes: 20
run: make ${{ matrix.test }}
- name: ${{ matrix.test }}
timeout-minutes: 20
run: make ${{ matrix.test }}
- name: ${{ matrix.test }}
timeout-minutes: 20
run: make ${{ matrix.test }}
- name: ${{ matrix.test }}
timeout-minutes: 20
run: make ${{ matrix.test }}
- name: ${{ matrix.test }}
timeout-minutes: 20
run: make ${{ matrix.test }}
- name: ${{ matrix.test }}
timeout-minutes: 20
run: make ${{ matrix.test }}
- name: ${{ matrix.test }}
timeout-minutes: 20
run: make ${{ matrix.test }}
- name: ${{ matrix.test }}
timeout-minutes: 20
run: make ${{ matrix.test }}
- name: ${{ matrix.test }}
timeout-minutes: 20
run: make ${{ matrix.test }}
- name: ${{ matrix.test }}
timeout-minutes: 20
run: make ${{ matrix.test }}
- name: ${{ matrix.test }}
timeout-minutes: 20
run: make ${{ matrix.test }}
- name: ${{ matrix.test }}
timeout-minutes: 20
run: make ${{ matrix.test }}
- name: ${{ matrix.test }}
timeout-minutes: 20
run: make ${{ matrix.test }}