This repository has been archived by the owner on Jan 16, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: DJL - Jack <[email protected]>
- Loading branch information
Showing
1 changed file
with
0 additions
and
116 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 |
---|---|---|
|
@@ -61,119 +61,3 @@ jobs: | |
with: | ||
name: Test results (${{ matrix.testMode }}) | ||
path: ${{ steps.testRunner.outputs.artifactsPath }} | ||
|
||
|
||
buildWGL: | ||
needs: testRunner | ||
name: Build for WebGL π₯οΈ | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
steps: | ||
- name: Checkout code β | ||
uses: actions/checkout@v4 | ||
|
||
- name: Create LFS file list π | ||
run: git lfs ls-files -l | cut -d' ' -f1 | sort > .lfs-assets-id | ||
|
||
- name: Restore LFS cache π¦ | ||
uses: actions/cache@v3 | ||
id: lfs-cache | ||
with: | ||
path: .git/lfs | ||
key: ${{ runner.os }}-lfs-${{ hashFiles('.lfs-assets-id') }} | ||
|
||
- name: Git LFS Pull π₯ | ||
run: | | ||
git lfs pull | ||
git add . | ||
git reset --hard | ||
- name: Restore Library cache π¦ | ||
uses: actions/cache@v3 | ||
with: | ||
path: Library | ||
key: Library-build-WebGL | ||
restore-keys: | | ||
Library-build- | ||
Library- | ||
- name: Build for WebGL π₯οΈ | ||
uses: game-ci/[email protected] | ||
with: | ||
targetPlatform: WebGL | ||
projectPath: ${{ vars.projectPath }} | ||
|
||
- name: Upload Artifact π¦ | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: build-WebGL | ||
path: build/WebGL | ||
|
||
buildWindows: | ||
needs: testRunner | ||
name: Build for Windows π₯οΈ | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
steps: | ||
- name: Checkout code β | ||
uses: actions/checkout@v4 | ||
|
||
- name: Create LFS file list π | ||
run: git lfs ls-files -l | cut -d' ' -f1 | sort > .lfs-assets-id | ||
|
||
- name: Restore LFS cache π¦ | ||
uses: actions/cache@v3 | ||
id: lfs-cache | ||
with: | ||
path: .git/lfs | ||
key: ${{ runner.os }}-lfs-${{ hashFiles('.lfs-assets-id') }} | ||
|
||
- name: Git LFS Pull π₯ | ||
run: | | ||
git lfs pull | ||
git add . | ||
git reset --hard | ||
- name: Restore Library cache π¦ | ||
uses: actions/cache@v3 | ||
with: | ||
path: Library | ||
key: Library-build-StandaloneWindows64 | ||
restore-keys: | | ||
Library-build- | ||
Library- | ||
- name: Build for Windows π₯οΈ | ||
uses: game-ci/[email protected] | ||
with: | ||
targetPlatform: StandaloneWindows64 | ||
projectPath: ${{ vars.projectPath }} | ||
|
||
- name: Upload Artifact π¦ | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: build-StandaloneWindows64 | ||
path: build/StandaloneWindows64 | ||
|
||
|
||
deployPages: | ||
needs: buildWGL | ||
name: Deploy to Github Pages π | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout code β | ||
uses: actions/checkout@v4 | ||
|
||
- name: Download Artifact π¦ | ||
uses: actions/[email protected] | ||
with: | ||
name: build-WebGL | ||
path: build/WebGL | ||
|
||
- name: Deploy π | ||
uses: JamesIves/[email protected] | ||
with: | ||
branch: main | ||
folder: docs/WebGL |