(actions) add GH config

This commit is contained in:
Matthijs van der Burgh 2022-10-03 11:53:42 +02:00
parent 806c519c91
commit 9537f3ce41
1 changed files with 36 additions and 0 deletions

36
.github/workflows/main.yml vendored Normal file
View File

@ -0,0 +1,36 @@
name: CI
on: [push, pull_request]
jobs:
build_and_test:
runs-on: ubuntu-latest
strategy:
matrix:
include:
- compiler: gcc
compiler_version: 7
- compiler: gcc
compiler_version: 8
- compiler: gcc
compiler_version: 9
- compiler: gcc
compiler_version: 10
- compiler: gcc
compiler_version: 11
- compiler: gcc
compiler_version: latest
compiler: ${{ matrix.compiler }}
gcc: ${{ matrix.compiler_version }}
steps:
- uses: actions/checkout@v3
- name: c++ version
run: |
c++ --version
- name: Build
run: |
make all
- name: Test
run: ./exprtk_test