diff --git a/.github/dependabot.yaml b/.github/dependabot.yaml new file mode 100644 index 0000000000000000000000000000000000000000..ea74d9b6ffe9f0fe52659ecd7d25a86a6f109c60 --- /dev/null +++ b/.github/dependabot.yaml @@ -0,0 +1,10 @@ +# SPDX-FileCopyrightText: 2022-2025 Helmholtz-Zentrum hereon GmbH +# SPDX-License-Identifier: CC0-1.0 +# SPDX-FileContributor: Carsten Lemmen <carsten.lemmen@hereon.de + +version: 2 +updates: + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "weekly" diff --git a/.github/workflows/cmake-multi-platform.yaml b/.github/workflows/cmake-multi-platform.yaml index 8b2675e44327cf209e2b35088bf6d32b66ffa60c..f9c2668e14df3266a9a4b3eaa8d143f39a047c7a 100644 --- a/.github/workflows/cmake-multi-platform.yaml +++ b/.github/workflows/cmake-multi-platform.yaml @@ -10,7 +10,7 @@ on: push: branches: ["gmp"] pull_request: - branches: ["gmp"] + branches: ["main"] jobs: build: @@ -49,7 +49,14 @@ jobs: c_compiler: cl steps: - - uses: actions/checkout@v4 + - name: Checkout external repository dummy1 + run: | + GOTMDIR=$(mktemp -d) + git clone --depth=1 --branch=v6.0.7 --recurse-submodules https://github.com/gotm-model/code.git "$GOTMDIR" + echo "GOTMDIR=$GOTMDIR" >> $GITHUB_ENV + + - name: Checkout oxypom repository + uses: actions/checkout@v4 - name: Set reusable strings # Turn repeated input strings (such as the build output directory) into step outputs. These step outputs can be used throughout the workflow file. @@ -62,12 +69,15 @@ jobs: # Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make. # See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type run: > - cmake -B ${{ steps.strings.outputs.build-output-dir }} + cmake -S ${GOTMDIR} -B ${{ steps.strings.outputs.build-output-dir }} -DCMAKE_CXX_COMPILER=${{ matrix.cpp_compiler }} -DCMAKE_C_COMPILER=${{ matrix.c_compiler }} + -DCMAKE_Fortran_COMPILER=${{ matrix.f_compiler }} -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} - -S ${{ github.workspace }} + -DGOTM_USE_FABM=ON -DFABM_EXTRA_INSTITUTES=OXYPOM -DFABM_OXYPOM_BASE=${{ github.workspace }}/src - name: Build # Build your program with the given configuration. Note that --config is needed because the default Windows generator is a multi-config generator (Visual Studio generator). - run: cmake --build ${{ steps.strings.outputs.build-output-dir }} --config ${{ matrix.build_type }} + run: > + cmake --B ${{ steps.strings.outputs.build-output-dir }} + -build ${{ steps.strings.outputs.build-output-dir }} --config ${{ matrix.build_type }} diff --git a/.github/workflows/fabm.yaml b/.github/workflows/fabm.yaml index b2c7d1e06e68b213f7099e6ba4bd0a0a6b12670e..ed6e95abe0c3aecfbbdb11529bc949dd5dd0ad94 100644 --- a/.github/workflows/fabm.yaml +++ b/.github/workflows/fabm.yaml @@ -8,6 +8,7 @@ on: push: branches: - main + - gmp pull_request: branches: - main