Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Tech] Add Github Actions CI/CD #14

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Build

on:
pull_request:
branches: [main]
push:
branches: [main, tech/automateBuild]
workflow_dispatch:

jobs:
build_windows:
runs-on: windows-latest
steps:
- name: Checkout repository.
uses: actions/checkout@v3
with:
submodules: "recursive"
token: ${{ secrets.pat }}
- name: Run Engine Setup
run: cmd.exe /c ${{ github.workspace }}/UE5_1_1/Setup.bat
- name: Build Plugin
run: ${{ github.workspace }}/UE5_1_1/Engine/Build/BatchFiles/RunUAT.bat BuildPlugin -Plugin=${{ github.workspace }}/Plugins/web3Unreal/web3Unreal.uplugin -Package=${{ github.workspace }}/packagedPlugins/5.1.1 -TargetPlatforms=Win64 -unattended -crash -Rocket
- name: Upload Precompiled Plugin
uses: actions/upload-artifact@v3
with:
name: web3Unreal_5.1.1
path: packagedPlugins/5.1.1
retention-days: 14
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "UE5_1_1"]
path = UE5_1_1
url = https://github.com/EpicGames/UnrealEngine.git
8 changes: 8 additions & 0 deletions Plugins/web3Unreal/Config/FilterPlugin.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[FilterPlugin]
; This section lists additional files which will be packaged along with your plugin. Paths should be listed relative to the root plugin directory, and
; may include "...", "*", and "?" wildcards to match directories, files, and individual characters respectively.
;
; Examples:
; /README.txt
; /Extras/...
; /Binaries/ThirdParty/*.dll
1 change: 1 addition & 0 deletions UE5_1_1
Submodule UE5_1_1 added at 5ca9da