Skip to content

Commit

Permalink
Test
Browse files Browse the repository at this point in the history
  • Loading branch information
reuterbal committed Dec 9, 2024
1 parent 6dd2d4b commit ad316c2
Showing 1 changed file with 4 additions and 18 deletions.
22 changes: 4 additions & 18 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,7 @@ jobs:
cuda: True
hip: False
sycl: False
cuda_arch: 80

runs-on: [self-hosted, linux, hpc]
env:
Expand All @@ -263,7 +264,6 @@ jobs:
- python3
cmake_options:
- -DENABLE_ACC=${{ matrix.acc }}
- -DFIELD_API_ENABLE_ACC=${{ matrix.acc }}
- -DENABLE_CLOUDSC_GPU_SCC=${{ matrix.acc }}
- -DENABLE_CLOUDSC_GPU_SCC_HOIST=${{ matrix.acc }}
- -DENABLE_CLOUDSC_GPU_SCC_STACK=${{ matrix.acc }}
Expand All @@ -280,26 +280,12 @@ jobs:
- -DENABLE_CLOUDSC_LOKI=ON
- -DENABLE_SINGLE_PRECISION=${{ matrix.prec == 'SP' }}
- -DENABLE_DOUBLE_PRECISION=${{ matrix.prec == 'DP' }}
- -DCMAKE_CUDA_ARCHITECTURES=${{ matrix.cuda_arch }}
dependencies:
ecmwf-ifs/loki:
version: v0.2.9
cmake_options:
- -DENABLE_TESTS=OFF
- -DENABLE_FCKIT_VENV=ON
ecmwf-ifs/fiat:
version: 1.4.1
cmake_options:
- -DENABLE_TESTS=OFF
- -DENABLE_SINGLE_PRECISION=${{ matrix.prec == 'SP' }}
- -DENABLE_DOUBLE_PRECISION=${{ matrix.prec == 'DP' }}
ecmwf-ifs/field_api:
version: v0.3.3
cmake_options:
- -DENABLE_TESTS=OFF
- -DENABLE_ACC=${{ matrix.acc }}
- -DENABLE_CUDA=${{ matrix.cuda }}
- -DENABLE_SINGLE_PRECISION=${{ matrix.prec == 'SP' }}
- -DENABLE_DOUBLE_PRECISION=${{ matrix.prec == 'DP' }}
template: |
{% for module in modules %}
module load {{module}}
Expand All @@ -312,7 +298,7 @@ jobs:
git remote add origin ${{ github.server_url }}/{{name}}
git fetch origin {{options['version']}}
git reset --hard FETCH_HEAD
cmake -G Ninja -S . -B build \
cmake -S . -B build \
{% for name in dependencies %}
{% set org, proj = name.split('/') %}
-D{{proj}}_ROOT=$BASEDIR/{{name}}/installation \
Expand All @@ -329,7 +315,7 @@ jobs:
git fetch origin ${{ github.sha }}
git reset --hard FETCH_HEAD
popd
cmake -G Ninja -S ${{ github.repository }} -B build \
cmake -S ${{ github.repository }} -B build \
{% for name in dependencies %}
{% set org, proj = name.split('/') %}
-D{{proj}}_ROOT=$BASEDIR/{{name}}/installation \
Expand Down

0 comments on commit ad316c2

Please sign in to comment.