Skip to content

feat: hold Start to open world map #3

feat: hold Start to open world map

feat: hold Start to open world map #3

Workflow file for this run

name: Build
on:
pull_request:
branches: [main]
paths:
- ".github/workflows/build.yml"
- "src/**"
- "CMakeLists.txt"
- "vcpkg.json"
- "cmake/**"
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v6
with:
submodules: recursive
- name: Install CMake and Ninja
uses: lukka/get-cmake@latest
- name: Restore vcpkg binary cache
uses: actions/cache@v5
with:
path: C:\vcpkg-cache
key: vcpkg-${{ hashFiles('vcpkg.json', 'cmake/triplets/**', 'cmake/ports/**') }}
restore-keys: vcpkg-
- name: Setup vcpkg
uses: lukka/run-vcpkg@v11
with:
vcpkgDirectory: ${{ github.workspace }}/lib/vcpkg
env:
VCPKG_BINARY_SOURCES: "clear;files,C:\\vcpkg-cache,readwrite"
- name: Configure and Build
uses: lukka/run-cmake@v10
with:
configurePreset: release-windows
buildPreset: release-windows
env:
VCPKG_BINARY_SOURCES: "clear;files,C:\\vcpkg-cache,readwrite"
- name: Upload artifact
uses: actions/upload-artifact@v7
with:
name: ${{ github.event.repository.name }}
path: |
build/msvc/Release/*.dll
build/msvc/Release/*.pdb