This commit is contained in:
N00byKing 2024-04-15 18:24:13 +02:00
parent 00cdbbca0d
commit 513bd88abb

35
.github/workflows/ci.yml vendored Normal file
View File

@ -0,0 +1,35 @@
name: CI
# Trigger this workflow on push or pull request
on: [push, pull_request]
jobs:
build-win:
name: Build (windows-latest)
runs-on: windows-latest
steps:
- uses: actions/checkout@v1
with:
submodules: 'recursive'
- name: CMake configure (default version)
run: |
mkdir build
cd build
cmake -G "Visual Studio 17 2022" -A Win32 `
-DCMAKE_BUILD_TYPE=Release ..
- name: Build (default version)
run: |
cd build
cmake --build . --config Release
- name: Create Artifact Folder
run: |
mkdir artifact
copy build/Release/* artifact
- name: Create Build Artifact
uses: actions/upload-artifact@v3
with:
name: PalWorld-ServerInjector
path: |
artifact/*