From a2b08a56e31d1c9a6302c8a49c740cf56fcc1607 Mon Sep 17 00:00:00 2001 From: stijn Date: Tue, 26 Nov 2024 14:22:45 +0100 Subject: [PATCH] Change github workflow to compile for all architectures --- .github/workflows/cmake-action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/cmake-action.yml b/.github/workflows/cmake-action.yml index fd621db..37cdf95 100644 --- a/.github/workflows/cmake-action.yml +++ b/.github/workflows/cmake-action.yml @@ -33,7 +33,7 @@ jobs: - name: Configure CMake # 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 ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DKERNEL_FLOAT_BUILD_TEST=1 -DKERNEL_FLOAT_BUILD_EXAMPLE=1 + run: CUDAARCHS=all cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DKERNEL_FLOAT_BUILD_TEST=1 -DKERNEL_FLOAT_BUILD_EXAMPLE=1 - name: Build # Build your program with the given configuration