Skip to content

Commit

Permalink
fix: remove matrix opt and check in env block
Browse files Browse the repository at this point in the history
  • Loading branch information
Nerixyz committed Jul 19, 2023
1 parent 0f0ec40 commit c0a24cf
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ jobs:
plugins: [false]
skip-artifact: [false]
skip-crashpad: [false]
skip-pch: [false]
clang-tidy-review: [false]
include:
# Ubuntu 20.04, Qt 5.12
Expand All @@ -42,7 +41,6 @@ jobs:
plugins: false
skip-artifact: false
skip-crashpad: false
skip-pch: true
clang-tidy-review: false
# Ubuntu 22.04, Qt 5.15
- os: ubuntu-22.04
Expand All @@ -51,7 +49,6 @@ jobs:
plugins: false
skip-artifact: false
skip-crashpad: false
skip-pch: true
clang-tidy-review: true
# Ubuntu 22.04, Qt 6.2.4 - tests LTO & plugins
- os: ubuntu-22.04
Expand All @@ -60,7 +57,6 @@ jobs:
plugins: true
skip-artifact: false
skip-crashpad: false
skip-pch: true
clang-tidy-review: false
# Test for disabling crashpad on Windows
- os: windows-latest
Expand All @@ -69,7 +65,6 @@ jobs:
plugins: false
skip-artifact: true
skip-crashpad: true
skip-pch: true
clang-tidy-review: false

fail-fast: false
Expand Down Expand Up @@ -189,7 +184,8 @@ jobs:
if: startsWith(matrix.os, 'windows')
shell: pwsh
env:
C2_USE_PCH: ${{ matrix.skip-pch && 'OFF' || 'ON' }}
# Enable PCH when crashpad is enabled
C2_USE_PCH: ${{ matrix.skip-crashpad && 'OFF' || 'ON' }}
run: |
cd build
cmake `
Expand Down

0 comments on commit c0a24cf

Please sign in to comment.