Skip to content

Commit

Permalink
Run all tests in containers, add ubuntu 24.04.
Browse files Browse the repository at this point in the history
  • Loading branch information
sobomax committed Jun 16, 2024
1 parent 4eb67fa commit ac75ca3
Showing 1 changed file with 27 additions and 15 deletions.
42 changes: 27 additions & 15 deletions .github/workflows/rtp.io.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,38 +16,50 @@ jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: ${{ matrix.os }}
runs-on: ubuntu-latest
container:
image: ubuntu:${{ matrix.os }}
env:
COMPILER: ${{ matrix.compiler }}
BUILD_OS: ${{ matrix.os }}
BUILD_OS: ubuntu-${{ matrix.os }}

strategy:
fail-fast: false
matrix:
os: [ubuntu-20.04]
compiler: ['gcc', 'clang', 'gcc-9', 'gcc-10', 'clang-9', 'clang-10']
os: [20.04, 22.04, 24.04]
compiler: ['gcc', 'clang']
include:
- os: ubuntu-22.04
compiler: 'gcc'
- os: ubuntu-22.04
compiler: 'clang'
- os: ubuntu-22.04
- os: 20.04
compiler: 'gcc-9'
- os: 20.04
compiler: 'gcc-10'
- os: 20.04
compiler: 'clang-9'
- os: 20.04
compiler: 'clang-10'
- os: 22.04
compiler: 'gcc-11'
- os: ubuntu-22.04
- os: 22.04
compiler: 'gcc-12'
- os: ubuntu-22.04
- os: 22.04
compiler: 'clang-11'
- os: ubuntu-22.04
- os: 22.04
compiler: 'clang-12'
- os: ubuntu-22.04
- os: 22.04
compiler: 'clang-13'
- os: ubuntu-22.04
- os: 22.04
compiler: 'clang-14'
- os: ubuntu-22.04
- os: 22.04
compiler: 'clang-15'

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- name: Install git
run: |
apt-get update
apt-get install -y git lsb-release gnupg2 wget
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v3
with:
Expand Down

0 comments on commit ac75ca3

Please sign in to comment.