Commit Graph

172 Commits

Author SHA1 Message Date
Anton Popovichenko
36a8653c83 fix(CI/macOS): Fix macOS CI dependency installation by updating macOS version. (#19997)
* fix(CI/MacOS): Fix MacOS CI dependency installation.

* Try to use macos 14 version

* Remove brew cleanup and z3 dependency

* Adjust readline lib discovery

* Update macos supported version in SECURITY.md
2024-09-21 11:37:55 -03:00
sudlud
43d60694e4 fix(CI/codestyle): bump dependencies for Node.js 20 (#19778) 2024-08-31 22:25:52 +02:00
Grimdhex
574ef5203a chore(Apps/CodeStyle): rewrite Ci-codestyle in python (#19714)
* initial version

* port most current checks

* allow to specify for each checks the exclude files

* Update _ci-codestyle.py

* fix trailing whitespace check and the error_handler logic

* optimize the script to parse all files only one time

* restore the error handling after that all checks are passed

* fix double blank lines at the end of the file

* improve outputs and the codestyle

* .

* update github workflow to the new script

*drop the old ci-codestyle
*move and rename the python script

* use getcwd instead abspath to define src_directory where the script is launch

* test for github workflow

* few cleanup

* fix the logic with the result output

* remove GetTypeId from the output result

* restore GetTypeId() check

* fix reviews

* remove GetTypeId check for gameobjects

*not currently fixed in the core

* fix type hint for file parameters

* remove the test file
2024-08-27 06:19:13 -03:00
Kitzunu
b9136e060d fix(CI): tools (#19453)
* fix(CI): tools

* Update tools_build.yml

* I dont think this is neccessary. Let's see if CI agrees with me
2024-07-20 20:27:08 +02:00
sudlud
37e3d89f91 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 564cbca7d3.

* 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>
2024-07-07 22:00:24 +02:00
sudlud
564cbca7d3 feat(CI): enable fail-fast for pch/nopch (#19058)
fix(CI): enable fail-fast for pch/nopch
2024-06-15 18:34:42 +02:00
sudlud
302421ae4b fix(CI): reintroduce ubuntu-22.04 checks (#19052)
- we wan to support the 2 latest ubuntu LTS versions
2024-06-13 15:21:53 +02:00
Kitzunu
defed64bc3 chore(CI): drop checks - only keep latest Ubuntu 24.04 (#18991)
* chore(CI): Nuke 20.04 checks

* revert back to old where we dont test gcc on pch

* only test latest version. Keep it up to date folks
2024-06-04 06:36:04 +02:00
sudlud
6f1d3aab15 fix(CI): bump pr-labeler dependencies for usage of Node.js 20 (#18983)
this workflow currently has the warning:

```
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/labeler@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
```
2024-06-01 21:43:06 +02:00
sudlud
77397f0054 fix(CI): bump dependencies for usage of Node.js 20 (#18914) 2024-05-19 10:30:06 +02:00
sudlud
7b23439b8f feat(CI): add CI for ubuntu-24.04 (#18909) 2024-05-17 22:56:15 +02:00
sudlud
dfc9abb754 fix(CI): revert ubuntu-22.04 to gcc12 (#18905)
* fix(CI/PCH): revert ubuntu-22.04 to gcc12, add ubuntu-24.04 with gcc14

* also update nopch workflow

* Update core-build-nopch.yml

* Update core-build-pch.yml
2024-05-17 21:00:16 +02:00
sudlud
61ee67b95d fix(CI): correct name suffix of PCH jobs (#18632) 2024-03-30 22:16:38 +01:00
Mike Delago
88be6d8150 fix(ci): ensure module build clones modules (#18631) 2024-03-30 13:08:35 +01:00
Mike Delago
3ff8de2086 feat(CI): rework core ubuntu build, ubuntu-22 support (#17281)
feat(CI): rework core ubuntu build
2024-03-27 14:58:27 -04:00
sudlud
8a5b9d551d fix(CI): fix tools_build (#18505)
* fix(CI): fix tools_build

* change something

* revert change - CI please run now
2024-03-10 16:50:39 -03:00
Mike Delago
7ec2585cc8 fix(CI): revert if in job conditionals on docker build (#18147)
Don't use env in step.if
2024-01-10 13:53:45 +01:00
Kitzunu
fdbde0b866 fix(CI): Probably fix vanishing CIs from PRs (#18124)
* Update core-build-nopch.yml

* Update core-build-pch.yml

* Update core-build-nopch.yml
2024-01-08 20:10:25 +01:00
Mike Delago
8b2f411d19 refactor(CI): Squash docker ci into one workflow (#17880)
* refactor(CI): Squash docker ci into one workflow

* fiddle with variable

* use proper dockerfile target
2024-01-08 19:37:05 +01:00
Kitzunu
123bf37ee7 chore(CI): bump issue labeler version (#17913) 2023-11-30 23:39:10 +01:00
Kitzunu
65e25bd7b9 fix(CI): Maybe baby this will solve our problemos (#17889)
* Because BREW and MAC OSX suck a**

* Update core-build-nopch.yml

* if mac dont fix now. I might just quit

* maybe I can bring this back now :pog:
2023-11-29 08:37:48 -03:00
Kitzunu
fb2924a9b3 chore(CI): rename CI to easier determain which is which (#17879)
* chore(CI): rename CI to easier determain which is which

* small change

* Update codestyle.yml

* codestyle checks changes

* test to see if this works

* revert this, just to check that CI works

* Revert "revert this, just to check that CI works"

This reverts commit ad03c6bdd9bb33faf8ee1c8d1571090bd4ced531.

* Update core_modules_build.yml
2023-11-27 23:17:02 +01:00
Kitzunu
5659ac48f3 chore(CI): no cache for core-build-pch.yml (#17873) 2023-11-26 23:22:43 +01:00
Kitzunu
18797430e4 Update core_modules_build.yml (#17872) 2023-11-26 18:45:58 -03:00
Kitzunu
4a25ac665d chore(CI): Make some changes (#17861)
* chore(CI): Make some changes. Less CI's maybe better...

* pendingsql

* FORK TEST - TO BE REVERTED

* changes

* test

* fix

* Revert "FORK TEST - TO BE REVERTED"

This reverts commit 875bc281c5a355cce2ddd8015484e256dbc185cf.

* rename workflow

* rename workflow

* rename workflow

* rename workflow

* I argue windows don't need dry runs

* maybe mac wants to be alive. who knows. When do we drop mac support really...?
2023-11-26 17:27:40 +01:00
Mike Delago
3537f08525 fix(ci): docker build double quotes typo (#17541) 2023-10-19 15:35:56 -04:00
Mike Delago
ed9f359328 fix(CI): Ensure eluna is installed for acore-docker (#17530) 2023-10-18 16:04:42 +02:00
Mike Delago
574a877821 fix(CI): check ref name instead of non-existent step (#17529) 2023-10-18 16:04:34 +02:00
Mike Delago
c4dc20a814 refactor(Docker): remove prod container distinction (#17419)
* refactor(Docker): remove prod containers

* workflows: use buildx

* properly set tags

* comment in Dockerfile

* set docker build context

* minor CI changes

* CI: docker build args shouldnt have quotes

* CI: using matrix and caching is too much work

* CI: I hate yaml

* CI: It was a typo

* CI: extra build removed

* CI: appease the linter

* fixup! CI: appease the linter

* fixup! CI: appease the linter

* apps: docker: remove extraneous files
2023-10-15 17:47:09 +02:00
Kitzunu
05161a9ffe fix(CI): windows (#17423) 2023-10-05 14:20:29 -03:00
Kitzunu
e7d0c75c7e fix(CI): windows build (#17328) 2023-09-23 23:32:35 +02:00
Stefano Borzì
168192b731 fix(CI): cppcheck failure step (#17240)
* feat: add cppcheck for scripts

* fix: cppcheck step failure

* trigger cppcheck build, it should fail

* fix: cppcheck should succeed

* fix: cppcheck
2023-09-21 12:43:57 +02:00
Kitzunu
b378b191a2 chore(CI): revert previous changes to import_pending.yml (#17303)
* chore(CI): revert previous changes to import_pending.yml

* Update import_pending.yml
2023-09-18 22:24:01 +02:00
Kitzunu
63b10f34a6 chore(CI): Hello Github Bot and Update actions version (#17285) 2023-09-17 17:14:04 -03:00
Kitzunu
5d128d38ea chore(CI): Update deps for Windows and Mac builds (#17252)
* chore(CI): Update deps for Windows and Mac builds

* Update windows.sh

* Update windows.sh
2023-09-15 02:32:52 +02:00
Kitzunu
cceafcf580 fix(CI): only run cpp check on AC (#17230) 2023-09-11 01:23:42 -03:00
Kitzunu
2698ed5a26 fix(CI): pending files (#17229) 2023-09-10 09:01:03 -03:00
Mike Delago
2faceea420 fix(CI): rebase instead of unshallow fetch (#17226) 2023-09-10 10:01:57 +02:00
Mike Delago
a5e90d0289 fix(CI): pending sql changelog script's invocation (#17225)
fix deno run command
2023-09-10 02:04:38 +02:00
Mike Delago
c43e1b8c0c refactor(Apps/Dashboard): Remove Deno as a dependency to the dashboard (#16934)
* remove deno as a dependency

* use the ACORE_VERSION env var

* I forgot client-data

* accidentally removed too much

* docker-cmd: extraneous parallel flag

* typo

* remove docker image prune -af

the `docker image prune` removes the containers we just build.

* fetch everything in the beginning
2023-09-10 01:12:47 +02:00
Kitzunu
0ebb1969cb chore(CI): Update checkout and cache to v3 (#16847) 2023-07-29 16:31:07 +02:00
Kitzunu
c0a17a2a83 fix(CI): Windows build (#16843)
* fix(CI): Windows build

* Update windows_build.yml
2023-07-29 13:40:45 +02:00
Kitzunu
54f122ec74 fix(CI): Windows build (#15879)
* fix(CI): Windows build

* Update windows_build.yml

* Update windows_build.yml
2023-04-08 19:12:19 +02:00
Stefano Borzì
034b521501 feat(CI): add cppcheck (#15211)
Co-authored-by: Skjalf <47818697+Nyeriah@users.noreply.github.com>
2023-03-05 18:47:18 +01:00
Kitzunu
4b266d493a fix(build): build-db (#14121)
* fix(build): build-db

* Update build_dbimport.yml
2022-12-11 07:19:10 -03:00
Yehonal
f383c9b334 chore(CI): restore old configuration 2022-11-08 00:39:47 +01:00
Yehonal
df4c4b1476 fix(CI/docker): increase build space 2022-11-08 00:02:30 +01:00
Yehonal
8533b54997 fix(CI/docker): checkout the entire history
Restored old cache_from
2022-11-07 23:55:15 +01:00
Yehonal
0764d0d6b8 fix(CI/docker): removed buildx and speedup checkout 2022-11-07 23:48:24 +01:00
Yehonal
2e6dcae940 fix(CI/docker): try to fix the missing space issue 2022-11-07 23:38:59 +01:00