summaryrefslogtreecommitdiff
path: root/.github/workflows/ci.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/ci.yml')
-rw-r--r--.github/workflows/ci.yml10
1 files changed, 5 insertions, 5 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index cdf315d8e..a45d7647c 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -32,9 +32,11 @@ jobs:
- { os: linux, runs-on: ubuntu-20.04 }
- { os: macos, runs-on: macos-latest }
- { os: windows, runs-on: windows-latest }
- # When to have warnings
- - warnings-as-errors: false
- - { compiler: cl, warnings-as-errors true }
+ # Warnings are treated as errors by default.
+ # But we may want to disable it temporarily.
+ - { os: linux, warnings-as-errors: true }
+ - { os: macos, warnings-as-errors: true }
+ - { os: windows, warnings-as-errors: true }
# Set a test category depending on the config, smoke by default,
# quick or full conditionally otherwise
- test-category: smoke
@@ -47,7 +49,6 @@ jobs:
config: release
compiler: gcc
platform: aarch64
- warnings-as-errors: false
test-category: smoke
full-gpu-tests: false
runs-on: [self-hosted, Linux, ARM64]
@@ -56,7 +57,6 @@ jobs:
config: release
compiler: cl
platform: x86_64
- warnings-as-errors: false
test-category: full
full-gpu-tests: true
runs-on: [Windows, self-hosted]