mirror of
https://github.com/thinkonmay/sunshine-sdk.git
synced 2025-12-26 14:41:14 +00:00
53 lines
1.1 KiB
YAML
53 lines
1.1 KiB
YAML
name: build
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
build_win:
|
|
name: Windows
|
|
runs-on: windows-2019
|
|
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
with:
|
|
submodules: recursive
|
|
|
|
- name: Setup Dependencies Windows
|
|
uses: msys2/setup-msys2@v2
|
|
with:
|
|
update: true
|
|
install: >-
|
|
base-devel
|
|
diffutils
|
|
git
|
|
make
|
|
mingw-w64-x86_64-binutils
|
|
mingw-w64-x86_64-boost
|
|
mingw-w64-x86_64-cmake
|
|
mingw-w64-x86_64-curl
|
|
mingw-w64-x86_64-onevpl
|
|
mingw-w64-x86_64-nsis
|
|
mingw-w64-x86_64-openssl
|
|
mingw-w64-x86_64-opus
|
|
mingw-w64-x86_64-toolchain
|
|
nasm
|
|
wget
|
|
yasm
|
|
|
|
- name: Build Windows
|
|
shell: msys2 {0}
|
|
run: |
|
|
mkdir build
|
|
cd build
|
|
cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
|
-DSUNSHINE_ASSETS_DIR=assets \
|
|
-G "MinGW Makefiles" \
|
|
..
|
|
mingw32-make
|