Skip to content
This repository has been archived by the owner on Apr 18, 2024. It is now read-only.

Commit

Permalink
Add CI
Browse files Browse the repository at this point in the history
  • Loading branch information
N00byKing committed Apr 15, 2024
1 parent 00cdbbc commit 513bd88
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/ci.yml
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/*

0 comments on commit 513bd88

Please sign in to comment.