chore: remove todo file #68
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 Test | |
| on: | |
| push: | |
| branches: [ dev ] | |
| jobs: | |
| build-linux: | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| submodules: recursive | |
| - name: Install system dependencies | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y \ | |
| libx11-dev libxrandr-dev libxinerama-dev libxcursor-dev libxi-dev \ | |
| libgl1-mesa-dev libgtk-3-dev libwayland-dev wayland-protocols \ | |
| pkg-config python3-pip ninja-build \ | |
| gcc-14 g++-14 | |
| sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-14 100 | |
| sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-14 100 | |
| sudo update-alternatives --install /usr/bin/c++ c++ /usr/bin/g++-14 100 | |
| - name: Install Conan | |
| run: pip install conan --break-system-packages | |
| - name: Detect Conan profile | |
| env: | |
| CC: gcc-14 | |
| CXX: g++-14 | |
| run: conan profile detect | |
| - name: Cache Conan packages | |
| uses: actions/cache@v4 | |
| with: | |
| path: ~/.conan2/p | |
| key: conan-linux-${{ hashFiles('conanfile.py') }} | |
| restore-keys: conan-linux- | |
| - name: Install dependencies | |
| env: | |
| CC: gcc-14 | |
| CXX: g++-14 | |
| run: conan install . --build=missing -s build_type=Release -c tools.system.package_manager:mode=install -c tools.system.package_manager:sudo=True | |
| - name: Build | |
| env: | |
| CC: gcc-14 | |
| CXX: g++-14 | |
| run: | | |
| cmake --preset conan-release | |
| cmake --build --preset conan-release -j$(nproc) | |
| build-windows: | |
| runs-on: windows-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| submodules: recursive | |
| - name: Install Conan | |
| run: pip install conan | |
| - name: Detect Conan profile | |
| run: conan profile detect | |
| - name: Cache Conan packages | |
| uses: actions/cache@v4 | |
| with: | |
| path: C:\Users\runneradmin\.conan2\p | |
| key: conan-windows-${{ hashFiles('conanfile.py') }} | |
| restore-keys: conan-windows- | |
| - name: Install dependencies | |
| run: conan install . --build=missing -s build_type=Release -s compiler.cppstd=23 | |
| - name: Build | |
| shell: cmd | |
| run: | | |
| call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat" | |
| cmake --preset conan-release | |
| cmake --build --preset conan-release | |
| build-macos-arm64: | |
| runs-on: macos-26 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| submodules: recursive | |
| - name: Install system dependencies | |
| run: brew install ninja pkg-config | |
| - name: Install Conan | |
| run: pip3 install conan --break-system-packages | |
| - name: Detect Conan profile | |
| run: conan profile detect | |
| - name: Cache Conan packages | |
| uses: actions/cache@v4 | |
| with: | |
| path: ~/.conan2/p | |
| key: conan-macos-arm64-${{ hashFiles('conanfile.py') }} | |
| restore-keys: conan-macos-arm64- | |
| - name: Install dependencies | |
| run: conan install . --build=missing -s build_type=Release | |
| - name: Build | |
| run: | | |
| cmake --preset conan-release | |
| cmake --build --preset conan-release -j$(nproc) |