Skip to content

Implement CI with GHA #1

Implement CI with GHA

Implement CI with GHA #1

Workflow file for this run

name: Test
on:
pull_request: {}
push:
branches:
- master
jobs:
gcc:
# Expect this to fail when next Ubuntu version promoted
strategy:
matrix:
gcc: [ '9', '10', '11', '12' ]
os: [ 'ubuntu-latest' ]
runs-on: "${{ matrix.os }}"
name: "Build on ${{ matrix.os }} with gcc v${{ matrix.gcc }}"
steps:
- name: Set up GCC
uses: egor-tensin/setup-gcc@v1
with:
version: ${{ matrix.gcc }}
- name: Test
run: cc --version