mirror of
https://git.revela.dev/itsRevela/LCE-Revelations.git
synced 2026-06-05 10:34:35 +00:00
40 lines
878 B
YAML
40 lines
878 B
YAML
name: Pull Request Build
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
pull_request:
|
|
types: [opened, reopened, synchronize]
|
|
paths-ignore:
|
|
- '.gitignore'
|
|
- '*.md'
|
|
- '.github/*.md'
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: [self-hosted, windows]
|
|
|
|
steps:
|
|
- name: Checkout
|
|
uses: https://github.com/actions/checkout@v6
|
|
with:
|
|
submodules: recursive
|
|
|
|
- name: Setup MSVC
|
|
uses: https://github.com/ilammy/msvc-dev-cmd@v1
|
|
|
|
- name: Setup CMake
|
|
uses: https://github.com/lukka/get-cmake@latest
|
|
|
|
- name: Setup .NET
|
|
uses: https://github.com/actions/setup-dotnet@v4
|
|
with:
|
|
global-json-file: global.json
|
|
|
|
- name: Run CMake
|
|
uses: https://github.com/lukka/run-cmake@v10
|
|
env:
|
|
VCPKG_ROOT: "" # Disable vcpkg for CI builds
|
|
with:
|
|
configurePreset: windows64
|
|
buildPreset: windows64-debug
|