Merge pull request #57 from sandialabs/dev-weh #195
This file contains hidden or 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: Linux Build and Tests | |
on: | |
workflow_dispatch: | |
push: | |
branches: [ main, dev, public, private ] | |
pull_request: | |
branches: [ main, dev, public, private ] | |
jobs: | |
coek-simple-build: | |
runs-on: ubuntu-latest | |
steps: | |
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it | |
- uses: actions/checkout@v3 | |
- name: run cmake | |
run: | | |
mkdir build | |
cd build | |
cmake -Dinstall_all_tpls=OFF -Dwith_python=OFF .. | |
- name: build | |
run: | | |
cd build | |
make | |
coek-build-and-test-with-tpls: | |
runs-on: ubuntu-latest | |
steps: | |
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it | |
- uses: actions/checkout@v3 | |
- name: run cmake | |
run: | | |
mkdir build | |
cd build | |
cmake -Dwith_python=OFF -Dwith_tests=ON -Dwith_debug=ON .. | |
- name: build | |
run: | | |
cd build | |
make install_tpls | |
make | |
- name: test | |
run: | | |
cd build | |
make test | |
coek-build-and-test-with-cpp14: | |
runs-on: ubuntu-latest | |
steps: | |
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it | |
- uses: actions/checkout@v3 | |
- name: run cmake | |
run: | | |
mkdir build | |
cd build | |
cmake -DCMAKE_CXX_STANDARD=14 -Dwith_python=OFF -Dwith_tests=ON -Dwith_debug=ON .. | |
- name: build | |
run: | | |
cd build | |
make install_tpls | |
make | |
- name: test | |
run: | | |
cd build | |
make test |