Skip to content
Closed
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
22 changes: 8 additions & 14 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,24 +20,22 @@ jobs:
known_hosts: unnecessary

- name: Checkout SFV
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: recursive
fetch-depth: 0 # needed to get commits since last tag
ssh-key: ${{ secrets.UEPSEUDO_SSH_KEY }}

- name: Add MSBuild to PATH
uses: microsoft/setup-msbuild@v1.0.2
uses: microsoft/setup-msbuild@v2

- name: Build
working-directory: ${{env.GITHUB_WORKSPACE}}
run: |
mkdir build
cd build
cmake -G "Visual Studio 17 2022" ..
msbuild /p:Configuration=${{env.BUILD_CONFIGURATION}} .\StriveFrameData\StriveFrameData.sln
msbuild /p:Configuration=${{env.BUILD_CONFIGURATION}} .\RE-UE4SS\UE4SS\proxy_generator\proxy\proxy.sln

cmake -S . -B build -G "Visual Studio 17 2022" -A x64
cmake --build build --config $env:BUILD_CONFIGURATION --parallel

- name: StandalonePackage
working-directory: ${{env.GITHUB_WORKSPACE}}
run: |
Expand All @@ -51,7 +49,7 @@ jobs:
cp .\prereqs\FText_Constructor.lua .\standalone\UE4SS_Signatures\FText_Constructor.lua

- name: Upload Artifact
uses: actions/upload-artifact@v3.1.1
uses: actions/upload-artifact@v4
with:
name: StriveFrameViewer_Standalone
path: ${{github.workspace}}\standalone\
Expand All @@ -64,12 +62,8 @@ jobs:
cp .\build\StriveFrameData\${{env.BUILD_CONFIGURATION}}\StriveFrameData.dll .\unverum\ue4ss\StriveFrameViewer\dlls\main.dll

- name: Upload Artifact
uses: actions/upload-artifact@v3.1.1
uses: actions/upload-artifact@v4
with:
name: StriveFrameViewer_Unverum
path: ${{github.workspace}}\unverum\
if-no-files-found: error




18 changes: 7 additions & 11 deletions .github/workflows/soon.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,29 +20,29 @@ jobs:
known_hosts: unnecessary

- name: Checkout SFV
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: recursive
fetch-depth: 0 # needed to get commits since last tag
ssh-key: ${{ secrets.UEPSEUDO_SSH_KEY }}

- name: Add MSBuild to PATH
uses: microsoft/setup-msbuild@v1.0.2
uses: microsoft/setup-msbuild@v2

- name: Build
working-directory: ${{env.GITHUB_WORKSPACE}}
shell: pwsh
run: |
.\Scripts\build_project.ps1

- name: StandalonePackage
working-directory: ${{env.GITHUB_WORKSPACE}}
shell: pwsh
run: |
.\Scripts\package_standalone.ps1

- name: Upload Artifact
uses: actions/upload-artifact@v3.1.1
uses: actions/upload-artifact@v4
with:
name: StriveFrameViewer_Standalone
path: ${{github.workspace}}\Packages\Standalone\
Expand All @@ -55,12 +55,8 @@ jobs:
.\Scripts\package_unverum.ps1

- name: Upload Artifact
uses: actions/upload-artifact@v3.1.1
uses: actions/upload-artifact@v4
with:
name: StriveFrameViewer_Unverum
path: ${{github.workspace}}\Packages\Unverum\
if-no-files-found: error




if-no-files-found: error
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
url = https://github.com/TsudaKageyu/minhook.git
[submodule "RE-UE4SS"]
path = RE-UE4SS
url = https://github.com/Chitaso/RE-UE4SS.git
url = git@github.com:UE4SS-RE/RE-UE4SS.git
2 changes: 1 addition & 1 deletion RE-UE4SS
Submodule RE-UE4SS updated 1 files
+2 −2 .gitmodules
8 changes: 4 additions & 4 deletions Scripts/build_project.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -12,21 +12,21 @@ function Build {

Write-Host "`n##### Running CMake #####`n"
$RCode = Run cmake.exe "-G `"Visual Studio 17 2022`" .."
if($RCode -ne 0) {
if($RCode -ne 0) {
Write-Host "##### Failed CMake #####"
return $RCode
return $RCode
}

Write-Host "`n##### Running MSBuild Mod #####`n"
$RCode = Run MSBuild.exe "/p:Configuration=Game__Shipping__Win64 .\StriveFrameData\StriveFrameData.sln"
if($RCode -ne 0) {
if($RCode -ne 0) {
Write-Host "`n##### Failed MSBuild Mod #####"
return $RCode
}

Write-Host "`n##### Running MSBuild Proxy #####`n"
$RCode = Run MSBuild.exe "/p:Configuration=Game__Shipping__Win64 .\RE-UE4SS\UE4SS\proxy_generator\proxy\proxy.sln"
if($RCode -ne 0) {
if($RCode -ne 0) {
Write-Host "`n##### Failed MSBuild Proxy #####"
}
return $RCode
Expand Down
3 changes: 3 additions & 0 deletions rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[toolchain]
channel = "1.80.0"
components = ["rustc", "cargo"]
Loading