ci: check if failure is more common in old ubuntu #758
Workflow file for this run
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: test | |
on: | |
push: | |
pull_request: | |
branches: | |
- 'master' | |
- 'release-[0-9]+.[0-9]+' | |
workflow_dispatch: | |
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/core/startup_spec.lua | |
# TEST_FILTER: foo | |
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-arm, os: ubuntu, flavor: arm, cc: gcc, flags: -D CMAKE_BUILD_TYPE=RelWithDebInfo }, | |
{ runner: ubuntu-24.04-arm, os: ubuntu, flavor: arm, cc: gcc, flags: -D CMAKE_BUILD_TYPE=RelWithDebInfo }, | |
] | |
test: [unittest, functionaltest, oldtest] | |
exclude: | |
- test: unittest | |
build: { flavor: tsan } | |
- test: unittest | |
build: { flavor: puc-lua } | |
- test: oldtest | |
build: { flavor: tsan } | |
runs-on: ${{ matrix.build.runner }} | |
timeout-minutes: 45 | |
env: | |
CC: ${{ matrix.build.cc }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/checkout@v4 | |
- uses: actions/checkout@v4 | |
- uses: actions/checkout@v4 | |
- uses: actions/checkout@v4 | |
- uses: actions/checkout@v4 | |
- uses: actions/checkout@v4 | |
- uses: actions/checkout@v4 | |
- uses: actions/checkout@v4 | |
- uses: actions/checkout@v4 | |
- uses: actions/checkout@v4 | |
- uses: actions/checkout@v4 | |
- uses: actions/checkout@v4 | |
- uses: actions/checkout@v4 | |
- uses: actions/checkout@v4 | |
- uses: actions/checkout@v4 | |
- uses: actions/checkout@v4 | |
- uses: actions/checkout@v4 | |
- uses: actions/checkout@v4 | |
- uses: actions/checkout@v4 | |
- uses: actions/checkout@v4 | |
- uses: actions/checkout@v4 | |
- uses: actions/checkout@v4 | |
- uses: actions/checkout@v4 | |
- uses: actions/checkout@v4 | |
- uses: actions/checkout@v4 | |
- uses: actions/checkout@v4 | |
- uses: actions/checkout@v4 | |
- uses: actions/checkout@v4 | |
- uses: actions/checkout@v4 |