Skip to content
This repository has been archived by the owner on Jan 16, 2024. It is now read-only.

Commit

Permalink
Update CI.yaml
Browse files Browse the repository at this point in the history
Signed-off-by: DJL - Jack <[email protected]>
  • Loading branch information
JackatDJL authored Oct 17, 2023
1 parent 4d1b872 commit cb60b25
Showing 1 changed file with 0 additions and 116 deletions.
116 changes: 0 additions & 116 deletions .github/workflows/CI.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit cb60b25

Please sign in to comment.