summaryrefslogtreecommitdiff
path: root/.github/workflows/windows.yml
diff options
context:
space:
mode:
authorEric Engestrom <eric@engestrom.ch>2022-08-17 20:57:15 +0100
committerGitHub <noreply@github.com>2022-08-17 12:57:15 -0700
commitd65c6183c0d8b365aa182c3d9026ba85522531f2 (patch)
treeacffd9f5d57d56e88e3ba06d4e86aea1cfa460f7 /.github/workflows/windows.yml
parentcbc7e62f42bc0770fbd9da20ed39a5191778e2af (diff)
Move -Werror to CI (#2362)
* move -Werror to CI This allows people with a more up-to-date system than you to still compile your project, while still allowing you to block on every warning in your own development. * Fixes. * More fix. * more fix. * Disable werror for gcc. * Fix bash. * fix * fix yml Co-authored-by: Yong He <yonghe@outlook.com> Co-authored-by: Yong He <yhe@nvidia.com>
Diffstat (limited to '.github/workflows/windows.yml')
-rw-r--r--.github/workflows/windows.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml
index 994f15853..4fb9f0c58 100644
--- a/.github/workflows/windows.yml
+++ b/.github/workflows/windows.yml
@@ -28,7 +28,7 @@ jobs:
.\premake.bat vs2017 --enable-embed-stdlib=true --arch=${{matrix.platform}} --deps=true --no-progress=true
- name: build
run:
- MSBuild.exe slang.sln -v:m -m -property:Configuration=${{matrix.configuration}} -property:Platform=${{matrix.platform}} -property:WindowsTargetPlatformVersion=10.0.19041.0
+ MSBuild.exe slang.sln -v:m -m -property:Configuration=${{matrix.configuration}} -property:Platform=${{matrix.platform}} -property:WindowsTargetPlatformVersion=10.0.19041.0 -warnAsError
- uses: actions/upload-artifact@v3
with:
name: slang-build-${{matrix.configuration}}-${{matrix.platform}}-${{matrix.compiler}}