Skip to content

Commit

Permalink
Warnings as errors in the CI
Browse files Browse the repository at this point in the history
  • Loading branch information
cedricchevalier19 committed Jun 12, 2024
1 parent 3d31967 commit 2915455
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/linux.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
cmake --build "$KOKKOS_BUILD" --parallel $(nproc) -t install
- name: Build KokkosComm
run: |
cmake -S "$COMM_SRC" -B "$COMM_BUILD" -DKokkos_ROOT="$KOKKOS_INSTALL" -DCMAKE_BUILD_TYPE=Release -DKokkosComm_ENABLE_TESTS=ON -DKokkosComm_ENABLE_PERFTESTS=ON
cmake -S "$COMM_SRC" -B "$COMM_BUILD" -DCMAKE_CXX_FLAGS="-Werror" -DKokkos_ROOT="$KOKKOS_INSTALL" -DCMAKE_BUILD_TYPE=Release -DKokkosComm_ENABLE_TESTS=ON -DKokkosComm_ENABLE_PERFTESTS=ON
VERBOSE=1 cmake --build "$COMM_BUILD"
- name: Test KokkosComm
run: |
Expand Down Expand Up @@ -76,7 +76,7 @@ jobs:
cmake --build "$KOKKOS_BUILD" --parallel $(nproc) -t install
- name: Build KokkosComm
run: |
cmake -S "$COMM_SRC" -B "$COMM_BUILD" -DKokkos_ROOT="$KOKKOS_INSTALL" -DCMAKE_BUILD_TYPE=Debug -DKokkosComm_ENABLE_TESTS=ON -DKokkosComm_ENABLE_PERFTESTS=ON
cmake -S "$COMM_SRC" -B "$COMM_BUILD" -DCMAKE_CXX_FLAGS="-Werror" -DKokkos_ROOT="$KOKKOS_INSTALL" -DCMAKE_BUILD_TYPE=Debug -DKokkosComm_ENABLE_TESTS=ON -DKokkosComm_ENABLE_PERFTESTS=ON
VERBOSE=1 cmake --build "$COMM_BUILD"
- name: Test KokkosComm
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/osx.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
cmake --build "$KOKKOS_BUILD" --parallel $(nproc) -t install
- name: Build KokkosComm
run: |
cmake -S "$COMM_SRC" -B "$COMM_BUILD" -DKokkos_ROOT="$KOKKOS_INSTALL" -DCMAKE_BUILD_TYPE=Debug -DKokkosComm_ENABLE_TESTS=ON -DKokkosComm_ENABLE_PERFTESTS=ON
cmake -S "$COMM_SRC" -B "$COMM_BUILD" -DCMAKE_CXX_FLAGS="-Werror" -DKokkos_ROOT="$KOKKOS_INSTALL" -DCMAKE_BUILD_TYPE=Debug -DKokkosComm_ENABLE_TESTS=ON -DKokkosComm_ENABLE_PERFTESTS=ON
VERBOSE=1 cmake --build "$COMM_BUILD"
- name: Test KokkosComm
run: |
Expand Down Expand Up @@ -70,7 +70,7 @@ jobs:
cmake --build "$KOKKOS_BUILD" --parallel $(nproc) -t install
- name: Build KokkosComm
run: |
cmake -S "$COMM_SRC" -B "$COMM_BUILD" -DKokkos_ROOT="$KOKKOS_INSTALL" -DCMAKE_BUILD_TYPE=Release -DKokkosComm_ENABLE_TESTS=ON -DKokkosComm_ENABLE_PERFTESTS=ON
cmake -S "$COMM_SRC" -B "$COMM_BUILD" -DCMAKE_CXX_FLAGS="-Werror" -DKokkos_ROOT="$KOKKOS_INSTALL" -DCMAKE_BUILD_TYPE=Release -DKokkosComm_ENABLE_TESTS=ON -DKokkosComm_ENABLE_PERFTESTS=ON
VERBOSE=1 cmake --build "$COMM_BUILD"
- name: Test KokkosComm
run: |
Expand Down

0 comments on commit 2915455

Please sign in to comment.