Skip to content

Commit

Permalink
DEBUG: set ecbuild log level to debug
Browse files Browse the repository at this point in the history
  • Loading branch information
awnawab committed Apr 26, 2024
1 parent 305c194 commit 63eae2c
Showing 1 changed file with 18 additions and 6 deletions.
24 changes: 18 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ jobs:
compiler_cxx: g++-10
compiler_fc: gfortran-10
caching: true
cmake_options: "ECBUILD_Fortran_FLAGS=\"-fcray-pointer\""

- name: linux clang-12
os: ubuntu-20.04
Expand Down Expand Up @@ -168,6 +169,18 @@ jobs:
# Add mpirun to path for testing
[ -z ${MPI_HOME+x} ] || echo "${MPI_HOME}/bin" >> $GITHUB_PATH
- name: Clone ecbuild
run: |
git clone -b develop https://github.com/ecmwf/ecbuild.git $DEPS_DIR/download/ecbuild
echo "ecbuild_DIR=$DEPS_DIR/download/ecbuild" >> $GITHUB_ENV
echo "ECBUILD_MACRO=$DEPS_DIR/download/ecbuild/share/ecbuild/cmake" >> $GITHUB_ENV
- name: Clone and build Loki
run: |
git clone -b v0.2.2 https://github.com/ecmwf-ifs/loki.git $DEPS_DIR/download/loki
cmake -G Ninja -DCMAKE_MODULE_PATH=${{ env.ECBUILD_MACRO }} -DENABLE_TESTS=OFF -DENABLE_NO_INSTALL=OFF \
-B $DEPS_DIR/install/loki $DEPS_DIR/download/loki
echo "loki_DIR=$DEPS_DIR/install/loki" >> $GITHUB_ENV
- name: Build & Test
id: build-test
Expand All @@ -177,18 +190,17 @@ jobs:
force_build: true
cache_suffix: "${{ matrix.build_type }}-${{ env.CACHE_SUFFIX }}"
recreate_cache: ${{ matrix.caching == false }}
cmake: true
dependencies: |
ecmwf/ecbuild
ecmwf/eccodes
ecmwf-ifs/fiat
ecmwf-ifs/field_api@refs/tags/v0.2.2
ecmwf-ifs/loki@refs/tags/v0.2.2
dependency_branch: develop
dependency_cmake_options: |
ecmwf-ifs/fiat: "-G Ninja -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} -DENABLE_TESTS=OFF"
ecmwf/eccodes: "-G Ninja -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} -DENABLE_MEMFS=ON -DENABLE_JPG=OFF"
ecmwf-ifs/field_api: "-DCMAKE_BUILD_TYPE=${{ matrix.build_type }} -DENABLE_TESTS=OFF -DENABLE_ACC=OFF -DENABLE_SINGLE_PRECISION=OFF"
cmake_options: "-G Ninja -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} ${{ matrix.cmake_options }} -DENABLE_MPI=ON -DENABLE_LOKI=ON -DLOKI_MODE=idem-stack"
ecmwf-ifs/fiat: "-G Ninja -DCMAKE_MODULE_PATH=${{ env.ECBUILD_MACRO }} -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} -DENABLE_TESTS=OFF"
ecmwf/eccodes: "-G Ninja -DCMAKE_MODULE_PATH=${{ env.ECBUILD_MACRO }} -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} -DENABLE_MEMFS=ON -DENABLE_JPG=OFF"
ecmwf-ifs/field_api: "-G Ninja -DCMAKE_MODULE_PATH=${{ env.ECBUILD_MACRO }} -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} -DENABLE_TESTS=OFF -DENABLE_ACC=OFF -DENABLE_SINGLE_PRECISION=OFF"
cmake_options: "-G Ninja -DCMAKE_MODULE_PATH=${{ env.ECBUILD_MACRO }} -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} ${{ matrix.cmake_options }} -DENABLE_MPI=ON -DENABLE_LOKI=ON -DLOKI_MODE=idem-stack"
ctest_options: "${{ matrix.ctest_options }}"

- name: Verify tools
Expand Down

0 comments on commit 63eae2c

Please sign in to comment.