Add simpleDemangle function for demangling C++ type names #1122
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: Windows | |
on: [push] | |
jobs: | |
clang-cl: | |
runs-on: windows-2025 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Cache CPM.cmake packages | |
uses: actions/cache@v4 | |
with: | |
path: .cache/cpm | |
key: cpm | |
- uses: ilammy/msvc-dev-cmd@v1 | |
- name: Configure | |
run: cmake -Bbuild -G"Ninja Multi-Config" -DCMAKE_C_COMPILER=clang-cl -DCMAKE_CXX_COMPILER=clang-cl -DCMAKE_POLICY_VERSION_MINIMUM=3.5 | |
shell: bash | |
- name: Build (Debug) | |
run: cmake --build build --config Debug | |
- uses: extractions/setup-just@v2 | |
- name: Unittest (Debug) | |
# tests like CharacterTest need OpenGL 2.0 and can't run on GitHub Actions runners | |
run: just unittest-headless | |
- name: Build (Release) | |
run: cmake --build build --config Release | |
- name: Unittest (Release) | |
# tests like CharacterTest need OpenGL 2.0 and can't run on GitHub Actions runners | |
run: just unittest-headless Release | |
msvc: | |
runs-on: windows-2025 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Cache CPM.cmake packages | |
uses: actions/cache@v4 | |
with: | |
path: .cache/cpm | |
key: cpm | |
- name: Configure | |
run: cmake -Bbuild -DCMAKE_POLICY_VERSION_MINIMUM=3.5 | |
shell: bash | |
- name: Build (Debug) | |
run: cmake --build build --config Debug | |
- uses: extractions/setup-just@v2 | |
- name: Unittest (Debug) | |
# tests like CharacterTest need OpenGL 2.0 and can't run on GitHub Actions runners | |
run: just unittest-headless | |
- name: Build (Release) | |
run: cmake --build build --config Release | |
- name: Unittest (Release) | |
# tests like CharacterTest need OpenGL 2.0 and can't run on GitHub Actions runners | |
run: just unittest-headless Release | |
- name: Configure (UWP) | |
run: cmake -Bbuild-uwp -DCMAKE_SYSTEM_NAME=WindowsStore '-DCMAKE_SYSTEM_VERSION=10.0' '-DCMAKE_POLICY_VERSION_MINIMUM=3.5' | |
- name: Build (UWP, Debug) | |
run: cmake --build build-uwp --config Debug | |
- name: Build (UWP, Release) | |
run: cmake --build build-uwp --config Release | |
mingw: | |
runs-on: [ubuntu-latest] | |
container: | |
image: registry.fedoraproject.org/fedora-minimal:40 | |
steps: | |
- name: Install dependencies | |
run: microdnf install -y cmake ninja-build mingw64-pkg-config mingw64-libvorbis mingw64-SDL2 mingw64-fontconfig mingw64-libwebp mingw64-dlfcn mingw32-nsis mingw64-gcc-c++ tar gzip | |
- uses: actions/checkout@v4 | |
- name: Build with CMake and GCC | |
run: | | |
mingw64-cmake -Bbuild-windows -DCMAKE_BUILD_TYPE=Debug -DBUILD_SHARED_LIBS=0 | |
cmake --build build-windows | |
env: | |
CPM_SOURCE_CACHE: ${{ github.workspace }}/.cache/cpm |