docs: add plugin setup guide

This commit is contained in:
2026-05-30 18:33:24 +12:00
parent f3db41c402
commit b61043a3fe
1776 changed files with 122386 additions and 2 deletions
+43
View File
@@ -0,0 +1,43 @@
name: build
on:
push:
branches: [ main ]
paths:
- ".github/workflows/build.yml"
- "include/**"
- "src/**"
- "xmake.lua"
- "xmake-rules.lua"
pull_request:
branches: [ main ]
workflow_dispatch:
jobs:
xmake:
runs-on: windows-latest
strategy:
fail-fast: false
matrix:
mode:
- debug
- release
toolchain:
- msvc
- clang-cl
steps:
- name: checkout
uses: actions/checkout@v4
with:
submodules: recursive
- name: setup
uses: xmake-io/github-action-setup-xmake@v1
with:
xmake-version: "latest"
- name: config
run: xmake config -y --mode=${{ matrix.mode }} --toolchain=${{ matrix.toolchain }}
- name: build
run: xmake build -y -vD
@@ -0,0 +1,24 @@
name: maintenance
on: push
jobs:
maintenance:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: '3.9'
- name: Run clang-format
run: find -type f \( -name *.h -o -name *.cpp \) | xargs clang-format -style=file -i
- name: Glob files
run: python ${{ github.workspace }}/res/scripts/generate_headers.py
- uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: maintenance