Skip to content

fix(plugin): harden ghost sync for 0.6.8 #5

fix(plugin): harden ghost sync for 0.6.8

fix(plugin): harden ghost sync for 0.6.8 #5

Workflow file for this run

name: ci
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
server-windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- name: Configure
run: cmake -B build/server -S . -A x64
- name: Build
run: cmake --build build/server --config Release
- name: Test
run: ctest --test-dir build/server -C Release --output-on-failure
- uses: actions/upload-artifact@v4
with:
name: CommonwealthMP.Server-windows
path: dist/server/CommonwealthMP.Server.exe
server-linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Configure
run: cmake -B build/server -S . -DCMAKE_BUILD_TYPE=Release
- name: Build
run: cmake --build build/server --parallel
- name: Test
run: ctest --test-dir build/server --output-on-failure
- uses: actions/upload-artifact@v4
with:
name: CommonwealthMP.Server-linux
path: dist/server/CommonwealthMP.Server
plugin:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- uses: xmake-io/github-action-setup-xmake@v1
with:
xmake-version: latest
- name: Build plugin
working-directory: plugin
run: |
xmake f -m releasedbg -a x64 -y
xmake build
- uses: actions/upload-artifact@v4
with:
name: CommonwealthMP-plugin
path: |
plugin/build/windows/x64/releasedbg/CommonwealthMP.dll
plugin/build/windows/x64/releasedbg/discord_game_sdk.dll