Update OpenMP offloading solution using in Hackathon. #597
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: codecov | |
on: [push, pull_request] | |
jobs: | |
run: | |
runs-on: ubuntu-latest | |
steps: | |
- name: fetch | |
uses: actions/checkout@v3 | |
- name: install | |
run: sudo apt-get update ; sudo apt-get install gnuplot lcov libgsl-dev libnetcdf-dev libhdf5-dev | |
- name: make | |
run: cd ./src ; STATIC=0 COV=1 make | |
- name: check | |
run: cd ./src ; STATIC=0 COV=1 make check | |
- name: coverage | |
run: cd ./src ; STATIC=0 COV=1 make coverage | |
- name: upload | |
uses: codecov/codecov-action@v3 | |
with: | |
directory: ./src/ |