Skip to content

Update min and max versions of GCC used in CI tests of Ubuntu 24.10 t… #138

Update min and max versions of GCC used in CI tests of Ubuntu 24.10 t…

Update min and max versions of GCC used in CI tests of Ubuntu 24.10 t… #138

Workflow file for this run

name: Test on Linux
on:
push:
branches:
- master
pull_request:
workflow_dispatch:
inputs:
debug_enabled:
description: 'Run the tests with tmate debugging enabled (https://github.com/marketplace/actions/debugging-with-tmate)'
required: false
default: false
schedule:
# Run at 8:13 on the 1st day of each month
- cron: '13 8 1 * *'
jobs:
Ubuntu-24-10:
runs-on: ubuntu-latest
container: polettimarco/fruit-basesystem:ubuntu-24.10
env:
N_JOBS: 2
ASAN_OPTIONS: ""
OS: "linux"
COMPILER: ${{ matrix.config.compiler }}
STLARG: ${{ matrix.config.stlarg }}
steps:
- uses: actions/checkout@v3
- name: test
run: extras/scripts/postsubmit-helper.sh ${{ matrix.config.test }}
- name: Setup tmate session
uses: mxschmitt/action-tmate@v3
if: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.debug_enabled && failure() }}
strategy:
fail-fast: false
matrix:
config:
- {compiler: clang-19.0, stlarg: -stdlib=libstdc++, test: ReleasePlain}
- {compiler: clang-19.0, stlarg: -stdlib=libstdc++, test: DebugPlain}
- {compiler: clang-19.0, stlarg: -stdlib=libstdc++, test: DebugAsanUbsan}
- {compiler: gcc-14, test: ReleasePlain}
- {compiler: gcc-14, test: DebugPlain}
- {compiler: gcc-14, test: DebugAsanUbsan}
- {compiler: clang-11.0, stlarg: -stdlib=libstdc++, test: ReleasePlain}
- {compiler: clang-11.0, stlarg: -stdlib=libstdc++, test: DebugPlain}
# clang-11 has issues in the DebugAsanUbsan configuration
- {compiler: clang-13.0, stlarg: -stdlib=libstdc++, test: DebugAsanUbsan}
- {compiler: gcc-11, test: ReleasePlain}
- {compiler: gcc-11, test: DebugAsanUbsan}
Ubuntu-24-04:
runs-on: ubuntu-latest
container: polettimarco/fruit-basesystem:ubuntu-24.04
env:
N_JOBS: 2
ASAN_OPTIONS: ""
OS: "linux"
COMPILER: ${{ matrix.config.compiler }}
STLARG: ${{ matrix.config.stlarg }}
steps:
- uses: actions/checkout@v3
- name: test
run: extras/scripts/postsubmit-helper.sh ${{ matrix.config.test }}
- name: Setup tmate session
uses: mxschmitt/action-tmate@v3
if: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.debug_enabled && failure() }}
strategy:
fail-fast: false
matrix:
config:
- {compiler: clang-19.0, stlarg: -stdlib=libstdc++, test: ReleasePlain}
- {compiler: clang-19.0, stlarg: -stdlib=libstdc++, test: DebugPlain}
- {compiler: clang-19.0, stlarg: -stdlib=libstdc++, test: DebugAsanUbsan}
- {compiler: gcc-12, test: ReleasePlain}
- {compiler: gcc-12, test: DebugAsanUbsan}
- {compiler: clang-11.0, stlarg: -stdlib=libstdc++, test: ReleasePlain}
- {compiler: clang-11.0, stlarg: -stdlib=libstdc++, test: DebugPlain}
# clang-11 has issues in the DebugAsanUbsan configuration
- {compiler: clang-13.0, stlarg: -stdlib=libstdc++, test: DebugAsanUbsan}
- {compiler: gcc-9, test: ReleasePlain}
- {compiler: gcc-9, test: DebugAsanUbsan}
Ubuntu-22-04:
runs-on: ubuntu-latest
container: polettimarco/fruit-basesystem:ubuntu-22.04
env:
N_JOBS: 2
ASAN_OPTIONS: ""
OS: "linux"
COMPILER: ${{ matrix.config.compiler }}
STLARG: ${{ matrix.config.stlarg }}
steps:
- uses: actions/checkout@v3
- name: test
run: extras/scripts/postsubmit-helper.sh ${{ matrix.config.test }}
- name: Setup tmate session
uses: mxschmitt/action-tmate@v3
if: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.debug_enabled && failure() }}
strategy:
fail-fast: false
matrix:
config:
- {compiler: clang-19.0, stlarg: -stdlib=libstdc++, test: ReleasePlain}
- {compiler: clang-19.0, stlarg: -stdlib=libstdc++, test: DebugPlain}
- {compiler: clang-19.0, stlarg: -stdlib=libstdc++, test: DebugAsanUbsan}
- {compiler: gcc-12, test: ReleasePlain}
- {compiler: gcc-12, test: DebugAsanUbsan}
- {compiler: clang-11.0, stlarg: -stdlib=libstdc++, test: ReleasePlain}
- {compiler: clang-11.0, stlarg: -stdlib=libstdc++, test: DebugPlain}
# clang-11 has issues in the DebugAsanUbsan configuration
- {compiler: clang-13.0, stlarg: -stdlib=libstdc++, test: DebugAsanUbsan}
- {compiler: gcc-9, test: ReleasePlain}
- {compiler: gcc-9, test: DebugAsanUbsan}
Ubuntu-20-04:
runs-on: ubuntu-latest
container: polettimarco/fruit-basesystem:ubuntu-20.04
env:
N_JOBS: 2
ASAN_OPTIONS: ""
OS: "linux"
COMPILER: ${{ matrix.config.compiler }}
STLARG: ${{ matrix.config.stlarg }}
steps:
- uses: actions/checkout@v3
- name: test
run: extras/scripts/postsubmit-helper.sh ${{ matrix.config.test }}
- name: Setup tmate session
uses: mxschmitt/action-tmate@v3
if: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.debug_enabled && failure() }}
strategy:
fail-fast: false
matrix:
config:
- {compiler: clang-10.0, stlarg: -stdlib=libstdc++, test: ReleasePlain}
- {compiler: clang-10.0, stlarg: -stdlib=libstdc++, test: DebugPlain}
- {compiler: clang-10.0, stlarg: -stdlib=libstdc++, test: DebugAsanUbsan}
- {compiler: gcc-10, test: ReleasePlain}
- {compiler: gcc-10, test: DebugAsanUbsan}
- {compiler: clang-6.0, stlarg: -stdlib=libstdc++, test: ReleasePlain}
- {compiler: clang-6.0, stlarg: -stdlib=libstdc++, test: DebugPlain}
- {compiler: clang-6.0, stlarg: -stdlib=libstdc++, test: DebugAsanUbsan}
- {compiler: gcc-7, test: ReleasePlain}
- {compiler: gcc-7, test: DebugAsanUbsan}