Skip to content

Commit

Permalink
adding no openmp build
Browse files Browse the repository at this point in the history
  • Loading branch information
edwardhartnett committed Oct 5, 2020
1 parent 8eaf807 commit f52defe
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build and Test
name: with OPENMP
on: [push, pull_request]

jobs:
Expand Down
29 changes: 29 additions & 0 deletions .github/workflows/no_openmp.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: without OPENMP
on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-latest
steps:

- name: checkout-sp
uses: actions/checkout@v2
with:
path: sp

- name: build_sp
env:
FC: gfortran-9
CC: gcc-9
run: |
cd sp
mkdir build
cd build
cmake ..
make -j2
- name: test_sp
run: |
cd $GITHUB_WORKSPACE/sp/build
make test

0 comments on commit f52defe

Please sign in to comment.