mirror of
https://github.com/ProjectLeonida/mandy.git
synced 2026-12-06 21:38:37 +00:00
31 lines
837 B
YAML
31 lines
837 B
YAML
# Builds the loader (runtime/) with MSVC on every push and pull request, as scripts/build_runtime.ps1 does, so a
|
|
# change that breaks the C++ build shows up in CI. Without the Vulkan SDK the GPU test tools are skipped.
|
|
name: Runtime
|
|
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
pull_request:
|
|
workflow_dispatch:
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
concurrency:
|
|
group: runtime-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: windows-latest
|
|
timeout-minutes: 20
|
|
steps:
|
|
- uses: actions/checkout@v7
|
|
- uses: ilammy/msvc-dev-cmd@v1.13.0
|
|
- name: Configure
|
|
run: cmake -S runtime -B runtime/build -G Ninja -DCMAKE_BUILD_TYPE=RelWithDebInfo
|
|
- name: Build
|
|
run: cmake --build runtime/build
|
|
- name: CPU runtime tests
|
|
run: ctest --test-dir runtime/build --output-on-failure
|