Skip to content

Build Windows

Build Windows #24

Workflow file for this run

name: Build Windows
on: [workflow_call, workflow_dispatch]
jobs:
build_windows:
timeout-minutes: 30
strategy:
matrix:
build-type: [MinSizeRel, Debug]
preset: [win-x64, win-x86]
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
with:
path: nakama-cpp
- uses: ./nakama-cpp/.github/actions/setup-vcpkg
with:
github_token: ${{ secrets.github_token }}
vcpkg-path: vcpkg
- uses: ./nakama-cpp/.github/actions/build-library-and-upload
with:
nakama-cpp-path: nakama-cpp
preset: ${{ matrix.preset }}
build-type: ${{ matrix.build-type }}
- if: failure()
uses: ./nakama-cpp/.github/actions/handle-failure
with:
nakama-cpp-path: nakama-cpp
vcpkg-path: vcpkg