Skip to content

ci: multi-compiler testing #56

ci: multi-compiler testing

ci: multi-compiler testing #56

Workflow file for this run

name: USDT CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build-and-test:
strategy:
fail-fast: false
matrix:
runs-on: [ 'ubuntu-latest', 'ubuntu-24.04-arm' ]
shared: [ 0, 1 ]
gcc-version: [ 10, 11, 12, 13, 14 ]
runs-on: ${{ matrix.runs-on }}
name: ${{ endsWith(matrix.runs-on, '-arm') && 'arm64' || 'x86_64' }} SHARED=${{ matrix.shared }} gcc-${{ matrix.gcc-version }}
env:
GCC_VERSION: ${{ matrix.gcc-version }}
SHARED: ${{ matrix.shared }}
steps:
- uses: actions/checkout@v4
- name: Install prerequisites
run: sudo -E .github/scripts/setup.sh
- name: Build SHARED=${{ matrix.shared }}
run: .github/scripts/build.sh
- name: Test SHARED=${{ matrix.shared }}
run: make -C tests test