mirror of
https://github.com/ArashPartow/exprtk.git
synced 2025-07-18 03:17:28 +00:00
(actions) add GH config
This commit is contained in:
36
.github/workflows/main.yml
vendored
Normal file
36
.github/workflows/main.yml
vendored
Normal 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
|
||||||
|
|
Reference in New Issue
Block a user