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 51a36d9
Showing 1 changed file with 13 additions and 5 deletions.
18 changes: 13 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,16 @@ 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 ${{ runner.temp }}/download/ecbuild
echo "ecbuild_DIR=${{ runner.temp }}/download/ecbuild" >> $GITHUB_ENV
- name: Clone and build Loki
run: |
git clone -b v0.2.2 https://github.com/ecmwf-ifs/loki.git ${{ runner.temp }}/download/loki
cmake -G Ninja -DCMAKE_MODULE_PATH=${{ runner.temp }}/download/ecbuild/share/ecbuild/cmake -DENABLE_TESTS=OFF -DENABLE_NO_INSTALL=OFF -B ${{ runner.temp }}/install/loki
echo "loki_DIR=${{ runner.temp }}/install/loki" >> $GITHUB_ENV
- name: Build & Test
id: build-test
Expand All @@ -176,19 +186,17 @@ jobs:
self_coverage: false
force_build: true
cache_suffix: "${{ matrix.build_type }}-${{ env.CACHE_SUFFIX }}"
recreate_cache: ${{ matrix.caching == false }}
recreate_cache: 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/field_api: "-G Ninja -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 -DECBUILD_LOG_LEVEL=DEBUG"
ctest_options: "${{ matrix.ctest_options }}"

- name: Verify tools
Expand Down

0 comments on commit 51a36d9

Please sign in to comment.