fix rank issue, add metadata support and debug mode, add wrf, openfoam, lammps jarvis packages, clean the code and add cmake flags #658
Workflow file for this run
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 | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
branches: [ "master" ] | |
env: | |
BUILD_TYPE: Release | |
jobs: | |
container-test-job: | |
runs-on: ubuntu-latest | |
container: | |
image: scslab/coeus:0.9.3 | |
steps: | |
- name: Check for dockerenv file | |
run: (ls /.dockerenv && echo Found dockerenv) || (echo No dockerenv) | |
- name: Get Sources | |
uses: actions/checkout@v3 | |
with: | |
ref: ${{ github.ref }} | |
- name: Configure CMake | |
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} | |
- name: lint | |
run: cd ${{github.workspace}}/build && make lint | |
- name: Build | |
# Build your program with the given configuration | |
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} | |
- name: Test | |
run: cd ${{github.workspace}}/build && ctest --verbose | |