Skip to content

Commit

Permalink
Update deployment.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
menisisaac authored Oct 31, 2023
1 parent d8829ad commit 3c6b7b4
Showing 1 changed file with 21 additions and 38 deletions.
59 changes: 21 additions & 38 deletions .github/workflows/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,49 +2,32 @@ name: Build VirtualSlate
on:
push: {}
pull_request: {}

jobs:
# Build-Extension:
# runs-on: ubuntu-latest
# steps:
# - name: Updates Packages
# run: sudo apt-get update
# - name: Install Scons
# run: sudo apt-get -y install scons gcc-mingw-w64
# - name: Install Compiler
# run: yes | sudo apt-get install g++-mingw-w64-x86-64
# - name: Get Repo
# run: git clone --recurse-submodules https://github.com/James-Oswald/VirtualSlate.git
# - name: Build Extension
# run: cd VirtualSlate && scons platform=windows
# - name: Upload Extension
# uses: actions/upload-artifact@v3
# with:
# name: VirtualSlateBuildFiles
# path: VirtualSlate
Build-Game:
Build-Extension:
runs-on: ubuntu-latest
#needs: Build-Extension
strategy:
matrix:
platform: [windows]
steps:
- name: Retreive Build
uses: actions/download-artifact@v3
with:
name: VirtualSlateBuildFiles
- name: Build
id: build
uses: manleydev/[email protected]
with:
- name: Updates Packages
run: sudo apt-get update
- name: Install Scons
run: sudo apt-get -y install scons gcc-mingw-w64
- name: Install Compiler
run: yes | sudo apt-get install g++-mingw-w64-x86-64
- name: Get Repo
run: git clone --recurse-submodules https://github.com/James-Oswald/VirtualSlate.git
- name: Build Extension
run: cd VirtualSlate && scons platform=windows
- name: Build
id: build
uses: manleydev/[email protected]
with:
name: VirtualSlate
preset: ${{ matrix.platform }}
preset: win64
debugMode: "false"
projectDir: "VirtualSlate/VirtualSlate/project"
- name: Upload Artifact
uses: actions/upload-artifact@v2
with:
name: Client - ${{ matrix.platform }}
projectDir: "VirtualSlate/project"
- name: Upload Artifact
uses: actions/upload-artifact@v3
with:
name: Client - win64
path: ${{ github.workspace }}/${{ steps.build.outputs.build }}


0 comments on commit 3c6b7b4

Please sign in to comment.