Skip to content

Commit 7b3b091

Browse files
Uses tests with and without OpenMP in the CMake tester. Remove some additional flags from the Coverage test
1 parent 21a69e0 commit 7b3b091

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

.github/workflows/cmake.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,7 @@ on:
3434
- '!**md'
3535

3636
env:
37-
CFLAGS: "-Wall -pedantic -fopenmp"
38-
FFLAGS: "-fimplicit-none -frecursive -fopenmp -fcheck=all"
37+
CFLAGS: "-Wall -pedantic"
3938
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
4039

4140
defaults:
@@ -55,11 +54,15 @@ jobs:
5554

5655
env:
5756
BUILD_TYPE: Release
57+
FFLAGS: ${{ matrix.fflags }}
5858

5959
strategy:
6060
fail-fast: true
6161
matrix:
6262
os: [ macos-latest, ubuntu-latest ]
63+
fflags: [
64+
"-fimplicit-none -frecursive -fcheck=all",
65+
"-fimplicit-none -frecursive -fcheck=all -fopenmp" ]
6366

6467
steps:
6568

@@ -111,6 +114,7 @@ jobs:
111114
runs-on: ubuntu-latest
112115
env:
113116
BUILD_TYPE: Coverage
117+
FFLAGS: "-fopenmp"
114118
steps:
115119

116120
- name: Checkout LAPACK

.github/workflows/makefile.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ on:
3232
- '!**md'
3333

3434
env:
35-
CFLAGS: "-Wall -pedantic -fopenmp"
35+
CFLAGS: "-Wall -pedantic"
3636
FFLAGS: "-fimplicit-none -frecursive -fopenmp -fcheck=all"
3737

3838
defaults:

0 commit comments

Comments
 (0)