Fix some chat commands also registered as server commands #500
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Build with conan | |
| on: | |
| push: | |
| paths-ignore: | |
| - "data/maps/**" | |
| jobs: | |
| build-cmake: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [windows-2022] | |
| tests: [true] | |
| include: | |
| - os: windows-2022 | |
| cmake-args: -G "Visual Studio 17 2022" -A x64 -DUSE_CONAN=ON | |
| package-file: "*-win64.zip" | |
| fancy: false | |
| env: | |
| CFLAGS: /WX | |
| CXXFLAGS: /WX | |
| LDFLAGS: /WX | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install Conan | |
| id: conan | |
| uses: turtlebrowser/get-conan@main | |
| with: | |
| version: 1.64.1 | |
| - name: Build in release mode | |
| env: ${{ matrix.env }} | |
| run: | | |
| mkdir release | |
| cd release | |
| ${{ matrix.cmake-path }}cmake ${{ matrix.cmake-args }} -DCMAKE_BUILD_TYPE=Release -DDOWNLOAD_GTEST=TRUE -DBUILD_TESTS=TRUE .. | |
| ${{ matrix.cmake-path }}cmake --build . --config Release ${{ matrix.build-args }} | |
| - name: Test | |
| if: matrix.tests | |
| run: | | |
| cd release | |
| ctest -C Release --output-on-failure | |
| - name: Package | |
| run: | | |
| cd release | |
| ${{ matrix.cmake-path }}cmake --build . --config Release --target package ${{ matrix.build-args }} | |
| mkdir artifacts | |
| mv ${{ matrix.package-file }} artifacts | |
| - name: Upload Artifacts | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: InfclassR-${{ matrix.os }} | |
| path: release/artifacts |