Skip to content

Commit c3c74b4

Browse files
committed
CI: Compile with -Werror
1 parent 551fd16 commit c3c74b4

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/ubuntu.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ jobs:
1111
name: GCC DP 2D Profiling
1212
runs-on: ubuntu-20.04
1313
if: github.event.pull_request.draft == false
14+
env:
15+
CXXFLAGS: "-Werror"
1416
steps:
1517
- uses: actions/checkout@v3
1618
- uses: actions/checkout@v3
@@ -26,4 +28,5 @@ jobs:
2628
run: |
2729
make -j 2 \
2830
AMREX_HOME=./amrex \
29-
USE_PROFPARSER=TRUE
31+
USE_PROFPARSER=TRUE \
32+
EXTRACXXFLAGS="${CXXFLAGS}"

0 commit comments

Comments
 (0)