From 9c10cc3bffb93c140487d084a16ccfcbeca6e339 Mon Sep 17 00:00:00 2001 From: Tim Ohliger Date: Fri, 16 Aug 2024 17:40:57 +0200 Subject: [PATCH] Disabled stubgen for windows cuda checks and fixed WITH_STUBGEN typo. --- .github/workflows/windows.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 078ffa4cb76..6fa93ec60a8 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -48,7 +48,7 @@ jobs: CUDA_VERSION: 11.0.3 env: BUILD_WEBRTC: ${{ ( matrix.BUILD_SHARED_LIBS == 'OFF' && matrix.STATIC_RUNTIME == 'ON' ) && 'ON' || 'OFF' }} - WITH_STUBGEN: ${{ ( matrix.BUILD_SHARED_LIBS == 'ON' ) && 'OFF' || 'ON' }} + WITH_STUBGEN: ${{ ( matrix.BUILD_SHARED_LIBS == 'ON' || matrix.BUILD_CUDA_MODULE == 'ON' ) && 'OFF' || 'ON' }} steps: - name: Disk space used @@ -121,7 +121,7 @@ jobs: -DBUILD_WEBRTC=${{ env.BUILD_WEBRTC }} ` -DBUILD_UNIT_TESTS=ON ` -DBUILD_CUDA_MODULE=${{ matrix.BUILD_CUDA_MODULE }} ` - -DWITH_STUBGEN=${{ matrix.WITH_STUBGEN }} ` + -DWITH_STUBGEN=${{ env.WITH_STUBGEN }} ` ${{ env.SRC_DIR }} - name: Build