Skip to content

Implement CI with GHA #12

Implement CI with GHA

Implement CI with GHA #12

Workflow file for this run

name: Test
on:
pull_request: {}
push:
branches:
- master
jobs:
cc:
# Expect this to fail when next Ubuntu version promoted
strategy:
matrix:
cc:
- gcc-9
- gcc-10
- gcc-11
- gcc-12
- clang-11
- clang-13
- clang-14
- clang-15
os: [ 'ubuntu-latest' ]
runs-on: "${{ matrix.os }}"
name: "Build on ${{ matrix.os }} with ${{ matrix.cc }}"
steps:
- uses: actions/checkout@v3
- name: "Install ${{ matrix.cc }}"
run: dpkg-query -W "${{ matrix.cc }}" >/dev/null 2>&1 || sudo apt-get install -qq "${{ matrix.cc }}"
- name: Build
env:
CC: ${{ matrix.cc }}
CXX: ${{ matrix.cc }}
run: |
./autogen.sh \
--enable-textui \
--enable-delay=2 \
--enable-evdev-rate=1000,250 \
;
make