added GH action #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI-testing | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
branches: [ "master" ] | |
jobs: | |
job2: | |
name: CI-testing | |
strategy: | |
matrix: | |
os: [ubuntu-20.04, ubuntu-22.04] | |
compiler: [g++, clang++] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: -- boost install -- | |
run: sudo apt-get install -y libboost-all-dev | |
- name: check version | |
run: gcc --version; clang --version | |
- name: --- make demo --- | |
run: make demo | |
- name: --- make test --- | |
run: make test |