diff options
author | sudlud <sudlud@users.noreply.github.com> | 2024-07-07 22:00:24 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-07 22:00:24 +0200 |
commit | 37e3d89f91063c91714841a8348c17515264d7a4 (patch) | |
tree | d578214fcd4971ed62e8c644d2172d94a974aa8d /.github | |
parent | f41b80ddf181ba05378a2bde94bdd519cdd4019a (diff) |
fix(CI): linux-build: add -Werror parameter (#19240)
* fix(CI): linux-build: add -Werror parameter
* add KI
tzunu
* Revert "feat(CI): enable fail-fast for pch/nopch (#19058)"
This reverts commit 564cbca7d37768d78a2b9e90467aad2204e1650b.
* Update midsummer.cpp - drop unused variable
* initialize variable
* Update core-build-nopch.yml - drop gcc12
* fix(Core/CalendarMgr): do not use element after delete, but before
* attempt to fix Socket.h error
* Revert "attempt to fix Socket.h error"
This reverts commit c1a59145ed3c49d0f76be2f81925434ea969db97.
* fix Socket.h error - attempt 2
* Update Socket.h
* Update Socket.h
* npc_shattrath_daily_quest: init variable templateID
* fix(Scripts/Karazhan): use size_t within loop in boss_shade_of_aran:Reset()
* boss_archimonde: drop unused variable
* Revert "fix(Scripts/Karazhan): use size_t within loop in boss_shade_of_aran:Reset()"
This reverts commit 1f71aaef256990c5cdc16561676be302c954ea9d.
* SmartScripts: SMART_TARGET_RANDOM_POINT: fix unintended fallthrough
* Revert "Revert "feat(CI): enable fail-fast for pch/nopch (#19058)""
This reverts commit d13df293624e0f50d9374272bfd05ab56242511d.
---------
Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
Diffstat (limited to '.github')
-rw-r--r-- | .github/actions/linux-build/action.yml | 2 | ||||
-rw-r--r-- | .github/workflows/core-build-nopch.yml | 4 |
2 files changed, 2 insertions, 4 deletions
diff --git a/.github/actions/linux-build/action.yml b/.github/actions/linux-build/action.yml index 739be23420..7218239cc2 100644 --- a/.github/actions/linux-build/action.yml +++ b/.github/actions/linux-build/action.yml @@ -101,6 +101,8 @@ runs: -DCMAKE_BUILD_TYPE="Release" \ -DCMAKE_CXX_COMPILER_LAUNCHER="ccache" \ -DCMAKE_C_COMPILER_LAUNCHER="ccache" \ + -DCMAKE_C_FLAGS="-Werror" \ + -DCMAKE_CXX_FLAGS="-Werror" \ -DBUILD_TESTING="ON" \ -DUSE_SCRIPTPCH=${{ inputs.pch == 'true' && 'ON' || '' }} \ -DUSE_COREPCH=${{ inputs.pch == 'true' && 'ON' || '' }} \ diff --git a/.github/workflows/core-build-nopch.yml b/.github/workflows/core-build-nopch.yml index 41a8f0d38f..a72f9c6cc3 100644 --- a/.github/workflows/core-build-nopch.yml +++ b/.github/workflows/core-build-nopch.yml @@ -23,10 +23,6 @@ jobs: compiler: CC: clang-15 CXX: clang++-15 - - os: ubuntu-22.04 - compiler: - CC: gcc-12 - CXX: g++-12 - os: ubuntu-24.04 compiler: CC: clang-18 |