From 9537f3ce414fc66759b468ffdb2e8d83cf1a880d Mon Sep 17 00:00:00 2001 From: Matthijs van der Burgh Date: Mon, 3 Oct 2022 11:53:42 +0200 Subject: [PATCH] (actions) add GH config --- .github/workflows/main.yml | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..7901c75 --- /dev/null +++ b/.github/workflows/main.yml @@ -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 +