Run debug builds only for PR's

This commit is contained in:
tooomm
2026-03-07 14:04:59 +01:00
parent 2f10634ca2
commit 31f3a89eb5

View File

@@ -178,7 +178,7 @@ jobs:
run: source .ci/docker.sh --build
- name: Build debug and test
if: matrix.test != 'skip'
if: matrix.test != 'skip' && github.event_name == 'pull_request'
shell: bash
env:
CMAKE_GENERATOR: '${{env.CMAKE_GENERATOR}}'
@@ -423,6 +423,7 @@ jobs:
# uses environment variables, see compile.sh for more details
- name: Build Cockatrice
if: matrix.type == 'Release' || (matrix.type == 'Debug' && github.event_name == 'pull_request')
id: build
shell: bash
env: