-
-
Notifications
You must be signed in to change notification settings - Fork 181
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into kotlin-warnings-fix
- Loading branch information
Showing
164 changed files
with
15,289 additions
and
19,630 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
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
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 |
---|---|---|
|
@@ -105,16 +105,17 @@ jobs: | |
- name: Setup Gradle | ||
uses: gradle/gradle-build-action@v2 | ||
|
||
- uses: pnpm/action-setup@v2 | ||
- name: Use Node.js | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version-file: '.node-version' | ||
cache: 'npm' | ||
cache: 'pnpm' | ||
|
||
- name: Build GUI | ||
run: | | ||
npm ci | ||
cd gui && npm run build | ||
pnpm i | ||
cd gui && pnpm run build | ||
- name: Build with Gradle | ||
run: ./gradlew :server:android:assembleDebug | ||
|
@@ -172,16 +173,17 @@ jobs: | |
with: | ||
shared-key: "ubuntu-22.04" | ||
|
||
- uses: pnpm/action-setup@v2 | ||
- name: Use Node.js | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version-file: '.node-version' | ||
cache: 'npm' | ||
cache: 'pnpm' | ||
|
||
- name: Build | ||
run: | | ||
npm ci | ||
npm run tauri build | ||
pnpm i | ||
pnpm run tauri build | ||
- uses: actions/[email protected] | ||
with: | ||
|
@@ -244,20 +246,22 @@ jobs: | |
with: | ||
shared-key: "macos-latest" | ||
|
||
- uses: pnpm/action-setup@v2 | ||
- name: Use Node.js | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version-file: '.node-version' | ||
cache: 'npm' | ||
cache: 'pnpm' | ||
|
||
- name: Build | ||
run: | | ||
npm ci | ||
npm run tauri build -- "--target universal-apple-darwin" | ||
rustup target add aarch64-apple-darwin | ||
pnpm i | ||
pnpm run tauri build --target universal-apple-darwin | ||
- name: Modify Application | ||
run: | | ||
cd target/release/bundle/macos/slimevr.app/Contents/MacOS | ||
cd target/universal-apple-darwin/release/bundle/macos/slimevr.app/Contents/MacOS | ||
cp $( git rev-parse --show-toplevel )/server/desktop/build/libs/slimevr.jar ./ | ||
cd ../../../../dmg/ | ||
./bundle_dmg.sh --volname slimevr --icon slimevr 180 170 --app-drop-link 480 170 \ | ||
|
@@ -268,17 +272,17 @@ jobs: | |
- uses: actions/[email protected] | ||
with: | ||
name: SlimeVR-GUI-MacApp | ||
path: target/release/bundle/macos/slimevr*.app | ||
path: target/universal-apple-darwin/release/bundle/macos/slimevr*.app | ||
|
||
- uses: actions/[email protected] | ||
with: | ||
name: SlimeVR-GUI-MacDmg | ||
path: target/release/bundle/dmg/slimevr.dmg | ||
path: target/universal-apple-darwin/release/bundle/dmg/slimevr.dmg | ||
|
||
- name: Prepare for release | ||
if: startsWith(github.ref, 'refs/tags/') | ||
run: | | ||
cp target/release/bundle/dmg/slimevr.dmg ./SlimeVR-mac.dmg | ||
cp target/universal-apple-darwin/release/bundle/dmg/slimevr.dmg ./SlimeVR-mac.dmg | ||
- name: Upload to draft release | ||
uses: softprops/action-gh-release@v1 | ||
|
@@ -309,16 +313,17 @@ jobs: | |
with: | ||
shared-key: "windows-latest" | ||
|
||
- uses: pnpm/action-setup@v2 | ||
- name: Use Node.js | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version-file: '.node-version' | ||
cache: 'npm' | ||
cache: 'pnpm' | ||
|
||
- name: Build | ||
run: | | ||
npm ci | ||
npm run skipbundler | ||
pnpm i | ||
pnpm run skipbundler | ||
- name: Bundle to zips | ||
shell: bash | ||
|
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
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
plugins { | ||
id("org.ajoberstar.grgit") version "5.2.0" | ||
id("org.ajoberstar.grgit") | ||
} |
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
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
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
Oops, something went wrong.