mirror of
https://github.com/Zaarrg/stremio-community-v5.git
synced 2026-05-11 20:50:34 +00:00
38 lines
886 B
YAML
38 lines
886 B
YAML
name: Windows Build
|
|
|
|
on:
|
|
push:
|
|
branches: [ "master", "main", "webview-windows" ]
|
|
pull_request:
|
|
branches: [ "master", "main", "webview-windows" ]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: windows-latest
|
|
|
|
env:
|
|
VCPKG_ROOT: 'C:\vcpkg'
|
|
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v4
|
|
with:
|
|
submodules: recursive
|
|
|
|
- name: Setup Vcpkg
|
|
run: |
|
|
cd $env:VCPKG_ROOT
|
|
git pull
|
|
.\bootstrap-vcpkg.bat
|
|
|
|
- name: Install Dependencies via Vcpkg
|
|
run: |
|
|
vcpkg install --triplet x64-windows-static
|
|
|
|
- name: Configure CMake
|
|
run: |
|
|
cmake -S . -B out -DCMAKE_TOOLCHAIN_FILE="$env:VCPKG_ROOT\scripts\buildsystems\vcpkg.cmake" -DVCPKG_TARGET_TRIPLET=x64-windows-static
|
|
|
|
- name: Build
|
|
run: |
|
|
cmake --build out --config Release --parallel
|