-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
22 changed files
with
803 additions
and
649 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
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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
name: Generate build constants | ||
description: Generate build constants | ||
runs: | ||
using: "composite" | ||
steps: | ||
- name: Generate build constants | ||
shell: bash | ||
run: | | ||
export BUILD_LABEL="${{ github.repository }}/${{ github.sha }}" | ||
export BUILD_DATE_STR="$(date --utc --iso=seconds)" | ||
export BUILD_UNIX_TIME="$(date +%s)" | ||
export BUILD_URL="${{ github.server_url }}/${{ github.repository }}/commit/${{ github.sha }}" | ||
cat << EOF > addons/vsk_version/build_constants.gd | ||
## AUTOGENERATED BY BUILD | ||
const BUILD_LABEL = "$BUILD_LABEL" | ||
const BUILD_DATE_STR = "$BUILD_DATE_STR" | ||
const BUILD_UNIX_TIME = "$BUILD_UNIX_TIME" | ||
const BUILD_URL = "$BUILD_URL" | ||
EOF | ||
cat addons/vsk_version/build_constants.gd |
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
version: 2 | ||
updates: | ||
- package-ecosystem: "github-actions" | ||
directory: "/" | ||
schedule: | ||
interval: "daily" |
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
Empty file.
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 |
---|---|---|
@@ -0,0 +1,22 @@ | ||
#!/usr/bin/env sh | ||
|
||
set -euo pipefail | ||
IFS=$'\n\t' | ||
|
||
# Download and install the Vulkan SDK. | ||
curl -L "https://sdk.lunarg.com/sdk/download/latest/mac/vulkan-sdk.dmg" -o /tmp/vulkan-sdk.dmg | ||
hdiutil attach /tmp/vulkan-sdk.dmg -mountpoint /Volumes/vulkan-sdk | ||
/Volumes/vulkan-sdk/InstallVulkan.app/Contents/MacOS/InstallVulkan \ | ||
--accept-licenses --default-answer --confirm-command install | ||
|
||
cnt=5 | ||
until hdiutil detach -force /Volumes/vulkan-sdk | ||
do | ||
[[ cnt -eq "0" ]] && break | ||
sleep 1 | ||
((cnt--)) | ||
done | ||
|
||
rm -f /tmp/vulkan-sdk.dmg | ||
|
||
echo 'Vulkan SDK installed successfully! You can now build Godot by running "scons".' |
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
vscode |
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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"configurations": [ | ||
{ | ||
"name": "Linux", | ||
"includePath": ["${workspaceFolder}/**"], | ||
"defines": ["_DEBUG", "UNICODE", "_UNICODE"], | ||
"cStandard": "c11", | ||
"cppStandard": "c++17", | ||
"intelliSenseMode": "clang-x64", | ||
"compileCommands": "${workspaceFolder}/godot/compile_commands.json", | ||
"compilerArgs": [], | ||
"browse": { | ||
"path": ["${workspaceFolder}/**"] | ||
} | ||
} | ||
], | ||
"version": 4 | ||
} |
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 |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ | ||
// Use IntelliSense to learn about possible attributes. | ||
// Hover to view descriptions of existing attributes. | ||
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | ||
"version": "0.2.0", | ||
"options": { | ||
"env": { | ||
"RUST_LOG": "error", | ||
"MVSQLITE_DATA_PLANE": "http://192.168.0.39:7000" | ||
} | ||
}, | ||
"configurations": [ | ||
{ | ||
"name": "Build the editor", | ||
"type": "lldb", | ||
"request": "launch", | ||
"args": ["--path", "v-sekai-game", "-e"], | ||
"cwd": "${workspaceFolder}", | ||
"program": "${workspaceFolder}/vsk_godot/bin/godot.windows.editor.double.x86_64.llvm.exe", | ||
"preLaunchTask": "Godot Engine" | ||
} | ||
] | ||
} |
Oops, something went wrong.