Add asset manifest, its loader, and a runtime #83
Workflow file for this run
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: ci-pr | |
| on: [pull_request, workflow_dispatch] | |
| jobs: | |
| format-check: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: init | |
| run: | | |
| sudo apt update -yqq | |
| sudo apt install -yqq clang-format-20 | |
| sudo update-alternatives --remove-all clang-format | |
| sudo update-alternatives --install /usr/bin/clang-format clang-format /usr/bin/clang-format-20 10 | |
| - name: format code | |
| run: scripts/format_code.sh | |
| - name: check diff | |
| run: .github/format_check_diff.sh | |
| x64-linux-gcc: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: init | |
| run: | | |
| uname -m | |
| sudo apt update -yqq | |
| sudo apt install -yqq mesa-common-dev libwayland-dev libxkbcommon-dev wayland-protocols extra-cmake-modules xorg-dev | |
| sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-14 10 | |
| sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-14 10 | |
| - name: configure | |
| run: cmake -S . --preset=ninja-gcc -B build -DKVF_USE_FREETYPE=OFF | |
| - name: build debug | |
| run: cmake --build build --config=Debug -- -v | |
| - name: build release | |
| run: cmake --build build --config=Release -- -v | |
| - name: test debug | |
| run: cd build && ctest -V -C Debug | |
| - name: test release | |
| run: cd build && ctest -V -C Release | |
| x64-linux-clang: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: init | |
| run: | | |
| uname -m | |
| sudo apt update -yqq | |
| sudo apt install -yqq clang-20 mesa-common-dev libwayland-dev libxkbcommon-dev wayland-protocols extra-cmake-modules xorg-dev | |
| sudo update-alternatives --remove-all clang++ | |
| sudo update-alternatives --install /usr/bin/clang clang /usr/bin/clang-20 10 | |
| sudo update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-20 10 | |
| - name: configure | |
| run: cmake -S . --preset=ninja-clang -B build -DKVF_USE_FREETYPE=OFF | |
| - name: build debug | |
| run: cmake --build build --config=Debug -- -v | |
| - name: build release | |
| run: cmake --build build --config=Release -- -v | |
| - name: test debug | |
| run: cd build && ctest -V -C Debug | |
| - name: test release | |
| run: cd build && ctest -V -C Release | |
| arm64-linux-gcc: | |
| runs-on: ubuntu-24.04-arm | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: init | |
| run: | | |
| uname -m | |
| sudo apt update -yqq | |
| sudo apt install -yqq mesa-common-dev libwayland-dev libxkbcommon-dev wayland-protocols extra-cmake-modules xorg-dev | |
| sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-14 10 | |
| sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-14 10 | |
| - name: configure | |
| run: cmake -S . --preset=ninja-gcc -B build -DKVF_USE_FREETYPE=OFF | |
| - name: build debug | |
| run: cmake --build build --config=Debug -- -v | |
| - name: build release | |
| run: cmake --build build --config=Release -- -v | |
| - name: test debug | |
| run: cd build && ctest -V -C Debug | |
| - name: test release | |
| run: cd build && ctest -V -C Release | |
| arm64-linux-clang: | |
| runs-on: ubuntu-24.04-arm | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: init | |
| run: | | |
| uname -m | |
| sudo apt update -yqq | |
| sudo apt install -yqq clang-20 mesa-common-dev libwayland-dev libxkbcommon-dev wayland-protocols extra-cmake-modules xorg-dev | |
| sudo update-alternatives --remove-all clang++ | |
| sudo update-alternatives --install /usr/bin/clang clang /usr/bin/clang-20 10 | |
| sudo update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-20 10 | |
| - name: configure | |
| run: cmake -S . --preset=ninja-clang -B build -DKVF_USE_FREETYPE=OFF | |
| - name: build debug | |
| run: cmake --build build --config=Debug -- -v | |
| - name: build release | |
| run: cmake --build build --config=Release -- -v | |
| - name: test debug | |
| run: cd build && ctest -V -C Debug | |
| - name: test release | |
| run: cd build && ctest -V -C Release | |
| x64-windows-vs22: | |
| runs-on: windows-2025 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: configure | |
| run: cmake -S . --preset=vs22 -B build -DKVF_USE_FREETYPE=OFF | |
| - name: build debug | |
| run: cmake --build build --config=Debug --parallel | |
| - name: build release | |
| run: cmake --build build --config=Release --parallel | |
| - name: test debug | |
| run: cd build && ctest -V -C Debug | |
| - name: test release | |
| run: cd build && ctest -V -C Release | |
| x64-windows-clang: | |
| runs-on: windows-2025 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: configure | |
| run: cmake -S . --preset=ninja-clang -B build -DKVF_USE_FREETYPE=OFF | |
| - name: build debug | |
| run: cmake --build build --config=Debug -- -v | |
| - name: build release | |
| run: cmake --build build --config=Release -- -v | |
| - name: test debug | |
| run: cd build && ctest -V -C Debug | |
| - name: test release | |
| run: cd build && ctest -V -C Release | |
| x64-mingw-gcc: | |
| runs-on: windows-2025 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: configure | |
| run: cmake -S . --preset=ninja-gcc -B build -DKVF_USE_FREETYPE=OFF | |
| - name: build debug | |
| run: cmake --build build --config=Debug -- -v | |
| - name: build release | |
| run: cmake --build build --config=Release -- -v | |
| - name: test debug | |
| run: cd build && ctest -V -C Debug | |
| - name: test release | |
| run: cd build && ctest -V -C Release |