Skip to content

Commit

Permalink
Turn off some CI tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dustinswales committed Jan 17, 2025
1 parent c23d5aa commit b059872
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 29 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/ci_build_scm_ubuntu_22.04.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: CI test to build the CCPP-SCM on ubuntu v22.04

on: [pull_request,workflow_dispatch]
#on: [pull_request,workflow_dispatch]
on: [workflow_dispatch]

jobs:
build_scm:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/ci_run_scm_DEPHY.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: CI test to run the SCM with DEPHY v1 data

on: [pull_request,workflow_dispatch]
#on: [pull_request,workflow_dispatch]
on: [workflow_dispatch]

jobs:
run-scm-DEPHY:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/ci_scm_ccpp_prebuild.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# CI test to run SCM ccpp_prebuild script
name: build

on: [push, pull_request, workflow_dispatch]
#on: [push, pull_request, workflow_dispatch]
on: [workflow_dispatch]

jobs:
build-linux:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/ci_test_docker.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: build_test_and_push_docker

on: [pull_request,workflow_dispatch]
#on: [pull_request,workflow_dispatch]
on: [workflow_dispatch]

env:
TEST_TAG: dtcenter/ccpp-scm:test
Expand Down
25 changes: 0 additions & 25 deletions scm/src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -57,31 +57,6 @@ SET(CCPP_CAP_FILES "${CMAKE_BINARY_DIR}/ccpp" CACHE

SET(CCPP_FRAMEWORK ${CCPP_ROOT}/ccpp/framework/scripts)

if (${CMAKE_Fortran_COMPILER_ID} MATCHES "GNU")
MESSAGE(STATUS "gfortran being used.")
ADD_COMPILE_OPTIONS(-ggdb)
ADD_COMPILE_OPTIONS(-fbacktrace)
ADD_COMPILE_OPTIONS(-cpp)
ADD_COMPILE_OPTIONS(-fcray-pointer)
ADD_COMPILE_OPTIONS(-ffree-line-length-none)
ADD_COMPILE_OPTIONS(-fno-range-check)
elseif (${CMAKE_Fortran_COMPILER_ID} MATCHES "Intel")
MESSAGE(STATUS "ifort being used.")
ADD_COMPILE_OPTIONS(-traceback)
ADD_COMPILE_OPTIONS(-fpp)
ADD_COMPILE_OPTIONS(-g)
ADD_COMPILE_OPTIONS(-fno-alias)
ADD_COMPILE_OPTIONS(-auto)
ADD_COMPILE_OPTIONS(-safe-cray-ptr)
ADD_COMPILE_OPTIONS(-ftz)
ADD_COMPILE_OPTIONS(-assume byterecl)
ADD_COMPILE_OPTIONS(-nowarn)
ADD_COMPILE_OPTIONS(-sox)
ADD_COMPILE_OPTIONS(-align)
else (${CMAKE_Fortran_COMPILER_ID} MATCHES "GNU")
message (WARNING "This program has only been compiled with gfortran and ifort. If another compiler is needed, the appropriate flags SHOULD be added in ${CMAKE_SOURCE_DIR}/CMakeLists.txt")
endif (${CMAKE_Fortran_COMPILER_ID} MATCHES "GNU")

#------------------------------------------------------------------------------
# CMake Modules
# Set the CMake module path
Expand Down

0 comments on commit b059872

Please sign in to comment.