name: Compat Tests on: [push, pull_request] # Cancel any preceding run on the pull request. concurrency: group: compat-test-${{ github.event.pull_request.number || github.ref }} cancel-in-progress: ${{ github.ref != 'refs/heads/criu-dev' }} jobs: build: runs-on: ubuntu-22.04 strategy: matrix: target: [GCC, CLANG] steps: - uses: actions/checkout@v4 - name: Run Compat Tests (${{ matrix.target }}) run: sudo -E make -C scripts/ci local COMPAT_TEST=y ${{ matrix.target }}=1