mirror of
https://github.com/N00byKing/PalWorld-ServerInjector.git
synced 2025-04-29 02:28:20 +09:00
Add CI
This commit is contained in:
parent
00cdbbca0d
commit
513bd88abb
35
.github/workflows/ci.yml
vendored
Normal file
35
.github/workflows/ci.yml
vendored
Normal 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/*
|
Loading…
x
Reference in New Issue
Block a user