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

CI/CD #25

Draft
wants to merge 73 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
73 commits
Select commit Hold shift + click to select a range
0ccb5e0
[InputSystem] try to fix "WhileInputActive"(not possible), "OnInputTr…
Ciberusps Oct 14, 2024
dec5186
[Docs] BlueprintNodes
Ciberusps Oct 15, 2024
b2e4568
Update README.md
Ciberusps Oct 16, 2024
cf66076
Merge branch 'main' into dev
Ciberusps Oct 16, 2024
693c6eb
Update UHLAbilitySystemComponent.cpp
Ciberusps Oct 16, 2024
34fc2a5
[DebugSubsystem] check Blocks not empty
Ciberusps Oct 17, 2024
19217a4
Merge branch 'main' into dev
Ciberusps Oct 19, 2024
cf15203
first try
Ciberusps Oct 19, 2024
72d182b
2nd try
Ciberusps Oct 19, 2024
f8daeb1
3
Ciberusps Oct 19, 2024
b2511d0
4
Ciberusps Oct 19, 2024
a4e4100
5
Ciberusps Oct 19, 2024
9069b74
6
Ciberusps Oct 19, 2024
2c02d22
7
Ciberusps Oct 19, 2024
66fe357
8
Ciberusps Oct 19, 2024
c750d24
8
Ciberusps Oct 19, 2024
1bfc492
9
Ciberusps Oct 19, 2024
8313a70
10
Ciberusps Oct 20, 2024
701688f
11
Ciberusps Oct 20, 2024
5e46533
12
Ciberusps Oct 20, 2024
d4875b8
13
Ciberusps Oct 20, 2024
2cfc424
14
Ciberusps Oct 20, 2024
2a2ba72
15
Ciberusps Oct 20, 2024
e317976
16
Ciberusps Oct 20, 2024
ceb9f30
17
Ciberusps Oct 20, 2024
bc35623
18
Ciberusps Oct 20, 2024
60f34dd
save
Ciberusps Oct 20, 2024
7895fef
19
Ciberusps Oct 24, 2024
9068ec9
20
Ciberusps Oct 24, 2024
ade9357
21
Ciberusps Oct 24, 2024
f8e79b9
22
Ciberusps Oct 24, 2024
752c7eb
23
Ciberusps Oct 24, 2024
0f03e48
24
Ciberusps Oct 24, 2024
2a86871
25
Ciberusps Oct 24, 2024
6308b4d
26
Ciberusps Oct 24, 2024
9b6e4ce
27
Ciberusps Oct 24, 2024
3d1e4fe
28
Ciberusps Oct 24, 2024
6e4d6fd
29
Ciberusps Oct 24, 2024
2191a43
30
Ciberusps Oct 24, 2024
fcfeb34
31
Ciberusps Oct 24, 2024
496ad6e
32
Ciberusps Oct 24, 2024
7bb97e2
33
Ciberusps Oct 24, 2024
88634b9
34
Ciberusps Oct 24, 2024
7d2e13c
35
Ciberusps Oct 24, 2024
20c6806
36
Ciberusps Oct 24, 2024
3b8100d
37
Ciberusps Oct 24, 2024
9ec1e73
38
Ciberusps Oct 24, 2024
495af45
39
Ciberusps Oct 24, 2024
5fda845
Merge branch 'main' into feature/CI
Ciberusps Oct 24, 2024
784b844
40
Ciberusps Oct 24, 2024
7237001
41
Ciberusps Oct 24, 2024
c5c43d6
42
Ciberusps Oct 24, 2024
0fb921e
43
Ciberusps Oct 24, 2024
1f05a56
44
Ciberusps Oct 24, 2024
5df2855
45
Ciberusps Oct 24, 2024
5f14232
46
Ciberusps Oct 24, 2024
7d33e84
47
Ciberusps Oct 24, 2024
334f045
48
Ciberusps Oct 24, 2024
97f21b8
49
Ciberusps Oct 24, 2024
34407da
50
Ciberusps Oct 24, 2024
5758121
51
Ciberusps Oct 24, 2024
5d6d2fc
52
Ciberusps Oct 24, 2024
7de13bc
53
Ciberusps Oct 24, 2024
5cbb0ae
54 - UE5.4.0
Ciberusps Oct 24, 2024
5e8e570
54 - UE5.4.1
Ciberusps Oct 24, 2024
a6d2b6b
54 - UE5.4.2
Ciberusps Oct 24, 2024
d882ddb
54 - UE5.4.3
Ciberusps Oct 24, 2024
173932f
54 - UE5.4.4
Ciberusps Oct 24, 2024
3949c78
win64
Ciberusps Oct 24, 2024
8002ad5
Create build-with-project.yml
Ciberusps Oct 24, 2024
a014f47
Merge branch 'main' into feature/CI
Ciberusps Oct 24, 2024
5866de9
use 5.4
Ciberusps Oct 24, 2024
98c6346
Update build-with-project.yml
Ciberusps Oct 24, 2024
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
47 changes: 47 additions & 0 deletions .github/workflows/build-with-project.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
name: Build with blueprint project

on:
push:
branches:
- "**"

jobs:
build:
runs-on: self-hosted
steps:
- name: Check out UE5.4 project
uses: actions/checkout@v3
with:
repository: Ciberusps/UE_5_4_Blueprint
path: UE_5_4_Blueprint

- name: Check out UnrealHelperLibrary to Plugins folder
uses: actions/checkout@v3
with:
path: UE_5_4_Blueprint/Plugins/UnrealHelperLibrary

- name: Build project
uses: OrchidIsle/UE5-Build-Project@latest
with:
RUNUAT_PATH: 'S:/Epic Games/UE_5.4/Engine/Build/BatchFiles/RunUAT.bat'
UPROJECT_PATH: ${{ github.workspace }}/UE_5_4_Blueprint/UE_5_4_Blueprint.uproject
BUILD_CONFIG: Development
PLATFORM: Win64
CLEAN: true
COOK: true
STAGE: true
PACKAGE: true
PAK: false
SERVER: false
ARCHIVE: false
ARCHIVE_PATH: 'C:/Archives/MyGame'
NULLRHI: true
EDITOR: true
ENCRYPT_INI: true
# RELEASE: '1.0.0'
# PATCH: '0.9.0'
# MAPS: 'Map1,Map2'
DELETE_PDB: true
# ANTICHEAT_ENABLED: true
# ANTICHEAT_PRIVATE_KEY: 'base64encodedprivatekey'
# ANTICHEAT_PUBLIC_CERT: 'base64encodedpubliccert'
84 changes: 84 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
# name: Build/release

# on:
# push:
# tags:
# - "*"

# jobs:
# release:
# runs-on: ${{ matrix.os }}

# defaults:
# run:
# shell: bash

# # env:
# # STEAMWORKS_SDK_ARCHIVE_PASSWORD: ${{ secrets.STEAMWORKS_SDK_ARCHIVE_PASSWORD }}
# # STEAMWORKS_SDK_GOOGLE_DRIVE_LINK: ${{ secrets.STEAMWORKS_SDK_GOOGLE_DRIVE_LINK }}

# strategy:
# fail-fast: false
# matrix:
# os: [windows-latest, macos-latest, ubuntu-latest]

# steps:
# - name: Check out Git repository
# uses: actions/checkout@v3

# - name: Install Node.js, NPM and Yarn
# uses: actions/setup-node@v3
# with:
# node-version: "16"
# cache: "npm"

# - name: TEMPORARY - Install gdown for fetchSteamworksSdk.js
# run: pip3 install gdown

# - name: Install dependencies
# run: |
# npm install --legacy-peer-deps

# - name: Build
# run: |
# npm run postinstall
# npm run build

# - name: Publish to github
# env:
# # These values are used for auto updates signing
# # APPLE_ID: ${{ secrets.APPLE_ID }}
# # APPLE_ID_PASS: ${{ secrets.APPLE_ID_PASS }}
# # CSC_LINK: ${{ secrets.CSC_LINK }}
# # CSC_KEY_PASSWORD: ${{ secrets.CSC_KEY_PASSWORD }}
# # This is used for uploading release assets to github
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# run: npm exec electron-builder -- --publish always

# # - id: setup-steamcmd
# # uses: CyberAndrii/[email protected]

# # - name: Create steamworks build script
# # run: node ./scripts/createSteamBuildScript.js
# # env:
# # STEAM_APP_ID: 1904150
# # RELEASE_BRANCH: development
# # DEPOT_WINDOWS_ID: 1904151
# # DEPOT_LINUX_ID: 1904152
# # DEPOT_MACOS_ID: 1904153
# # RUNNER_OS: $RUNNER_OS

# # - name: Generate steam guard auth code
# # id: generate
# # uses: CyberAndrii/[email protected]
# # with:
# # shared_secret: ${{ secrets.STEAM_SHARED_SECRET }}

# # - name: Publish to Steam
# # run: |
# # node ./scripts/publishToSteam.js
# # env:
# # STEAM_CMD: ${{ steps.setup-steamcmd.outputs.executable }}
# # STEAM_USERNAME: ${{ secrets.STEAM_USERNAME }}
# # STEAM_PASSWORD: ${{ secrets.STEAM_PASSWORD }}
# # STEAM_GUARD_CODE: ${{ steps.generate.outputs.code }}
221 changes: 221 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,221 @@
name: Test

on:
push:
branches:
- "**"
# - "!main"
# - "!l10n_main"

# env:
# STEAMWORKS_SDK_ARCHIVE_PASSWORD: ${{ secrets.STEAMWORKS_SDK_ARCHIVE_PASSWORD }}
# STEAMWORKS_SDK_GOOGLE_DRIVE_LINK: ${{ secrets.STEAMWORKS_SDK_GOOGLE_DRIVE_LINK }}

jobs:
build-plugins:
runs-on: ubuntu-latest
steps:
- name: Free Disk Space (Ubuntu)
uses: jlumbroso/free-disk-space@main
with:
# this might remove tools that are actually needed,
# if set to "true" but frees about 6 GB
tool-cache: true
# all of these default to true, but feel free to set to
# "false" if necessary for your workflow
android: true
dotnet: true
haskell: true
large-packages: true
docker-images: false
swap-storage: true
- name: Check out UnrealHelperLibrary to Plugins folder
uses: actions/checkout@v3
with:
path: UnrealHelperLibrary
- name:
run: |
echo ${{ secrets.UNREAL_ENGINE_PERSONAL_TOKEN }} | docker login ghcr.io -u ${{ github.actor }} --password-stdin
docker pull ghcr.io/epicgames/unreal-engine:dev-slim-5.4
- uses: addnab/docker-run-action@v3
with:
username: ${{ github.actor }}
password: ${{ secrets.UNREAL_ENGINE_PERSONAL_TOKEN }}
registry: ghcr.io
image: ghcr.io/epicgames/unreal-engine:dev-slim-5.4
options: -v ${{ github.workspace }}:/work -e ABC=123
run: |
echo "Running Script"
mkdir -p "Result"
test -e "./Engine/Build/BatchFiles/RunUAT.sh" && echo file exists || echo file not found
test -e "/work/UnrealHelperLibrary/UnrealHelperLibrary.uplugin" && echo file exists || echo file not found
test -e "/work/Result" && echo file exists || echo file not found
test -e "Result" && echo file exists || echo file not found
./Engine/Build/BatchFiles/RunUAT.sh BuildPlugin -plugin="/work/UnrealHelperLibrary/UnrealHelperLibrary.uplugin" -package="./Result" -platform=Win64
# - name: Build Plugins (UHL)
# shell: sh
# run: |
# "home/ue4/UnrealEngine/Engine/BatchFiles/RunUAT.sh BuildPlugin -plugin="${{ github.workspace }}/UnrealHelperLibrary/UnrealHelperLibrary.uplugin" -package="${{ github.workspace }}/Result""
# clean-up-space:
# runs-on: ubuntu-latest
# steps:
# Works better
# - name: Free Disk Space (Ubuntu)
# uses: jlumbroso/free-disk-space@main
# with:
# # this might remove tools that are actually needed,
# # if set to "true" but frees about 6 GB
# tool-cache: false
# # all of these default to true, but feel free to set to
# # "false" if necessary for your workflow
# android: true
# dotnet: true
# haskell: true
# large-packages: true
# docker-images: false
# swap-storage: true
# # free some space
# - name: Maximize build space
# uses: easimon/maximize-build-space@master
# with:
# # root-reserve-mb: 512
# # swap-size-mb: 1024
# remove-dotnet: 'true'
# build:
# runs-on: self-hosted
# # runs-on: ubuntu-latest
# container:
# image: ghcr.io/epicgames/unreal-engine:dev-slim-5.4
# credentials:
# username: ${{ github.actor }}
# password: ${{ secrets.UNREAL_ENGINE_PERSONAL_TOKEN }}
# # needs: clean-up-space
# steps:
# - name: Check out UE5.4 project
# uses: actions/checkout@v3
# with:
# repository: Ciberusps/UE_5_4_Blueprint
# path: UE_5_4_Blueprint
# - name: Check out UE5.4 project
# shell: bash
# run: |
# ls
# - name: Check out UnrealHelperLibrary to Plugins folder
# uses: actions/checkout@v3
# with:
# # path: UE_5_4_Blueprint/Plugins/UnrealHelperLibrary
# path: UnrealHelperLibrary
# - name: Build Plugins (UHL)
# shell: powershell
# run: |
# mkdir "Temp"
# $pluginPath = Resolve-Path -Path "UE_5_4_Blueprint/Plugins/UnrealHelperLibrary/UnrealHelperLibrary.uplugin"
# $tempDirAbsolutePath = Resolve-Path -Path "Temp"
# "S:/Epic Games/UE_5.4/Engine/Build/BatchFiles/RunUAT.bat BuildPlugin -plugin="$pluginPath" -package="$tempDirAbsolutePath""
# - name: Build project
# uses: OrchidIsle/UE5-Build-Project@latest
# with:
# # RUNUAT_PATH: 'S:/Epic Games/UE_5.4/Engine/Build/BatchFiles/RunUAT.bat'
# # UE folder in epic provided container - /home/ue4/UnrealEngine/Engine/Binaries
# RUNUAT_PATH: 'home/ue4/UnrealEngine/Engine/BatchFiles/RunUAT'
# UPROJECT_PATH: ${{ github.workspace }}/UE_5_4_Blueprint/UE_5_4_Blueprint.uproject
# BUILD_CONFIG: Development
# PLATFORM: Win64
# CLEAN: true
# COOK: true
# STAGE: true
# PACKAGE: true
# PAK: true
# SERVER: false
# ARCHIVE: false
# ARCHIVE_PATH: 'C:/Archives/MyGame'
# NULLRHI: true
# EDITOR: true
# ENCRYPT_INI: true
# # RELEASE: '1.0.0'
# # PATCH: '0.9.0'
# # MAPS: 'Map1,Map2'
# DELETE_PDB: true
# # ANTICHEAT_ENABLED: true
# # ANTICHEAT_PRIVATE_KEY: 'base64encodedprivatekey'
# # ANTICHEAT_PUBLIC_CERT: 'base64encodedpubliccert'







# lint:
# runs-on: self-hosted
# steps:
# - name: Check out Git repository
# uses: actions/checkout@v3

# lint-prettier:
# runs-on: ubuntu-latest
# steps:
# - name: Check out Git repository
# uses: actions/checkout@v3
# - name: Install Node.js, NPM and Yarn
# uses: actions/setup-node@v3
# with:
# node-version: "16"
# cache: "npm"
# - name: TEMPORARY - Install gdown for fetchSteamworksSdk.js
# run: pip3 install gdown
# - name: Install dependencies
# run: npm install --legacy-peer-deps
# - name: Lint Prettier
# run: npm run lint:prettier

# lint-types:
# runs-on: ubuntu-latest
# steps:
# - name: Check out Git repository
# uses: actions/checkout@v3
# - name: Install Node.js, NPM and Yarn
# uses: actions/setup-node@v3
# with:
# node-version: "16"
# cache: "npm"
# - name: TEMPORARY - Install gdown for fetchSteamworksSdk.js
# run: pip3 install gdown
# - name: Install dependencies
# run: npm install --legacy-peer-deps
# - name: Lint Types
# run: npm run lint:types

# licenses-check:
# runs-on: ubuntu-latest
# steps:
# - name: Check out Git repository
# uses: actions/checkout@v3
# - name: Install Node.js, NPM and Yarn
# uses: actions/setup-node@v3
# with:
# node-version: "16"
# cache: "npm"
# - name: TEMPORARY - Install gdown for fetchSteamworksSdk.js
# run: pip3 install gdown
# - name: Install dependencies
# run: npm install --legacy-peer-deps
# - name: Test
# run: npm run lint:licenses

# test:
# runs-on: ubuntu-latest
# steps:
# - name: Check out Git repository
# uses: actions/checkout@v3
# - name: Install Node.js, NPM and Yarn
# uses: actions/setup-node@v3
# with:
# node-version: "16"
# cache: "npm"
# - name: TEMPORARY - Install gdown for fetchSteamworksSdk.js
# run: pip3 install gdown
# - name: Install dependencies
# run: npm install --legacy-peer-deps
# - name: Test
# run: npm run test
Binary file added Content/BP_UHL_BlueprintNode.uasset
Binary file not shown.
Binary file removed Content/BP_UHL_BlueprintNodes.uasset
Binary file not shown.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ UHL consists of 3 modules:
> - [TraceUtilsBPL](#traceutilsbpl)
> - SweepCapsuleSingleByChannel
> - [Settings](#settings)
> - [UHL Settings](#)
> - [UHL Settings](#uhl-settings)

**UnrealHelperEditor**

Expand Down Expand Up @@ -731,3 +731,9 @@ TODO check ref - https://github.com/Atulin/ChannelMerger
## Special Thanks

[@Ingarnm](https://github.com/Ingarnm), [@Vamp1rk0](https://github.com/Vamp1rk0) for feedback

## Github Actions

- make your github runner
- Add `UE_5_4_Blueprint` as safe directory
`git config --global --add safe.directory D:/_work/unreal-helper-library/unreal-helper-library/UE_5_4_Blueprint`
Loading
Loading