This repository has been archived by the owner on Apr 18, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
35 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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/* |