Skip to content

ci: fix

ci: fix #13

Workflow file for this run

name: Build on Windows

Check failure on line 1 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/ci.yml

Invalid workflow file

(Line: 36, Col: 9): Unexpected value 'run', (Line: 40, Col: 9): Unexpected value 'shell'
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
uses: microsoft/setup-msbuild@v1
run: |
cd plugin-sdk/tools/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