From 1c283683faf492298391c878983cdea54d4a5b55 Mon Sep 17 00:00:00 2001 From: Thomas Helfer Date: Mon, 3 Aug 2026 11:25:08 +0200 Subject: [PATCH 01/23] Add CI on Windows with Visual Studio and Mingw --- .github/workflows/build_win_mingw.yml | 29 +++++++++++++++++++++++++++ .github/workflows/build_win_msvc.yml | 25 +++++++++++++++++++++++ 2 files changed, 54 insertions(+) create mode 100644 .github/workflows/build_win_mingw.yml create mode 100644 .github/workflows/build_win_msvc.yml diff --git a/.github/workflows/build_win_mingw.yml b/.github/workflows/build_win_mingw.yml new file mode 100644 index 000000000..8ee1e3170 --- /dev/null +++ b/.github/workflows/build_win_mingw.yml @@ -0,0 +1,29 @@ +name: Windows MinGW build +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + msys2-ucrt64: + runs-on: windows-latest + defaults: + run: + shell: msys2 {0} + steps: + - uses: actions/checkout@v3 + - uses: msys2/setup-msys2@v2 + with: + msystem: UCRT64 + update: true + install: git mingw-w64-ucrt-x86_64-gnuplot mingw-w64-ucrt-x86_64-gcc-libgfortran mingw-w64-ucrt-x86_64-gcc-fortran mingw-w64-ucrt-x86_64-cc mingw-w64-ucrt-x86_64-cc mingw-w64-ucrt-x86_64-cmake mingw-w64-ucrt-x86_64-ninja + - name: Configure CMake + run: + cmake -B ${{github.workspace}}/build -GNinja -DCMAKE_BUILD_TYPE=Release -Denable-c-bindings=ON -Denable-fortran-bindings=ON -Denable-python-bindings=OFF + - name: Build + run: + cmake --build ${{github.workspace}}/build -j $(nproc) + - name: Check + run: + cmake --build ${{github.workspace}}/build --target=check -j $(nproc) diff --git a/.github/workflows/build_win_msvc.yml b/.github/workflows/build_win_msvc.yml new file mode 100644 index 000000000..e1acdfb4f --- /dev/null +++ b/.github/workflows/build_win_msvc.yml @@ -0,0 +1,25 @@ +name: Windows Visual Studio build +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +env: + # Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.) + BUILD_TYPE: Release + +jobs: + Visual-Studio-build-and-check: + strategy: + matrix: + os: [windows-2022, windows-2025-vs2026] + runs-on: ${{ matrix.os }} + steps: + - uses: actions/checkout@v3 + - name: Configure CMake + run: cmake -B ${{github.workspace}}/build -Denable-c-bindings=ON -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} + - name: Build + run: cmake --build ${{github.workspace}}/build --target=ALL_BUILD --config ${{env.BUILD_TYPE}} -j $(nproc) + - name: Check + run: cmake --build ${{github.workspace}}/build --target=check --config ${{env.BUILD_TYPE}} -j $(nproc) From a20d1b8ae466abc77f78683e825a193fe7d041dc Mon Sep 17 00:00:00 2001 From: Thomas Helfer Date: Mon, 3 Aug 2026 12:04:15 +0200 Subject: [PATCH 02/23] disambiguate jobs name --- .github/workflows/build_unix_with_tfel.yml | 47 ++++++++++++++++++++++ .github/workflows/check-tbb.yml | 2 +- .github/workflows/check.yml | 2 +- 3 files changed, 49 insertions(+), 2 deletions(-) create mode 100644 .github/workflows/build_unix_with_tfel.yml diff --git a/.github/workflows/build_unix_with_tfel.yml b/.github/workflows/build_unix_with_tfel.yml new file mode 100644 index 000000000..0ac87b345 --- /dev/null +++ b/.github/workflows/build_unix_with_tfel.yml @@ -0,0 +1,47 @@ +name: CI with TFEL support on Ubuntu + +on: + push: + branches: [ "master" ] + pull_request: + branches: [ "master" ] + +env: + # Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.) + BUILD_TYPE: Release + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + - name: Install TFEL + - uses: actions/checkout@v4 + - repository: https://github.com/thelfer/tfel + run: | + cmake -B ${{github.workspace}}/build-tfel -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} \ + -DCMAKE_INSTALL_PREFIX=${{github.workspace}}/install-tfel + cmake --build ${{github.workspace}}/build-tfel --target all -j $(nproc) + cmake --build ${{github.workspace}}/build-tfel --target install + - name: Configure + run: | + source ${{github.workspace}}/install-tfel/share/tfel/env/env.sh + cmake --build ${{github.workspace}}/build-tfel \ + -DCMAKE_BUILD_TYPE=Release . \ + -Denable-c-bindings=ON \ + -Denable-fortran-bindings=ON \ + -Denable-python-bindings=OFF \ + -Denable-portable-build=ON \ + -Denable-julia-bindings=OFF \ + -DTFEL_DIR=${{github.workspace}}/install-tfel/share/tfel/cmake \ + -Denable-parallel-stl-algorithms=OFF + - name: Compile + run: | + source ${{github.workspace}}/install-tfel/share/tfel/env/env.sh + cmake --build ${{github.workspace}}/build --target all -j $(nproc) + - name: Test + run: | + source ${{github.workspace}}/install-tfel/share/tfel/env/env.sh + cmake --build ${{github.workspace}}/build --target all -j $(nproc) diff --git a/.github/workflows/check-tbb.yml b/.github/workflows/check-tbb.yml index 454c4f307..8e479c28d 100644 --- a/.github/workflows/check-tbb.yml +++ b/.github/workflows/check-tbb.yml @@ -1,4 +1,4 @@ -name: CI with TFEL and TBB support on Linux +name: CI with TFEL and TBB support on Linux (spack) on: push: diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 77f00f320..5a1e72a3f 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -1,4 +1,4 @@ -name: CI with TFEL support on Ubuntu +name: CI with TFEL support on Ubuntu (spack) on: push: From 7d1c017a06870fcd9ad6b311f3b4a0f475b3c968 Mon Sep 17 00:00:00 2001 From: Thomas Helfer Date: Mon, 3 Aug 2026 12:06:09 +0200 Subject: [PATCH 03/23] fix yaml syntax --- .github/workflows/build_unix_with_tfel.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build_unix_with_tfel.yml b/.github/workflows/build_unix_with_tfel.yml index 0ac87b345..ca6c86549 100644 --- a/.github/workflows/build_unix_with_tfel.yml +++ b/.github/workflows/build_unix_with_tfel.yml @@ -22,12 +22,12 @@ jobs: - repository: https://github.com/thelfer/tfel run: | cmake -B ${{github.workspace}}/build-tfel -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} \ - -DCMAKE_INSTALL_PREFIX=${{github.workspace}}/install-tfel + -DCMAKE_INSTALL_PREFIX=${{github.workspace}}/install-tfel cmake --build ${{github.workspace}}/build-tfel --target all -j $(nproc) cmake --build ${{github.workspace}}/build-tfel --target install - name: Configure run: | - source ${{github.workspace}}/install-tfel/share/tfel/env/env.sh + source ${{github.workspace}}/install-tfel/share/tfel/env/env.sh cmake --build ${{github.workspace}}/build-tfel \ -DCMAKE_BUILD_TYPE=Release . \ -Denable-c-bindings=ON \ @@ -39,9 +39,9 @@ jobs: -Denable-parallel-stl-algorithms=OFF - name: Compile run: | - source ${{github.workspace}}/install-tfel/share/tfel/env/env.sh + source ${{github.workspace}}/install-tfel/share/tfel/env/env.sh cmake --build ${{github.workspace}}/build --target all -j $(nproc) - name: Test run: | - source ${{github.workspace}}/install-tfel/share/tfel/env/env.sh + source ${{github.workspace}}/install-tfel/share/tfel/env/env.sh cmake --build ${{github.workspace}}/build --target all -j $(nproc) From b9965bd06b44aea95f9e5d4700353ccb2e86bbc9 Mon Sep 17 00:00:00 2001 From: Thomas Helfer Date: Mon, 3 Aug 2026 12:08:01 +0200 Subject: [PATCH 04/23] fix yaml syntax --- .github/workflows/build_unix_with_tfel.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/build_unix_with_tfel.yml b/.github/workflows/build_unix_with_tfel.yml index ca6c86549..508c7d425 100644 --- a/.github/workflows/build_unix_with_tfel.yml +++ b/.github/workflows/build_unix_with_tfel.yml @@ -17,6 +17,7 @@ jobs: steps: - uses: actions/checkout@v4 + - name: Install TFEL - uses: actions/checkout@v4 - repository: https://github.com/thelfer/tfel @@ -25,6 +26,7 @@ jobs: -DCMAKE_INSTALL_PREFIX=${{github.workspace}}/install-tfel cmake --build ${{github.workspace}}/build-tfel --target all -j $(nproc) cmake --build ${{github.workspace}}/build-tfel --target install + - name: Configure run: | source ${{github.workspace}}/install-tfel/share/tfel/env/env.sh @@ -37,10 +39,12 @@ jobs: -Denable-julia-bindings=OFF \ -DTFEL_DIR=${{github.workspace}}/install-tfel/share/tfel/cmake \ -Denable-parallel-stl-algorithms=OFF + - name: Compile run: | source ${{github.workspace}}/install-tfel/share/tfel/env/env.sh cmake --build ${{github.workspace}}/build --target all -j $(nproc) + - name: Test run: | source ${{github.workspace}}/install-tfel/share/tfel/env/env.sh From e0340af759df4bd43087fef4c7aece6f22c846df Mon Sep 17 00:00:00 2001 From: Thomas Helfer Date: Mon, 3 Aug 2026 12:11:16 +0200 Subject: [PATCH 05/23] fix yaml syntax --- .github/workflows/build_unix_with_tfel.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build_unix_with_tfel.yml b/.github/workflows/build_unix_with_tfel.yml index 508c7d425..bfd2c0398 100644 --- a/.github/workflows/build_unix_with_tfel.yml +++ b/.github/workflows/build_unix_with_tfel.yml @@ -17,15 +17,15 @@ jobs: steps: - uses: actions/checkout@v4 - - - name: Install TFEL - - uses: actions/checkout@v4 - - repository: https://github.com/thelfer/tfel - run: | - cmake -B ${{github.workspace}}/build-tfel -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} \ - -DCMAKE_INSTALL_PREFIX=${{github.workspace}}/install-tfel - cmake --build ${{github.workspace}}/build-tfel --target all -j $(nproc) - cmake --build ${{github.workspace}}/build-tfel --target install + # + # - name: Install TFEL + # - uses: actions/checkout@v4 + # - repository: https://github.com/thelfer/tfel + # run: | + # cmake -B ${{github.workspace}}/build-tfel -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} \ + # -DCMAKE_INSTALL_PREFIX=${{github.workspace}}/install-tfel + # cmake --build ${{github.workspace}}/build-tfel --target all -j $(nproc) + # cmake --build ${{github.workspace}}/build-tfel --target install - name: Configure run: | From 51a227be6ddcaeeac2ba8aea77a6ad4f217c6225 Mon Sep 17 00:00:00 2001 From: Thomas Helfer Date: Mon, 3 Aug 2026 12:12:51 +0200 Subject: [PATCH 06/23] fix yaml syntax --- .github/workflows/build_unix_with_tfel.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build_unix_with_tfel.yml b/.github/workflows/build_unix_with_tfel.yml index bfd2c0398..813e3d9d0 100644 --- a/.github/workflows/build_unix_with_tfel.yml +++ b/.github/workflows/build_unix_with_tfel.yml @@ -17,15 +17,15 @@ jobs: steps: - uses: actions/checkout@v4 - # - # - name: Install TFEL + + - name: Install TFEL # - uses: actions/checkout@v4 - # - repository: https://github.com/thelfer/tfel - # run: | - # cmake -B ${{github.workspace}}/build-tfel -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} \ - # -DCMAKE_INSTALL_PREFIX=${{github.workspace}}/install-tfel - # cmake --build ${{github.workspace}}/build-tfel --target all -j $(nproc) - # cmake --build ${{github.workspace}}/build-tfel --target install + # - repository: https://github.com/thelfer/tfel + run: | + cmake -B ${{github.workspace}}/build-tfel -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} \ + -DCMAKE_INSTALL_PREFIX=${{github.workspace}}/install-tfel + cmake --build ${{github.workspace}}/build-tfel --target all -j $(nproc) + cmake --build ${{github.workspace}}/build-tfel --target install - name: Configure run: | From cc9f74a75104cf638047a8af10913505120ec7cd Mon Sep 17 00:00:00 2001 From: Thomas Helfer Date: Mon, 3 Aug 2026 12:19:42 +0200 Subject: [PATCH 07/23] fix yaml syntax --- .github/workflows/build_unix_with_tfel.yml | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build_unix_with_tfel.yml b/.github/workflows/build_unix_with_tfel.yml index 813e3d9d0..eb012bea1 100644 --- a/.github/workflows/build_unix_with_tfel.yml +++ b/.github/workflows/build_unix_with_tfel.yml @@ -16,13 +16,18 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 - + - uses: actions/checkout@v7 + with: + path: mgis - name: Install TFEL - # - uses: actions/checkout@v4 - # - repository: https://github.com/thelfer/tfel + - uses: actions/checkout@v7 + with: + repository: https://github.com/thelfer/tfel + path: tfel run: | - cmake -B ${{github.workspace}}/build-tfel -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} \ + cmake ${{github.workspace}}/tfel \ + -B ${{github.workspace}}/build-tfel \ + -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} \ -DCMAKE_INSTALL_PREFIX=${{github.workspace}}/install-tfel cmake --build ${{github.workspace}}/build-tfel --target all -j $(nproc) cmake --build ${{github.workspace}}/build-tfel --target install @@ -30,7 +35,8 @@ jobs: - name: Configure run: | source ${{github.workspace}}/install-tfel/share/tfel/env/env.sh - cmake --build ${{github.workspace}}/build-tfel \ + cmake ${{github.workspace}}/build/mgis \ + -B ${{github.workspace}}/build \ -DCMAKE_BUILD_TYPE=Release . \ -Denable-c-bindings=ON \ -Denable-fortran-bindings=ON \ From 183139053a7ceccf07fb65a875d355f199207eaa Mon Sep 17 00:00:00 2001 From: Thomas Helfer Date: Mon, 3 Aug 2026 12:32:51 +0200 Subject: [PATCH 08/23] fix yaml syntax --- .github/workflows/build_unix_with_tfel.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build_unix_with_tfel.yml b/.github/workflows/build_unix_with_tfel.yml index eb012bea1..457731082 100644 --- a/.github/workflows/build_unix_with_tfel.yml +++ b/.github/workflows/build_unix_with_tfel.yml @@ -16,7 +16,12 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v7 + - name: Checkout TFEL + uses: actions/checkout@v7 + with: + path: tfel + - name: Checkout MGIS + uses: actions/checkout@v7 with: path: mgis - name: Install TFEL From 9715d418233b74bda0c713d1aa24612c5506f436 Mon Sep 17 00:00:00 2001 From: Thomas Helfer Date: Mon, 3 Aug 2026 12:34:33 +0200 Subject: [PATCH 09/23] fix yaml syntax --- .github/workflows/build_unix_with_tfel.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build_unix_with_tfel.yml b/.github/workflows/build_unix_with_tfel.yml index 457731082..f21d8b685 100644 --- a/.github/workflows/build_unix_with_tfel.yml +++ b/.github/workflows/build_unix_with_tfel.yml @@ -16,19 +16,18 @@ jobs: runs-on: ubuntu-latest steps: + - name: Checkout TFEL uses: actions/checkout@v7 with: path: tfel + - name: Checkout MGIS uses: actions/checkout@v7 with: path: mgis + - name: Install TFEL - - uses: actions/checkout@v7 - with: - repository: https://github.com/thelfer/tfel - path: tfel run: | cmake ${{github.workspace}}/tfel \ -B ${{github.workspace}}/build-tfel \ From 9ab9a28396d3eeb8722159273505126ecdac0b61 Mon Sep 17 00:00:00 2001 From: Thomas Helfer Date: Mon, 3 Aug 2026 12:37:21 +0200 Subject: [PATCH 10/23] fix yaml syntax --- .github/workflows/build_unix_with_tfel.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build_unix_with_tfel.yml b/.github/workflows/build_unix_with_tfel.yml index f21d8b685..7c2350b61 100644 --- a/.github/workflows/build_unix_with_tfel.yml +++ b/.github/workflows/build_unix_with_tfel.yml @@ -20,6 +20,7 @@ jobs: - name: Checkout TFEL uses: actions/checkout@v7 with: + repository: https://github.com/thelfer/tfel path: tfel - name: Checkout MGIS From 4e6020c2aa8eb8d22966ad4b6190a4416262c09a Mon Sep 17 00:00:00 2001 From: Thomas Helfer Date: Mon, 3 Aug 2026 12:39:12 +0200 Subject: [PATCH 11/23] fix yaml syntax --- .github/workflows/build_unix_with_tfel.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build_unix_with_tfel.yml b/.github/workflows/build_unix_with_tfel.yml index 7c2350b61..2d9069be3 100644 --- a/.github/workflows/build_unix_with_tfel.yml +++ b/.github/workflows/build_unix_with_tfel.yml @@ -20,7 +20,7 @@ jobs: - name: Checkout TFEL uses: actions/checkout@v7 with: - repository: https://github.com/thelfer/tfel + repository: thelfer/tfel path: tfel - name: Checkout MGIS From 724f48ec4bba3467550011c1ccd7797a6efca0fa Mon Sep 17 00:00:00 2001 From: Thomas Helfer Date: Mon, 3 Aug 2026 12:51:08 +0200 Subject: [PATCH 12/23] add support for Mac Os. Add jobs with CUDA --- .github/workflows/build_linux_cuda_tfel.yml | 71 +++++++++++++++++++++ .github/workflows/build_unix_with_tfel.yml | 7 +- 2 files changed, 76 insertions(+), 2 deletions(-) create mode 100644 .github/workflows/build_linux_cuda_tfel.yml diff --git a/.github/workflows/build_linux_cuda_tfel.yml b/.github/workflows/build_linux_cuda_tfel.yml new file mode 100644 index 000000000..efbbdcadb --- /dev/null +++ b/.github/workflows/build_linux_cuda_tfel.yml @@ -0,0 +1,71 @@ +name: CI with TFEL and CUDA support on Ubuntu + +on: + push: + branches: [ "master" ] + pull_request: + branches: [ "master" ] + +env: + # Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.) + BUILD_TYPE: Release + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + + - name: Install CUDA + uses: Jimver/cuda-toolkit@v0.2.36 + with: + id: cuda-toolkit + run: echo "Installed cuda version is: ${{steps.cuda-toolkit.outputs.cuda}}" + run: echo "Cuda install location: ${{steps.cuda-toolkit.outputs.CUDA_PATH}}" + + - name: Checkout TFEL + uses: actions/checkout@v7 + with: + repository: thelfer/tfel + path: tfel + + - name: Checkout MGIS + uses: actions/checkout@v7 + with: + path: mgis + + - name: Install TFEL + run: | + cmake ${{github.workspace}}/tfel \ + -B ${{github.workspace}}/build-tfel \ + -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} \ + -DCMAKE_INSTALL_PREFIX=${{github.workspace}}/install-tfel + cmake --build ${{github.workspace}}/build-tfel --target all -j $(nproc) + cmake --build ${{github.workspace}}/build-tfel --target install + + - name: Configure + run: | + source ${{github.workspace}}/install-tfel/share/tfel/env/env.sh + cmake ${{github.workspace}}/build/mgis \ + -B ${{github.workspace}}/build \ + -DCMAKE_BUILD_TYPE=Release \ + -Denable-c-bindings=ON \ + -Denable-fortran-bindings=ON \ + -Denable-python-bindings=OFF \ + -Denable-portable-build=ON \ + -Denable-julia-bindings=OFF \ + -Denable-parallel-stl-algorithms=OFF \ + -Denable-cuda-algorithms=ON \ + -DTFEL_DIR=${{github.workspace}}/install-tfel/share/tfel/cmake \ + -DCMAKE_CUDA_COMPILER=nvcc + + - name: Compile + run: | + source ${{github.workspace}}/install-tfel/share/tfel/env/env.sh + cmake --build ${{github.workspace}}/build --target all -j $(nproc) + + - name: Test + run: | + source ${{github.workspace}}/install-tfel/share/tfel/env/env.sh + cmake --build ${{github.workspace}}/build --target all -j $(nproc) diff --git a/.github/workflows/build_unix_with_tfel.yml b/.github/workflows/build_unix_with_tfel.yml index 2d9069be3..63186eba9 100644 --- a/.github/workflows/build_unix_with_tfel.yml +++ b/.github/workflows/build_unix_with_tfel.yml @@ -13,7 +13,10 @@ env: jobs: build: - runs-on: ubuntu-latest + strategy: + matrix: + os: [ubuntu-latest, macos-latest] + runs-on: ${{ matrix.os }} steps: @@ -42,7 +45,7 @@ jobs: source ${{github.workspace}}/install-tfel/share/tfel/env/env.sh cmake ${{github.workspace}}/build/mgis \ -B ${{github.workspace}}/build \ - -DCMAKE_BUILD_TYPE=Release . \ + -DCMAKE_BUILD_TYPE=Release \ -Denable-c-bindings=ON \ -Denable-fortran-bindings=ON \ -Denable-python-bindings=OFF \ From f501439266f6ad6f981d59e01028cc5115167938 Mon Sep 17 00:00:00 2001 From: Thomas Helfer Date: Mon, 3 Aug 2026 12:52:10 +0200 Subject: [PATCH 13/23] fix yaml syntax --- .github/workflows/build_linux_cuda_tfel.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build_linux_cuda_tfel.yml b/.github/workflows/build_linux_cuda_tfel.yml index efbbdcadb..880c06308 100644 --- a/.github/workflows/build_linux_cuda_tfel.yml +++ b/.github/workflows/build_linux_cuda_tfel.yml @@ -21,8 +21,9 @@ jobs: uses: Jimver/cuda-toolkit@v0.2.36 with: id: cuda-toolkit - run: echo "Installed cuda version is: ${{steps.cuda-toolkit.outputs.cuda}}" - run: echo "Cuda install location: ${{steps.cuda-toolkit.outputs.CUDA_PATH}}" + run: [ + echo "Installed cuda version is: ${{steps.cuda-toolkit.outputs.cuda}}" + echo "Cuda install location: ${{steps.cuda-toolkit.outputs.CUDA_PATH}}" - name: Checkout TFEL uses: actions/checkout@v7 From 498dab8984918aa8fe6d665ee033c5b78b0d4437 Mon Sep 17 00:00:00 2001 From: Thomas Helfer Date: Mon, 3 Aug 2026 12:53:13 +0200 Subject: [PATCH 14/23] fix yaml syntax --- .github/workflows/build_linux_cuda_tfel.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build_linux_cuda_tfel.yml b/.github/workflows/build_linux_cuda_tfel.yml index 880c06308..6b6188ecd 100644 --- a/.github/workflows/build_linux_cuda_tfel.yml +++ b/.github/workflows/build_linux_cuda_tfel.yml @@ -21,7 +21,7 @@ jobs: uses: Jimver/cuda-toolkit@v0.2.36 with: id: cuda-toolkit - run: [ + run: | echo "Installed cuda version is: ${{steps.cuda-toolkit.outputs.cuda}}" echo "Cuda install location: ${{steps.cuda-toolkit.outputs.CUDA_PATH}}" From 0ccbd79a2a0141d1b971dcef3f5137163200858a Mon Sep 17 00:00:00 2001 From: Thomas Helfer Date: Mon, 3 Aug 2026 12:54:48 +0200 Subject: [PATCH 15/23] fix yaml syntax --- .github/workflows/build_linux_cuda_tfel.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/build_linux_cuda_tfel.yml b/.github/workflows/build_linux_cuda_tfel.yml index 6b6188ecd..a715ce6c0 100644 --- a/.github/workflows/build_linux_cuda_tfel.yml +++ b/.github/workflows/build_linux_cuda_tfel.yml @@ -21,6 +21,8 @@ jobs: uses: Jimver/cuda-toolkit@v0.2.36 with: id: cuda-toolkit + + - name: Print CUDA version run: | echo "Installed cuda version is: ${{steps.cuda-toolkit.outputs.cuda}}" echo "Cuda install location: ${{steps.cuda-toolkit.outputs.CUDA_PATH}}" From a598752bdd561bfc97175c95c8e8b5eaa836bd58 Mon Sep 17 00:00:00 2001 From: Thomas Helfer Date: Mon, 3 Aug 2026 13:03:09 +0200 Subject: [PATCH 16/23] fix yaml syntax --- .github/workflows/build_linux_cuda_tfel.yml | 2 +- .github/workflows/build_unix_with_tfel.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build_linux_cuda_tfel.yml b/.github/workflows/build_linux_cuda_tfel.yml index a715ce6c0..0533e2371 100644 --- a/.github/workflows/build_linux_cuda_tfel.yml +++ b/.github/workflows/build_linux_cuda_tfel.yml @@ -50,7 +50,7 @@ jobs: - name: Configure run: | source ${{github.workspace}}/install-tfel/share/tfel/env/env.sh - cmake ${{github.workspace}}/build/mgis \ + cmake ${{github.workspace}}/mgis \ -B ${{github.workspace}}/build \ -DCMAKE_BUILD_TYPE=Release \ -Denable-c-bindings=ON \ diff --git a/.github/workflows/build_unix_with_tfel.yml b/.github/workflows/build_unix_with_tfel.yml index 63186eba9..a6459b61e 100644 --- a/.github/workflows/build_unix_with_tfel.yml +++ b/.github/workflows/build_unix_with_tfel.yml @@ -43,7 +43,7 @@ jobs: - name: Configure run: | source ${{github.workspace}}/install-tfel/share/tfel/env/env.sh - cmake ${{github.workspace}}/build/mgis \ + cmake ${{github.workspace}}/mgis \ -B ${{github.workspace}}/build \ -DCMAKE_BUILD_TYPE=Release \ -Denable-c-bindings=ON \ From 7bb80a77a9f6c78bd0a61f1a2e4b1bfc12fabfa2 Mon Sep 17 00:00:00 2001 From: Thomas Helfer Date: Mon, 3 Aug 2026 13:14:48 +0200 Subject: [PATCH 17/23] fix Test step --- .github/workflows/build_linux_cuda_tfel.yml | 2 +- .github/workflows/build_unix_with_tfel.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build_linux_cuda_tfel.yml b/.github/workflows/build_linux_cuda_tfel.yml index 0533e2371..ab793d1a1 100644 --- a/.github/workflows/build_linux_cuda_tfel.yml +++ b/.github/workflows/build_linux_cuda_tfel.yml @@ -71,4 +71,4 @@ jobs: - name: Test run: | source ${{github.workspace}}/install-tfel/share/tfel/env/env.sh - cmake --build ${{github.workspace}}/build --target all -j $(nproc) + cmake --build ${{github.workspace}}/build --target check -j $(nproc) diff --git a/.github/workflows/build_unix_with_tfel.yml b/.github/workflows/build_unix_with_tfel.yml index a6459b61e..a3501d2b8 100644 --- a/.github/workflows/build_unix_with_tfel.yml +++ b/.github/workflows/build_unix_with_tfel.yml @@ -62,4 +62,4 @@ jobs: - name: Test run: | source ${{github.workspace}}/install-tfel/share/tfel/env/env.sh - cmake --build ${{github.workspace}}/build --target all -j $(nproc) + cmake --build ${{github.workspace}}/build --target check -j $(nproc) From 03759b945194d7c1c58d61f9c77510de27d9cfd6 Mon Sep 17 00:00:00 2001 From: Thomas Helfer Date: Mon, 3 Aug 2026 13:15:59 +0200 Subject: [PATCH 18/23] specify the CUDA native architecture --- .github/workflows/build_linux_cuda_tfel.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build_linux_cuda_tfel.yml b/.github/workflows/build_linux_cuda_tfel.yml index ab793d1a1..d0d2d7ea5 100644 --- a/.github/workflows/build_linux_cuda_tfel.yml +++ b/.github/workflows/build_linux_cuda_tfel.yml @@ -61,7 +61,8 @@ jobs: -Denable-parallel-stl-algorithms=OFF \ -Denable-cuda-algorithms=ON \ -DTFEL_DIR=${{github.workspace}}/install-tfel/share/tfel/cmake \ - -DCMAKE_CUDA_COMPILER=nvcc + -DCMAKE_CUDA_COMPILER=nvcc \ + -DCUDA_ARCHITECTURES=native - name: Compile run: | From 4ca89a0bdb398a3342557c581bd09bff60c75a7e Mon Sep 17 00:00:00 2001 From: Thomas Helfer Date: Mon, 3 Aug 2026 13:59:57 +0200 Subject: [PATCH 19/23] publish test report and tests logs in case of failure --- .github/workflows/build_linux_cuda_tfel.yml | 11 +++++++++++ .github/workflows/build_unix_with_tfel.yml | 11 +++++++++++ 2 files changed, 22 insertions(+) diff --git a/.github/workflows/build_linux_cuda_tfel.yml b/.github/workflows/build_linux_cuda_tfel.yml index d0d2d7ea5..fbc024c6b 100644 --- a/.github/workflows/build_linux_cuda_tfel.yml +++ b/.github/workflows/build_linux_cuda_tfel.yml @@ -73,3 +73,14 @@ jobs: run: | source ${{github.workspace}}/install-tfel/share/tfel/env/env.sh cmake --build ${{github.workspace}}/build --target check -j $(nproc) + + - name: Print test log on failure + if: failure() + run: | + cat ${{github.workspace}}/build/Testing/Temporary/LastTest.log + + - name: Publish test report + uses: mikepenz/action-junit-report@v6 + if: success() || failure() # always run even if the previous step fails + with: + report_paths: '**/build/tests/*.xml' diff --git a/.github/workflows/build_unix_with_tfel.yml b/.github/workflows/build_unix_with_tfel.yml index a3501d2b8..efd32fc75 100644 --- a/.github/workflows/build_unix_with_tfel.yml +++ b/.github/workflows/build_unix_with_tfel.yml @@ -63,3 +63,14 @@ jobs: run: | source ${{github.workspace}}/install-tfel/share/tfel/env/env.sh cmake --build ${{github.workspace}}/build --target check -j $(nproc) + + - name: Print test log on failure + if: failure() + run: | + cat ${{github.workspace}}/build/Testing/Temporary/LastTest.log + + - name: Publish Test Report + uses: mikepenz/action-junit-report@v6 + if: success() || failure() # always run even if the previous step fails + with: + report_paths: '**/build/tests/*.xml' From 727a5fb49b83d53b4140b71faefd6d9bc3b09cd5 Mon Sep 17 00:00:00 2001 From: Thomas Helfer Date: Mon, 3 Aug 2026 14:19:32 +0200 Subject: [PATCH 20/23] debugging --- .github/workflows/build_linux_cuda_tfel.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build_linux_cuda_tfel.yml b/.github/workflows/build_linux_cuda_tfel.yml index fbc024c6b..5ccdd6bf1 100644 --- a/.github/workflows/build_linux_cuda_tfel.yml +++ b/.github/workflows/build_linux_cuda_tfel.yml @@ -77,6 +77,7 @@ jobs: - name: Print test log on failure if: failure() run: | + ls ${{github.workspace}}/build cat ${{github.workspace}}/build/Testing/Temporary/LastTest.log - name: Publish test report From a3d5219218956bc9574374a285c98fa8b818b21f Mon Sep 17 00:00:00 2001 From: Thomas Helfer Date: Mon, 3 Aug 2026 14:33:00 +0200 Subject: [PATCH 21/23] debugging --- .github/workflows/build_linux_cuda_tfel.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/build_linux_cuda_tfel.yml b/.github/workflows/build_linux_cuda_tfel.yml index 5ccdd6bf1..92b03f28e 100644 --- a/.github/workflows/build_linux_cuda_tfel.yml +++ b/.github/workflows/build_linux_cuda_tfel.yml @@ -78,6 +78,8 @@ jobs: if: failure() run: | ls ${{github.workspace}}/build + ls ${{github.workspace}}/build/Testing + ls ${{github.workspace}}/build/Testing/Temporary cat ${{github.workspace}}/build/Testing/Temporary/LastTest.log - name: Publish test report From 2c51487bc1be809ac6e77e695a798bfed0442a12 Mon Sep 17 00:00:00 2001 From: Thomas Helfer Date: Mon, 3 Aug 2026 14:49:39 +0200 Subject: [PATCH 22/23] fix when printing CTest logs --- .github/workflows/build_linux_cuda_tfel.yml | 5 +---- .github/workflows/build_unix_with_tfel.yml | 2 +- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build_linux_cuda_tfel.yml b/.github/workflows/build_linux_cuda_tfel.yml index 92b03f28e..dae6d17e6 100644 --- a/.github/workflows/build_linux_cuda_tfel.yml +++ b/.github/workflows/build_linux_cuda_tfel.yml @@ -77,10 +77,7 @@ jobs: - name: Print test log on failure if: failure() run: | - ls ${{github.workspace}}/build - ls ${{github.workspace}}/build/Testing - ls ${{github.workspace}}/build/Testing/Temporary - cat ${{github.workspace}}/build/Testing/Temporary/LastTest.log + cat ${{github.workspace}}/build/Testing/Temporary/*.log - name: Publish test report uses: mikepenz/action-junit-report@v6 diff --git a/.github/workflows/build_unix_with_tfel.yml b/.github/workflows/build_unix_with_tfel.yml index efd32fc75..04962ae04 100644 --- a/.github/workflows/build_unix_with_tfel.yml +++ b/.github/workflows/build_unix_with_tfel.yml @@ -67,7 +67,7 @@ jobs: - name: Print test log on failure if: failure() run: | - cat ${{github.workspace}}/build/Testing/Temporary/LastTest.log + cat ${{github.workspace}}/build/Testing/Temporary/*.log - name: Publish Test Report uses: mikepenz/action-junit-report@v6 From eb9e992d15fb0177b9fe8b7e61163aec49c19626 Mon Sep 17 00:00:00 2001 From: Thomas Helfer Date: Thu, 6 Aug 2026 23:47:57 +0200 Subject: [PATCH 23/23] disable test with CUDA --- .github/workflows/build_linux_cuda_tfel.yml | 26 ++++++++++----------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/workflows/build_linux_cuda_tfel.yml b/.github/workflows/build_linux_cuda_tfel.yml index dae6d17e6..93653b4a8 100644 --- a/.github/workflows/build_linux_cuda_tfel.yml +++ b/.github/workflows/build_linux_cuda_tfel.yml @@ -69,18 +69,18 @@ jobs: source ${{github.workspace}}/install-tfel/share/tfel/env/env.sh cmake --build ${{github.workspace}}/build --target all -j $(nproc) - - name: Test - run: | - source ${{github.workspace}}/install-tfel/share/tfel/env/env.sh - cmake --build ${{github.workspace}}/build --target check -j $(nproc) + # - name: Test + # run: | + # source ${{github.workspace}}/install-tfel/share/tfel/env/env.sh + # cmake --build ${{github.workspace}}/build --target check -j $(nproc) - - name: Print test log on failure - if: failure() - run: | - cat ${{github.workspace}}/build/Testing/Temporary/*.log + # - name: Print test log on failure + # if: failure() + # run: | + # cat ${{github.workspace}}/build/Testing/Temporary/*.log - - name: Publish test report - uses: mikepenz/action-junit-report@v6 - if: success() || failure() # always run even if the previous step fails - with: - report_paths: '**/build/tests/*.xml' + # - name: Publish test report + # uses: mikepenz/action-junit-report@v6 + # if: success() || failure() # always run even if the previous step fails + # with: + # report_paths: '**/build/tests/*.xml'