diff --git a/.github/workflows/Ubuntu.yml b/.github/workflows/Ubuntu.yml index 473de1685..9e70d44d3 100644 --- a/.github/workflows/Ubuntu.yml +++ b/.github/workflows/Ubuntu.yml @@ -79,7 +79,7 @@ jobs: env: # Workflow specific constants for building a specific example # Note this assumes the example exists in cpp, rather than cpp_rtc subdirectory - INDIVIDUAL_EXAMPLE: "game_of_life" + INDIVIDUAL_EXAMPLE: ${{ fromJSON('{true:"game_of_life",false:""}')[matrix.config.name == 'Release' && matrix.VISUALISATION == 'OFF'] }} # Define constants BUILD_DIR: "build" FLAMEGPU_BUILD_TESTS: "ON" diff --git a/.github/workflows/Windows.yml b/.github/workflows/Windows.yml index 7defcc9cc..303861e60 100644 --- a/.github/workflows/Windows.yml +++ b/.github/workflows/Windows.yml @@ -79,7 +79,8 @@ jobs: env: # Workflow specific constants for building a specific example # Note this assumes the example exists in cpp, rather than cpp_rtc subdirectory - INDIVIDUAL_EXAMPLE: "game_of_life" + # The individual example is only built for some built matrices, to spend less time in CI. + INDIVIDUAL_EXAMPLE: ${{ fromJSON('{true:"game_of_life",false:""}')[matrix.config.name == 'Release' && matrix.VISUALISATION == 'OFF'] }} # Compute the wheelhouse name which should be unique within the matrix. This must be unique per build matrix/job combination ARTIFACT_NAME: wheel-windows-${{ matrix.cudacxx.cuda }}-${{matrix.python}}-${{ matrix.VISUALISATION }}-${{ matrix.config.name }}-${{ matrix.cudacxx.os }} # Define constants