mirror of
https://github.com/smartcmd/MinecraftConsoles.git
synced 2026-04-23 07:27:20 +00:00
* Add clang-format workflow for pull request checks * Modify push paths in nightly workflow Updated paths for push event to include all files except specified ones. * Update paths for nightly-server workflow triggers * Modify paths for pull request triggers Update pull request workflow to include specific paths. * Remove formatting check workflow
35 lines
679 B
YAML
35 lines
679 B
YAML
name: Pull Request Build
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
pull_request:
|
|
types: [opened, reopened, synchronize]
|
|
paths:
|
|
- '**'
|
|
- '!.gitignore'
|
|
- '!*.md'
|
|
- '!.github/**'
|
|
- '.github/workflows/pull-request.yml'
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: windows-latest
|
|
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v6
|
|
|
|
- name: Setup MSVC
|
|
uses: ilammy/msvc-dev-cmd@v1
|
|
|
|
- name: Setup CMake
|
|
uses: lukka/get-cmake@latest
|
|
|
|
- name: Run CMake
|
|
uses: lukka/run-cmake@v10
|
|
env:
|
|
VCPKG_ROOT: "" # Disable vcpkg for CI builds
|
|
with:
|
|
configurePreset: windows64
|
|
buildPreset: windows64-debug
|