Skip to content

Commit

Permalink
Merge pull request #80 from aprokop/disable_tests_default
Browse files Browse the repository at this point in the history
Disable tests by default
  • Loading branch information
cedricchevalier19 authored Jun 12, 2024
2 parents fc25da1 + 453503a commit a2dea10
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 13 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/linux-install.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
- README.md
- 'docs/**'
types: [ opened, reopened, synchronize ]

jobs:
Kokkos-master-OpenMPI:
env:
Expand Down Expand Up @@ -39,7 +39,7 @@ jobs:
cmake --build "$KOKKOS_BUILD" --parallel $(nproc) -t install
- name: Configure KokkosComm
run: |
cmake -S "$COMM_SRC" -B "$COMM_BUILD" -DKokkos_ROOT="$KOKKOS_INSTALL" -DCMAKE_BUILD_TYPE=RelWithDebInfo -DKokkosComm_ENABLE_TESTS=OFF -DKokkosComm_ENABLE_PERFTESTS=OFF -DCMAKE_INSTALL_PREFIX="$COMM_INSTALL"
cmake -S "$COMM_SRC" -B "$COMM_BUILD" -DKokkos_ROOT="$KOKKOS_INSTALL" -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_INSTALL_PREFIX="$COMM_INSTALL"
- name: Build and Install KokkosComm
run: |
VERBOSE=1 cmake --build "$COMM_BUILD" --target install
Expand All @@ -63,4 +63,4 @@ jobs:
VERBOSE=1 cmake --build "$COMM_PERF_TESTS_BUILD"
- name: Run KokkosComm Perf Tests against Install
run: |
ctest -V --test-dir "$COMM_PERF_TESTS_BUILD"
ctest -V --test-dir "$COMM_PERF_TESTS_BUILD"
8 changes: 4 additions & 4 deletions .github/workflows/linux.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
- README.md
- 'docs/**'
types: [ opened, reopened, synchronize ]

jobs:
Kokkos-040200-OpenMPI-OpenMP-Release:
env:
Expand Down 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
cmake -S "$COMM_SRC" -B "$COMM_BUILD" -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,8 +76,8 @@ 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
cmake -S "$COMM_SRC" -B "$COMM_BUILD" -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: |
ctest -V --test-dir "$COMM_BUILD"
ctest -V --test-dir "$COMM_BUILD"
8 changes: 4 additions & 4 deletions .github/workflows/osx.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
- README.md
- 'docs/**'
types: [ opened, reopened, synchronize ]

jobs:
Kokkos-040200-OpenMPI-Threads-Debug:
env:
Expand Down 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
cmake -S "$COMM_SRC" -B "$COMM_BUILD" -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,8 +70,8 @@ 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
cmake -S "$COMM_SRC" -B "$COMM_BUILD" -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: |
ctest -V --test-dir "$COMM_BUILD"
ctest -V --test-dir "$COMM_BUILD"
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
cmake_minimum_required(VERSION 3.12)
project(KokkosComm VERSION 0.0.2)

option(KokkosComm_ENABLE_PERFTESTS "Build KokkosComm perf tests" ON)
option(KokkosComm_ENABLE_TESTS "Build KokkosComm perf tests" ON)
option(KokkosComm_ENABLE_PERFTESTS "Build KokkosComm perf tests" OFF)
option(KokkosComm_ENABLE_TESTS "Build KokkosComm perf tests" OFF)


## resolve options
Expand Down

0 comments on commit a2dea10

Please sign in to comment.