Skip to content

ci: experiment

ci: experiment #11

Workflow file for this run

name: Build on Windows
on:
push:
branches: [ci-test]
workflow_dispatch:
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: Install Xmake
uses: xmake-io/github-action-setup-xmake@v1
with:
xmake-version: latest
- name: Clone plugin-sdk
run: |
git clone https://github.com/DK22Pac/plugin-sdk.git plugin-sdk
cd plugin-sdk
git checkout 050d18b6e1770477deab81a40028a40277583d97
shell: powershell
- name: Set PLUGIN_SDK_DIR
run: echo "PLUGIN_SDK_DIR=${{ github.workspace }}\plugin-sdk" >> $GITHUB_ENV
shell: bash
- name: Build plugin-sdk
run: |
cd plugin-sdk/premake
./premake5.exe vs2019
msbuild plugin.sln /p:Configuration=Release
shell: powershell
- name: Build server
run: xmake build server
- name: Build proxy
run: xmake build proxy
- name: Build client
run: xmake build client
env:
PLUGIN_SDK_DIR: ${{ github.workspace }}\plugin-sdk