-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
60 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
name: CMake on a single platform | ||
|
||
on: | ||
push: | ||
branches: ["master"] | ||
tags: | ||
- 'v[0-9]+.[0-9]+.[0-9]+' | ||
pull_request: | ||
branches: ["master"] | ||
|
||
permissions: | ||
contents: write | ||
|
||
env: | ||
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.) | ||
BUILD_TYPE: Release | ||
|
||
jobs: | ||
build: | ||
runs-on: windows-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
# UEVR UESDK submodule uses ssh, rewrite to https with access token | ||
- name: Set github url and credentials | ||
run: | | ||
git config --global url."https://${{ secrets.REPO_ACCESS_TOKEN }}@github.com/.insteadOf" [email protected]: | ||
- name: Configure CMake | ||
run: cmake -S ${{github.workspace}} -B ${{github.workspace}}/build -G "Visual Studio 17 2022" -A x64 -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} | ||
|
||
- name: Build | ||
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} --target pacific_drive_plugin | ||
|
||
- name: Package | ||
working-directory: ${{github.workspace}} | ||
run: Invoke-Item package.cmd | ||
- name: Upload artifacts | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: PenDriverPro-Win64-Shipping | ||
path: ${{github.workspace}}/build/Release/profile/* | ||
if-no-files-found: error | ||
- name: Release | ||
uses: softprops/action-gh-release@v1 | ||
if: startsWith(github.ref, 'refs/tags/') | ||
with: | ||
files: PenDriverPro-Win64-Shipping.zip | ||
body_path: ${{github.workspace}}/release-template.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
### Pacific Drive UEVR profile | ||
|
||
Import this profile to UEVR using dedicated function | ||
|
||
**You need UEVR nightly from this link**: https://github.com/praydog/UEVR-nightly/releases/tag/nightly-796-c25695a8c0ec35b556229046cc7011e27f4d42ee | ||
|
||
Uses **right motion controller** for camera and held items | ||
|
||
* If you want to play with gamepad or mouse, don't use this | ||
* If you want to use left controller switch it in UEVR 'Input' tab |