Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

4 GitHub actions for deployment #25

Open
wants to merge 72 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
72 commits
Select commit Hold shift + click to select a range
9ad26a5
Create deployment.yaml
menisisaac Oct 24, 2023
be7561d
Rename actions/deployment.yaml to .github/workflows/deployment.yaml
menisisaac Oct 24, 2023
07fcd4d
Testing Workflow
menisisaac Oct 25, 2023
9b8d7a3
Update deployment.yaml
menisisaac Oct 25, 2023
7af0a93
Update deployment.yaml
menisisaac Oct 25, 2023
8803991
Update deployment.yaml
menisisaac Oct 25, 2023
65c2ad9
Update deployment.yaml
menisisaac Oct 25, 2023
f03991b
Update deployment.yaml
menisisaac Oct 25, 2023
59dbb11
Update deployment.yaml
menisisaac Oct 25, 2023
74cbf44
Update deployment.yaml
menisisaac Oct 25, 2023
dbf8e0a
Update deployment.yaml
menisisaac Oct 25, 2023
5539715
Update deployment.yaml
menisisaac Oct 30, 2023
4da0bb6
Update deployment.yaml
menisisaac Oct 30, 2023
3ad0d2c
Update deployment.yaml
menisisaac Oct 30, 2023
03c102f
Update deployment.yaml
menisisaac Oct 30, 2023
68ec3a1
Update deployment.yaml
menisisaac Oct 30, 2023
8401adf
Update deployment.yaml
menisisaac Oct 31, 2023
73ec6cf
Update deployment.yaml
menisisaac Oct 31, 2023
86ba84c
Update deployment.yaml
menisisaac Oct 31, 2023
d8829ad
Update deployment.yaml
menisisaac Oct 31, 2023
3c6b7b4
Update deployment.yaml
menisisaac Oct 31, 2023
a3635b1
should be a faster run time
fluxodyssey Oct 31, 2023
0854942
Forgot scons
fluxodyssey Oct 31, 2023
015e42c
Changed Clone->Checkout
menisisaac Nov 3, 2023
d485b28
Update deployment.yaml
menisisaac Nov 3, 2023
b2b2973
Updated godot-action
menisisaac Nov 7, 2023
78e78d3
Activated.yaml
menisisaac Nov 7, 2023
e7fcd31
Update deployment.yaml
menisisaac Nov 7, 2023
9216c06
Testing Platform Fix
menisisaac Nov 7, 2023
d882793
Update deployment.yaml
menisisaac Nov 7, 2023
ef46fa6
Update deployment.yaml
menisisaac Nov 7, 2023
f35b0a4
Add webrequest for engine
menisisaac Nov 10, 2023
b7368d4
Update deployment.yaml
menisisaac Nov 10, 2023
343f3c9
Update deployment.yaml
menisisaac Nov 10, 2023
a5904c8
Fixed Name Glitch.yaml
menisisaac Nov 10, 2023
3dc54a2
Update deployment.yaml
menisisaac Nov 10, 2023
2e1506b
Update deployment.yaml
menisisaac Nov 10, 2023
b20dbb2
Locate .exe Helper
menisisaac Nov 10, 2023
d5909e5
Update deployment.yaml
menisisaac Nov 10, 2023
150316b
Update deployment.yaml
menisisaac Nov 13, 2023
5c3c51a
Update project.godot
menisisaac Nov 13, 2023
bb77738
Merge branch 'master' into 4-github-actions-for-deployment
menisisaac Nov 13, 2023
249a4d7
Update deployment.yaml
menisisaac Nov 13, 2023
dbd5870
Downgraded windows
menisisaac Nov 13, 2023
63c6b5b
moved template
menisisaac Nov 13, 2023
cb12256
changed back
menisisaac Nov 13, 2023
57b9c0c
Delete windows_release_x86_64.exe
menisisaac Nov 13, 2023
84a0472
Update deployment.yaml
menisisaac Nov 13, 2023
793e8fa
Update deployment.yaml
menisisaac Nov 13, 2023
6dd48e8
Revert changes
menisisaac Nov 13, 2023
68f04af
Fixed Spelling
menisisaac Nov 14, 2023
4e40cc8
Update deployment.yaml
menisisaac Nov 14, 2023
823f07b
added templates
fluxodyssey Nov 14, 2023
31598b7
Merge branch '4-github-actions-for-deployment' of https://github.com/…
fluxodyssey Nov 14, 2023
8984e76
added export templates
fluxodyssey Nov 14, 2023
da33050
fixed path
fluxodyssey Nov 14, 2023
f8ed0c1
changed path
fluxodyssey Nov 14, 2023
0fcc8c8
Testing new template
menisisaac Nov 15, 2023
719c036
Update export_presets.cfg
menisisaac Nov 15, 2023
43debd7
Update deployment.yaml
menisisaac Nov 16, 2023
e3cee99
Checking if tux is back online
menisisaac Nov 19, 2023
8e794bb
Update deployment.yaml
menisisaac Nov 19, 2023
2718ed0
Changed template
menisisaac Nov 19, 2023
0c8b37b
Update deployment.yaml
menisisaac Nov 19, 2023
91399aa
Removed files from build.yaml
menisisaac Nov 21, 2023
e86a666
Update deployment.yaml
menisisaac Nov 27, 2023
fe054f8
Update deployment.yaml
menisisaac Nov 27, 2023
2aa94b3
Merge branch 'master' into 4-github-actions-for-deployment
menisisaac Dec 6, 2023
7351a5d
Cleaned up file
menisisaac Dec 6, 2023
71cb390
Update deployment.yaml
menisisaac Dec 7, 2023
85714d3
Update deployment.yaml
menisisaac Dec 7, 2023
1b779de
Update deployment.yaml
menisisaac Dec 7, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
56 changes: 56 additions & 0 deletions .github/workflows/deployment.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
name: Build VirtualSlate
on:
push:
branches:
- master
jobs:
Build-Extension:
runs-on: ubuntu-latest
steps:
- name: Update 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
uses: actions/checkout@v4
with:
submodules: recursive
- name: Build Extension
run: scons platform=windows
- name: Upload Artifact
uses: actions/upload-artifact@v3
with:
name: VirtualSlateBuildFiles
path: ./

Build-Game:
runs-on: windows-latest
needs: Build-Extension
steps:
- name: Retrieve Build
uses: actions/download-artifact@v3
with:
name: VirtualSlateBuildFiles
- name: Download Engine
run: Invoke-WebRequest https://downloads.tuxfamily.org/godotengine/4.1.2/Godot_v4.1.2-stable_win64.exe.zip -OutFile godotbuilder.zip
- name: Unzip Engine
run: Expand-Archive godotbuilder.zip -DestinationPath ./
- name: Make Game
run: ./Godot_v4.1.2-stable_win64_console.exe --headless --path project --export-debug "Windows Desktop"
- name: Move Files
run: mkdir project/build; cp project/Project.exe project/build/Project.exe; cp project/Project.pck project/build/Project.pck;
- name: Move Files Part 2
run: cp project/libproofgraph.windows.template_debug.x86_64.dll project/build/libproofgraph.windows.template_debug.x86_64.dll
- name: Zip release
run: Compress-Archive -Path project/build/* -Destination VirtualSlate.zip
- name: Publish
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: VirtualSlate.zip
asset_name: VRSlate
tag: ${{ github.ref }}
overwrite: true
body: "Windows-x64"
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
*.exe
#*.exe Readd once workflow is complete
*.obj
*.dblite
*.os
Expand Down
8 changes: 4 additions & 4 deletions project/export_presets.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,16 @@ custom_features=""
export_filter="all_resources"
include_filter=""
exclude_filter=""
export_path="../../test.exe"
export_path="./Project.exe"
encryption_include_filters=""
encryption_exclude_filters=""
encrypt_pck=false
encrypt_directory=false

[preset.0.options]

custom_template/debug=""
custom_template/release=""
custom_template/debug="./windows_debug_x86_64.exe"
custom_template/release="./windows_release_x86_64.exe"
debug/export_console_wrapper=1
binary_format/embed_pck=false
texture_format/bptc=true
Expand All @@ -31,7 +31,7 @@ codesign/timestamp_server_url=""
codesign/digest_algorithm=1
codesign/description=""
codesign/custom_options=PackedStringArray()
application/modify_resources=true
application/modify_resources=false
application/icon=""
application/console_wrapper_icon=""
application/icon_interpolation=4
Expand Down
Binary file added project/windows_debug_x86_64.exe
Binary file not shown.
Binary file added project/windows_release_x86_64.exe
Binary file not shown.
Loading