Merge first part of openacc with consistence between cpu and gpu #16
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: MMG build | |
on: | |
push: | |
branches: [ "master" ] | |
paths-ignore: | |
- '**/README.md' | |
pull_request: | |
branches: [ "master" ] | |
paths-ignore: | |
- '**/README.md' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: get mmg | |
run: | | |
git clone https://github.com/MmgTools/mmg.git | |
cd mmg; mkdir build; cd build | |
cmake .. | |
make | |
- name: get boost | |
run: sudo apt install libboost-program-options-dev | |
- name: make 2d with mmg | |
run: make clean; make ndims=2 usemmg=1 | |
- name: make 3d with mmg | |
run: make clean; make ndims=3 usemmg=1 | |