mirror of
https://github.com/BeamMP/BeamMP-Server.git
synced 2026-04-03 06:16:04 +00:00
35 lines
710 B
YAML
35 lines
710 B
YAML
name: Windows
|
|
|
|
on: [push]
|
|
|
|
env:
|
|
VCPKG_DEFAULT_TRIPLET: x64-windows-static
|
|
|
|
jobs:
|
|
windows-build:
|
|
runs-on: windows-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
with:
|
|
submodules: 'recursive'
|
|
|
|
- name: Setup vcpkg
|
|
uses: lukka/run-vcpkg@v11
|
|
with:
|
|
runVcpkgInstall: true
|
|
|
|
- name: Create Build Environment
|
|
shell: bash
|
|
run: ./scripts/windows/1-configure.sh
|
|
|
|
- name: Build Server
|
|
shell: bash
|
|
run: bash ./scripts/windows/2-build.sh
|
|
|
|
- name: Archive server artifact
|
|
uses: actions/upload-artifact@v2
|
|
with:
|
|
name: BeamMP-Server-windows
|
|
path: ./bin/Release/BeamMP-Server.exe
|
|
|