Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
62 commits
Select commit Hold shift + click to select a range
b671925
Fix some linter warnings about wrong indentation
MishimaHaruna Jun 30, 2026
eb6b99c
Fix some potential null-pointer errors reported by gcc-16
MishimaHaruna Jul 1, 2026
23d8156
Silence some null-pointer false positives reported by gcc-16
MishimaHaruna Jul 1, 2026
06c2996
Fix broken of missing closing brackets in variable expressions
MishimaHaruna Jul 1, 2026
7f28f64
Remove -Wno-discarded-qualifiers and fix const qualifiers warnings
hemagx Jun 29, 2026
c7065d2
Remove warnings and warnings supressions that aren't available in C++
hemagx Jun 29, 2026
edc4ced
Fix sign comparison mismatch in common target
hemagx Jun 29, 2026
9cbc69a
Add signed version of WFIFO*, RFIFO*, RBUF*, WBUF* macros
hemagx Jun 29, 2026
4b4630f
Fixed @duel checking for an impossible return value `-1` from duel->c…
hemagx Jun 29, 2026
ac654ad
Change `owner` in `struct channel_data` to be signed
hemagx Jun 29, 2026
8a93dda
Corrected `itemlist` and `cardlist` in `struct s_search_store_search`…
hemagx Jun 29, 2026
b7a9fe4
Corrected `zeny` in `struct chat_data` to be a signed integer
hemagx Jun 29, 2026
69da177
Change `item_count` in clif interface unnamed structure `cs` to signe…
hemagx Jun 29, 2026
ee2676f
Change `price` of `struct hCSData` to signed int
hemagx Jun 29, 2026
6fa69a8
Change `size` of `func` anonymous structure of irc-bot interface to s…
hemagx Jun 29, 2026
6475594
Change `job` in `struct questinfo` to signed integer
hemagx Jun 29, 2026
9ec1ed9
Change `buildin_count` in script interface to signed integer
hemagx Jun 29, 2026
6b3fb22
Fix sign comparison mismatch in map-server target
hemagx Jun 30, 2026
dd16f64
Fix sign comparison mismatch in api-server target
hemagx Jun 30, 2026
01cc033
Fix sign comparison mismatch in char-server target
hemagx Jun 30, 2026
d2e4cd1
Fix sign comparison mismatch in plugins
hemagx Jun 30, 2026
49f91a6
Remove warning supression of sign compare
hemagx Jun 29, 2026
8b11d37
Removal of no initialized fields warning supression
hemagx Jun 30, 2026
162b5d0
Removal of -Wno-incompatible-pointer-types-discards-qualifiers and -W…
hemagx Jun 30, 2026
81d1c6a
Removal of no-unused-but-set-variable warning supression
hemagx Jun 30, 2026
2b4f44a
Removal of enum-enum-conversion warning supression
hemagx Jun 30, 2026
8de4370
Change all identifiers named `class` to `class_` for C++ compatability
hemagx Jun 30, 2026
9d988af
Change ERS to always take ownership of the ERS name
hemagx Jun 30, 2026
42803cf
Change all identifiers named `delete` to `delete_` for C++ compatability
hemagx Jun 30, 2026
299a07c
Update the github workflow to work with the hybrid C/C++ build
hemagx Jun 30, 2026
e43dca4
Change all identifiers named `new` to `new_` for C++ compatability
hemagx Jun 30, 2026
e05d46d
Fix wrong map-server path in the script-checker wrapper script and re…
MishimaHaruna Jul 3, 2026
a12300a
Enable MSVC implicit bool to int conversion warning C4800
hemagx Jul 9, 2026
c17b728
Move warning MSVC C4100 warning to it own line explaining why it's ke…
hemagx Jul 9, 2026
180b0e6
Disable C4324 warning for spin_lock and script_interface structures
hemagx Jul 9, 2026
cd935c4
Fix MSVC C4057 warnings
hemagx Jul 9, 2026
5924a07
Fix MSVC C4310 constant value turncation
hemagx Jul 9, 2026
bfa7f4a
Fix MSVC C4701 possible uninitalized variable used
hemagx Jul 9, 2026
1b7023d
Supress C4366 in intif_parse_GuildInfo as the error is happening beca…
hemagx Jul 9, 2026
6d98b14
Suppress warning C4702 in libconfig due to false positives in the gen…
MishimaHaruna Jul 9, 2026
9508503
Fix warning C4702 (unreachable code) in aclif_get_first_world_name
MishimaHaruna Jul 9, 2026
d98efe0
Fix warning C4702 (unreachable code) in get_executable_path
MishimaHaruna Jul 9, 2026
6169b95
Fix warning C4702 (unreachable code) in lapiif_parse_fromapi_api_proxy
MishimaHaruna Jul 9, 2026
998bd4e
Fix warning C4702 (unreachable code) in ACMD(breakguild) by changing …
MishimaHaruna Jul 9, 2026
b793ac4
Fix warning C4702 (unreachable code) in clif_bl_type
MishimaHaruna Jul 9, 2026
15cb852
Fix warning C4702 (unreachable code) in path_search by removing an el…
MishimaHaruna Jul 9, 2026
0fa8a5c
Fix warning C4702 (unreachable code) in BUILDIN(getbattleflag) by cha…
MishimaHaruna Jul 9, 2026
024220c
Remove an unnecessary level of indentation (else after return) in ski…
MishimaHaruna Jul 9, 2026
2792f18
Remove some else after return/break in script.c to make the code flow…
MishimaHaruna Jul 9, 2026
d43e70f
Suppress warning C4702 (unreachable code) in various script.c functio…
MishimaHaruna Jul 9, 2026
1a4ab27
Fix warning C4701 potentially uninitialized local variable 'func' use…
MishimaHaruna Jul 9, 2026
ab5e08e
Fix warning C4702 (unreachable code) in skill_check_condition_char_sub
MishimaHaruna Jul 9, 2026
88d4ce1
Fix warning C4702 (unreachable code) in httpparser_parse
hemagx Jul 11, 2026
fd3258e
Fix warning C4702 (unreachable code) in clif_format_itemlink
hemagx Jul 12, 2026
16b4cc0
Fix warning C4702 (unreachable code) in clif_open_ui
hemagx Jul 12, 2026
fc8245a
Silence C4702 unreachable code in llhttp library
hemagx Jul 12, 2026
f647c38
Raise warning level on MSVC to 4 (highest) and disable few warnings t…
hemagx Jul 11, 2026
e64fcfc
HPM Hooks update
hemagx Jul 11, 2026
a76005a
Fix setup_env.ps1 using the deprecated gwmi cmdlet
hemagx Jul 12, 2026
b46721b
Update windows github actions and re-enable them
hemagx Jul 12, 2026
a63c4e6
Change SSL library used for mariadb to default to schannel on windows
hemagx Jul 12, 2026
a4cdd7b
Implemented a github action step that pre-compiles all conan
hemagx Jul 12, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 17 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ env:
MYSQL_USER: 'ragnarok'
MYSQL_PASSWORD: 'ragnarok'
MYSQL_ALLOW_EMPTY_PASSWORD: 'yes'
DEBIAN_COMMON_PACKAGES: make git python3 libzstd-dev python3-venv cmake g++
DEBIAN_COMMON_PACKAGES: make git python3 libzstd-dev python3-venv cmake

defaults:
run:
Expand All @@ -20,7 +20,7 @@ jobs:
strategy:
matrix:
# Testing the oldest and newest supported version of gcc/clang on our supported platofrms
CC: ["clang", "gcc"]
CC: ["clang-21", "gcc-15"]
RENEWAL: [""]
CLIENT_TYPE: ["", "-DENABLE_PACKETVER_RE=ON", "-DENABLE_PACKETVER_ZERO=ON"]
HTTPLIB: ["", "-DWITH_HTTP_PARSER=llhttp"]
Expand All @@ -30,6 +30,11 @@ jobs:
exclude:
- PACKET_VERSION: "-DPACKETVER=20100105"
CLIENT_TYPE: "-DENABLE_PACKETVER_ZERO=ON"
include:
- CXX: 'g++-15'
CC: 'gcc-15'
- CXX: 'clang++-21'
CC: 'clang-21'

# github.head_ref will stop previous runs in the same PR (if in a PR)
# github.run_id is a fallback when outside a PR (e.g. every merge in master will run, and previous won't stop)
Expand All @@ -55,10 +60,11 @@ jobs:
--health-timeout=2s
--health-retries=3
env:
INSTALL_PACKAGES: ${{ matrix.CC }} mariadb-client
INSTALL_PACKAGES: ${{ matrix.CC }} ${{ matrix.CXX }} mariadb-client
SQLHOST: mariadb
CC: ${{ matrix.CC }}
CONFIGURE_FLAGS: -DCMAKE_C_COMPILER=${{ matrix.CC }} -DCMAKE_BUILD_TYPE=Debug -DENABLE_WERROR=ON -DENABLE_BUILDBOT=ON ${{ matrix.RENEWAL }} ${{ matrix.HTTPLIB }} ${{ matrix.CLIENT_TYPE }} ${{ matrix.SANITIZER }} ${{ matrix.PACKET_VERSION }} -DENABLE_EPOLL=ON -DBUILD_HPMHOOKING=ON
CXX: ${{ matrix.CXX }}
CONFIGURE_FLAGS: -DCMAKE_C_COMPILER=${{ matrix.CC }} -DCMAKE_CXX_COMPILER=${{ matrix.CXX }} -DCMAKE_BUILD_TYPE=Debug -DENABLE_WERROR=ON -DENABLE_BUILDBOT=ON ${{ matrix.RENEWAL }} ${{ matrix.HTTPLIB }} ${{ matrix.CLIENT_TYPE }} ${{ matrix.SANITIZER }} ${{ matrix.PACKET_VERSION }} -DENABLE_EPOLL=ON -DBUILD_HPMHOOKING=ON
steps:
- uses: actions/checkout@v6
with:
Expand All @@ -68,6 +74,13 @@ jobs:
run: |
uname -a

- uses: actions/cache/restore@v6
name: restore conan cache
id: cache
with:
path: ~/.conan2
key: ${{ runner.os }}-${{ matrix.CC }}-${{ hashFiles('conanfile.py') }}

- name: install packages
run: |
./tools/ci/retry.sh apt-get update
Expand Down
12 changes: 8 additions & 4 deletions .github/workflows/controller.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ jobs:
needs: hwsapibot
if: ${{ !failure() && !cancelled() }}
uses: ./.github/workflows/tools.yml
tools-windows:
needs: hwsapibot
if: ${{ !failure() && !cancelled() }}
uses: ./.github/workflows/tools-windows.yml
build:
needs: tools
if: ${{ !failure() && !cancelled() }}
Expand Down Expand Up @@ -47,7 +51,7 @@ jobs:
# needs: build
# if: ${{ !failure() && !cancelled() }}
# uses: ./.github/workflows/macos_m1.yml
# windows:
# needs: build
# if: ${{ !failure() && !cancelled() }}
# uses: ./.github/workflows/windows.yml
windows:
needs: tools-windows
if: ${{ !failure() && !cancelled() }}
uses: ./.github/workflows/windows.yml
17 changes: 14 additions & 3 deletions .github/workflows/mariadb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,16 @@ jobs:
timeout-minutes: 30
strategy:
matrix:
CC: [gcc]
CC: [gcc-15]
RENEWAL: [""]
CLIENT_TYPE: [""]
HTTPLIB: ["", "-DWITH_HTTP_PARSER=llhttp"]
SANITIZER: ["-DMEMORY_MANAGER=none", "-DMEMORY_MANAGER=none -DENABLE_SANITIZE=ON"]
PACKET_VERSION: ["-DPACKETVER=20221024"]
MYSQL: ["10.11", "11.8", "latest"]
include:
- CXX: 'g++-15'
CC: 'gcc-15'

# github.head_ref will stop previous runs in the same PR (if in a PR)
# github.run_id is a fallback when outside a PR (e.g. every merge in master will run, and previous won't stop)
Expand All @@ -51,10 +54,11 @@ jobs:
--health-timeout=2s
--health-retries=3
env:
INSTALL_PACKAGES: ${{ matrix.CC }} mariadb-client
INSTALL_PACKAGES: ${{ matrix.CC }} ${{ matrix.CXX }} mariadb-client
SQLHOST: mysql
CC: ${{ matrix.CC }}
CONFIGURE_FLAGS: -DCMAKE_C_COMPILER=${{ matrix.CC }} -DCMAKE_BUILD_TYPE=Debug -DENABLE_WERROR=ON -DENABLE_BUILDBOT=ON ${{ matrix.RENEWAL }} ${{ matrix.HTTPLIB }} ${{ matrix.CLIENT_TYPE }} ${{ matrix.SANITIZER }} ${{ matrix.PACKET_VERSION }} -DBUILD_HPMHOOKING=ON
CXX: ${{ matrix.CXX }}
CONFIGURE_FLAGS: -DCMAKE_C_COMPILER=${{ matrix.CC }} -DCMAKE_CXX_COMPILER=${{ matrix.CXX }} -DCMAKE_BUILD_TYPE=Debug -DENABLE_WERROR=ON -DENABLE_BUILDBOT=ON ${{ matrix.RENEWAL }} ${{ matrix.HTTPLIB }} ${{ matrix.CLIENT_TYPE }} ${{ matrix.SANITIZER }} ${{ matrix.PACKET_VERSION }} -DBUILD_HPMHOOKING=ON
PACKET_VERSION: ${{ matrix.PACKET_VERSION }}
steps:
- uses: actions/checkout@v6
Expand All @@ -65,6 +69,13 @@ jobs:
run: |
uname -a

- uses: actions/cache/restore@v6
name: restore conan cache
id: cache
with:
path: ~/.conan2
key: ${{ runner.os }}-${{ matrix.CC }}-${{ hashFiles('conanfile.py') }}

- name: install packages
run: |
./tools/ci/retry.sh apt-get update
Expand Down
21 changes: 16 additions & 5 deletions .github/workflows/sanitizer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ env:
MYSQL_USER: 'ragnarok'
MYSQL_PASSWORD: 'ragnarok'
MYSQL_ALLOW_EMPTY_PASSWORD: 'yes'
DEBIAN_COMMON_PACKAGES: cmake make git python3 python3-venv libzstd-dev g++
DEBIAN_COMMON_PACKAGES: cmake make git python3 python3-venv libzstd-dev

defaults:
run:
Expand All @@ -19,7 +19,7 @@ jobs:
timeout-minutes: 30
strategy:
matrix:
CC: [gcc]
CC: [gcc-15]
RENEWAL: ["", "-DENABLE_RENEWAL=OFF"]
CLIENT_TYPE: ["", "-DENABLE_PACKETVER_RE=ON", "-DENABLE_PACKETVER_ZERO=ON"]
HTTPLIB: ["", "-DWITH_HTTP_PARSER=llhttp"]
Expand All @@ -32,6 +32,9 @@ jobs:
- PACKET_VERSION: "-DPACKETVER=20130724"
RENEWAL: ""
CLASSIC_AUTOSPELL_LIST: "-DENABLE_CLASSIC_AUTOSPELL=ON"
- CXX: 'g++-15'
CC: 'gcc-15'

exclude:
- PACKET_VERSION: "-DPACKETVER=20130724"
CLIENT_TYPE: "-DENABLE_PACKETVER_ZERO=ON"
Expand All @@ -43,7 +46,7 @@ jobs:
cancel-in-progress: true

container:
image: ubuntu:24.04
image: ubuntu:26.04
services:
mariadb:
image: mariadb:latest
Expand All @@ -60,10 +63,11 @@ jobs:
--health-timeout=2s
--health-retries=3
env:
INSTALL_PACKAGES: ${{ matrix.CC }} mariadb-client
INSTALL_PACKAGES: ${{ matrix.CC }} ${{ matrix.CXX }} mariadb-client
SQLHOST: mariadb
CC: ${{ matrix.CC }}
CONFIGURE_FLAGS: -DCMAKE_C_COMPILER=${{ matrix.CC }} -DCMAKE_BUILD_TYPE=Debug -DENABLE_WERROR=ON -DENABLE_BUILDBOT=ON ${{ matrix.RENEWAL }} ${{ matrix.HTTPLIB }} ${{ matrix.CLIENT_TYPE }} ${{ matrix.SANITIZER }} ${{ matrix.PACKET_VERSION }} -DENABLE_LTO=ON ${{ matrix.CLASSIC_AUTOSPELL_LIST }} -DBUILD_HPMHOOKING=ON
CXX: ${{ matrix.CXX }}
CONFIGURE_FLAGS: -DCMAKE_C_COMPILER=${{ matrix.CC }} -DCMAKE_CXX_COMPILER=${{ matrix.CXX }} -DCMAKE_BUILD_TYPE=Debug -DENABLE_WERROR=ON -DENABLE_BUILDBOT=ON ${{ matrix.RENEWAL }} ${{ matrix.HTTPLIB }} ${{ matrix.CLIENT_TYPE }} ${{ matrix.SANITIZER }} ${{ matrix.PACKET_VERSION }} -DENABLE_LTO=ON ${{ matrix.CLASSIC_AUTOSPELL_LIST }} -DBUILD_HPMHOOKING=ON
PACKET_VERSION: ${{ matrix.PACKET_VERSION }}
steps:
- uses: actions/checkout@v6
Expand All @@ -74,6 +78,13 @@ jobs:
run: |
uname -a

- uses: actions/cache/restore@v6
name: restore conan cache
id: cache
with:
path: ~/.conan2
key: ${{ runner.os }}-${{ matrix.CC }}-${{ hashFiles('conanfile.py') }}

- name: install packages
run: |
./tools/ci/retry.sh apt-get update
Expand Down
43 changes: 43 additions & 0 deletions .github/workflows/tools-windows.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: tools-windows

on: workflow_call

jobs:
build:
runs-on: windows-2025
timeout-minutes: 30
strategy:
matrix:
CC: [msvc]

# github.head_ref will stop previous runs in the same PR (if in a PR)
# github.run_id is a fallback when outside a PR (e.g. every merge in master will run, and previous won't stop)
concurrency:
group: tools-windows-${{ github.head_ref || github.run_id }}_${{ matrix.CC }}
cancel-in-progress: true

steps:
- uses: actions/checkout@v6
with:
fetch-depth: 1

- uses: actions/cache/restore@v6 # We're restoring first so if a cache already exists from previous CI run, it's used and step finishes quicker.
name: restore conan cache
id: cache-restore
with:
path: ~/.conan2
key: ${{ runner.os }}-${{ matrix.CC }}-${{ hashFiles('conanfile.py') }}

- name: run cmake first run
if: steps.cache-restore.outputs.cache-hit != 'true'
run: |
./setup_env.ps1

- uses: actions/cache/save@v6
if: steps.cache-restore.outputs.cache-hit != 'true'
name: save conan cache
id: cache_save
with:
path: ~/.conan2
key: ${{ runner.os }}-${{ matrix.CC }}-${{ hashFiles('conanfile.py') }}

41 changes: 37 additions & 4 deletions .github/workflows/tools.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,31 @@ env:
MYSQL_USER: 'ragnarok'
MYSQL_PASSWORD: 'ragnarok'
MYSQL_ALLOW_EMPTY_PASSWORD: 'yes'
DEBIAN_COMMON_PACKAGES: python3 python3-pip
DEBIAN_COMMON_PACKAGES: python3 python3-pip python3-venv cmake make git gcc g++

jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
shell: bash
strategy:
matrix:
CC: ["clang-21", "gcc-15"]
include:
- CXX: 'g++-15'
CC: 'gcc-15'
- CXX: 'clang++-21'
CC: 'clang-21'

# github.head_ref will stop previous runs in the same PR (if in a PR)
# github.run_id is a fallback when outside a PR (e.g. every merge in master will run, and previous won't stop)
concurrency:
group: tools-${{ github.head_ref || github.run_id }}
group: tools-linux-${{ github.head_ref || github.run_id }}_${{ matrix.CC }}
cancel-in-progress: true

container:
image: debian:unstable
image: ubuntu:26.04
steps:
- uses: actions/checkout@v6
with:
Expand All @@ -33,9 +44,31 @@ jobs:
- name: install packages
run: |
./tools/ci/retry.sh apt-get update
./tools/ci/retry.sh apt-get install -y -qq $INSTALL_PACKAGES $DEBIAN_COMMON_PACKAGES
./tools/ci/retry.sh apt-get install -y -qq $INSTALL_PACKAGES $DEBIAN_COMMON_PACKAGES ${{ matrix.CC }} ${{ matrix.CXX }}
pip3 install sqlfluff --break-system-packages

- uses: actions/cache/restore@v6 # We're restoring first so if a cache already exists from previous CI run, it's used and step finishes quicker.
name: restore conan cache
id: cache-restore
with:
path: ~/.conan2
key: ${{ runner.os }}-${{ matrix.CC }}-${{ hashFiles('conanfile.py') }}

- name: run cmake first run
if: steps.cache-restore.outputs.cache-hit != 'true'
run: |
./tools/ci/travis.sh prepareenv
source .venv/bin/activate
cmake -S . -B build -DCMAKE_PROJECT_TOP_LEVEL_INCLUDES=cmake_modules/conan_provider.cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_C_COMPILER=${{ matrix.CC }} -DCMAKE_CXX_COMPILER=${{ matrix.CXX }}

- uses: actions/cache/save@v6
if: steps.cache-restore.outputs.cache-hit != 'true'
name: save conan cache
id: cache_save
with:
path: ~/.conan2
key: ${{ runner.os }}-${{ matrix.CC }}-${{ hashFiles('conanfile.py') }}

- name: check sql syntax
run: |
./tools/ci/retry.sh python3 tools/validate_sql-files.py
Expand Down
42 changes: 29 additions & 13 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: windows
name: build windows

on: workflow_call

Expand All @@ -10,31 +10,47 @@ env:

jobs:
build:
runs-on: windows-latest
runs-on: windows-2025
timeout-minutes: 30
strategy:
matrix:
CC: [msbuild]
RENEWAL: ["", "DISABLE_RENEWAL"]
CLIENT_TYPE: ["", "ENABLE_PACKETVER_RE", "ENABLE_PACKETVER_ZERO"]
PACKET_VERSION: ["PACKETVER=20221024", "PACKETVER=20130724"]
CC: [msvc]
RENEWAL: ["", "-DENABLE_RENEWAL=OFF"]
CLIENT_TYPE: ["", "-DENABLE_PACKETVER_RE=ON", "-DENABLE_PACKETVER_ZERO=ON"]
HTTPLIB: ["", "-DWITH_HTTP_PARSER=llhttp"]
PACKET_VERSION: ["-DPACKETVER=20221024", "-DPACKETVER=20130724"]
include:
# Empty CLASSIC_AUTOSPELL_LIST for every other flow
- CLASSIC_AUTOSPELL_LIST: ""
# Use "-DCLASSIC_AUTOSPELL_LIST" for 20130724 RE or we will get warnings due to the list being too small
- PACKET_VERSION: "-DPACKETVER=20130724"
RENEWAL: ""
CLASSIC_AUTOSPELL_LIST: "-DENABLE_CLASSIC_AUTOSPELL=ON"
exclude:
- PACKET_VERSION: "PACKETVER=20130724"
CLIENT_TYPE: "ENABLE_PACKETVER_ZERO"
- PACKET_VERSION: "-DPACKETVER=20130724"
CLIENT_TYPE: "-DENABLE_PACKETVER_ZERO=ON"

# github.head_ref will stop previous runs in the same PR (if in a PR)
# github.run_id is a fallback when outside a PR (e.g. every merge in master will run, and previous won't stop)
concurrency:
group: msbuild-${{ github.head_ref || github.run_id }}_${{ matrix.CC }}_${{ matrix.RENEWAL }}_${{ matrix.CLIENT_TYPE }}_${{ matrix.PACKET_VERSION}}
group: build_windows-${{ github.head_ref || github.run_id }}_${{ matrix.CC }}_${{ matrix.RENEWAL }}_${{ matrix.CLIENT_TYPE }}_${{ matrix.HTTPLIB }}_${{ matrix.PACKET_VERSION}}
cancel-in-progress: true

steps:
- uses: actions/checkout@v6
with:
fetch-depth: 1

- name: Add msbuild to PATH
uses: microsoft/setup-msbuild@v2
# - name: install packages
# run: |
# winget install Ninja-build.Ninja cmake python3 --accept-source-agreements --accept-package-agreements --disable-interactivity --silent

- uses: actions/cache/restore@v6
name: restore conan cache
id: cache
with:
path: ~/.conan2
key: ${{ runner.os }}-${{ matrix.CC }}-${{ hashFiles('conanfile.py') }}

- uses: shogo82148/actions-setup-mysql@v1
with:
Expand All @@ -51,13 +67,13 @@ jobs:

- name: build
run: |
.\tools\ci\windows.ps1 build ${{ matrix.CLIENT_TYPE }} ${{ matrix.PACKET_VERSION}} ${{ matrix.RENEWAL }}
.\tools\ci\windows.ps1 build ${{ matrix.CLIENT_TYPE }} ${{ matrix.PACKET_VERSION}} ${{ matrix.RENEWAL }} ${{ matrix.HTTPLIB }} ${{ matrix.CLASSIC_AUTOSPELL_LIST }} -DENABLE_WERROR=ON -DENABLE_BUILDBOT=ON -DBUILD_HPMHOOKING=ON

- name: run
run: |
.\tools\ci\windows.ps1 run

- name: test
if: matrix.PACKET_VERSION != 'PACKETVER=20130724'
if: matrix.PACKET_VERSION != '-DPACKETVER=20130724'
run: |
.\tools\ci\windows.ps1 test
2 changes: 2 additions & 0 deletions 3rdparty/http-parser/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,6 @@ add_library(hercules-http_parser STATIC

if(NOT MSVC)
target_compile_options(hercules-http_parser PRIVATE -Wno-shadow -Wno-switch-enum)
else()
target_compile_options(hercules-http_parser PRIVATE /wd4456)
endif()
Loading
Loading