Skip to content

Commit

Permalink
CI: switch to loki branch with fix
Browse files Browse the repository at this point in the history
  • Loading branch information
awnawab committed Apr 29, 2024
1 parent 0e5b417 commit 1893eb6
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 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: "-DECBUILD_Fortran_FLAGS=-fcray-pointer"

- name: linux clang-12
os: ubuntu-20.04
Expand All @@ -55,6 +56,7 @@ jobs:
compiler_cxx: clang++-12
compiler_fc: gfortran-10
caching: true
cmake_options: "-DECBUILD_Fortran_FLAGS=-fcray-pointer"

- name: linux clang-12
build_type: Release
Expand All @@ -64,6 +66,7 @@ jobs:
compiler_cxx: clang++-12
compiler_fc: gfortran-10
caching: true
cmake_options: "-DECBUILD_Fortran_FLAGS=-fcray-pointer"

# Disable due to problematic environment
# - name: linux nvhpc-21.9
Expand Down Expand Up @@ -91,6 +94,7 @@ jobs:
compiler_cxx: ~
compiler_fc: gfortran-11
caching: true
cmake_options: "-DECBUILD_Fortran_FLAGS=-fcray-pointer -DPython3_EXECUTABLE=$(which python3)"

runs-on: ${{ matrix.os }}
steps:
Expand All @@ -115,6 +119,11 @@ jobs:
brew install libomp
brew install libaec
brew install coreutils
brew install pyenv
pyenv install 3.11.4
pyenv global 3.11.4
echo "PATH=\"~/.pyenv/shims:$PATH\"" >> $GITHUB_PATH
else
sudo apt-get update
sudo apt-get install libaec-dev
Expand Down Expand Up @@ -176,18 +185,19 @@ 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
ecmwf-ifs/loki@nabr-setuptools-scm-without-git
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"
ecmwf-ifs/field_api: "-G Ninja -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} -DENABLE_TESTS=OFF -DENABLE_ACC=OFF -DENABLE_SINGLE_PRECISION=OFF"
ecmwf-ifs/loki: "-G Ninja -DENABLE_TESTS=OFF -DENABLE_EDITABLE=ON"
cmake_options: "-G Ninja -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} ${{ matrix.cmake_options }} -DENABLE_MPI=ON -DENABLE_LOKI=ON -DLOKI_MODE=idem-stack"
ctest_options: "${{ matrix.ctest_options }}"

Expand Down

0 comments on commit 1893eb6

Please sign in to comment.