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 +