-
Notifications
You must be signed in to change notification settings - Fork 10
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
20 changed files
with
1,188 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,57 @@ | ||
name: Bug report | ||
description: Report a bug in V-Sekai | ||
labels: [bug] | ||
body: | ||
- type: markdown | ||
attributes: | ||
value: | | ||
- Write a descriptive issue title above. | ||
- type: textarea | ||
attributes: | ||
label: Issue description | ||
description: | | ||
You can include images or videos with drag and drop, and format code blocks or logs with <code>```</code> tags. | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
attributes: | ||
label: Steps to reproduce | ||
description: | | ||
List of steps or sample code that reproduces the issue. Having reproducible issues is a prerequisite for contributors to be able to solve them. | ||
If you include a minimal reproduction project below, you can detail how to use it here. | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
attributes: | ||
label: Minimal reproduction project (For SDK or engine issues) | ||
description: | | ||
A small V-Sekai project which reproduces the issue. Highly recommended to speed up troubleshooting. | ||
Drag and drop a ZIP archive to upload it. | ||
validations: | ||
required: false | ||
|
||
- type: input | ||
attributes: | ||
label: Using a released version? | ||
description: | | ||
"Yes" if you have downloaded an official build, or if you exported the project yourself. | ||
"No" if you are running the project folder or running directly from the editor. | ||
"Both" if you have tested and it happens both when export and when run from project. | ||
This is important because some bugs only happen on released builds, and cannot be reproduced from the editor. | ||
validations: | ||
required: true | ||
|
||
- type: input | ||
attributes: | ||
label: What OS? Any other relevant information? (V-Sekai version, Godot revision, System information) | ||
description: > | ||
At a minimum, specify the OS and/or headset (Windows, Linux, Quest). | ||
Please make sure you are reasonably up to date before reporting issues. | ||
If you are not on the latest, include the last set of numbers on the bottom corner of the main screen. (or git commit hash) | ||
For graphics-related issues, specify the GPU model, driver version, and the rendering backend (GLES2, GLES3, Vulkan). | ||
placeholder: Windows, 65.78, NVidia | ||
validations: | ||
required: true |
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 @@ | ||
blank_issues_enabled: false | ||
|
||
contact_links: | ||
- name: Formal proposal | ||
url: https://github.com/V-Sekai/V-Sekai.github.io | ||
about: Formal V-Sekai proposals are in the V-Sekai.github.io repository. |
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,33 @@ | ||
name: Feature request or design proposal | ||
description: Add anything here you would like to see added or addressed in V-Sekai, that isn't necessarily a bug or fault. | ||
labels: [enhancement] | ||
body: | ||
|
||
- type: textarea | ||
attributes: | ||
label: Describe the proposed feature and how it helps to overcome a problem or limitation | ||
placeholder: Example - "The 3D selection tools are cumbersome to use." | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
attributes: | ||
label: Other information about your context or usecase. | ||
description: Describe the problem or limitation you have encountered, e.g., in free form using two to three sentences. You may want to articulate the problem in the form of a question. | ||
placeholder: Example - "Playing a 3D space game with heavy use of cut-out animation" | ||
validations: | ||
required: false | ||
|
||
- type: textarea | ||
attributes: | ||
label: If known, describe how your proposal will work, with code, pseudo-code, mock-ups, or diagrams | ||
placeholder: Example - "When the user presses Ctrl + Shift + G, select all nodes that have the group..." | ||
validations: | ||
required: false | ||
|
||
- type: textarea | ||
attributes: | ||
label: Anything else | ||
placeholder: Other information | ||
validations: | ||
required: false |
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,21 @@ | ||
# README | ||
|
||
Tested on msys2 Windows 11, Popos. | ||
|
||
## Readme for fire | ||
|
||
``` | ||
scoop install msys2 | ||
msys2 | ||
pacman -S git python3 ssh-pageant | ||
# copy | ||
# eval $(/usr/bin/ssh-pageant -r -a "/tmp/.ssh-pageant-$USERNAME") | ||
# export PATH=/mingw64/bin/:$PATH | ||
# To the end of ~/.bashrc | ||
git config --global user.name "K. S. Ernest (iFire) Lee" | ||
git config --global user.email "[email protected]" | ||
mkdir -p ~/.ssh | ||
ssh-keyscan github.com >> ~/.ssh/known_hosts | ||
git clone https://github.com/ingydotnet/git-subrepo ~/git-subrepo | ||
echo 'source ~/git-subrepo/.rc' >> ~/.bashrc | ||
``` |
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,64 @@ | ||
name: Build Godot | ||
description: Build Godot with the provided options. | ||
inputs: | ||
target: | ||
description: Build target (editor, template_release, template_debug). | ||
default: "editor" | ||
tests: | ||
description: Unit tests. | ||
default: false | ||
build-arch: | ||
description: Arch. | ||
default: false | ||
deploy: | ||
description: Deploy game. | ||
default: false | ||
deploy-arch: | ||
description: Deploy arch. | ||
default: false | ||
deploy-platform: | ||
description: Deploy game platform. | ||
required: false | ||
deploy-platform-target: | ||
description: Deploy game target. | ||
required: false | ||
platform: | ||
description: Target platform. | ||
required: false | ||
sconsflags: | ||
default: "" | ||
scons-cache: | ||
description: The scons cache path. | ||
default: "${{ github.workspace }}/.scons-cache/" | ||
scons-cache-limit: | ||
description: The scons cache size limit. | ||
# actions/cache has 10 GiB limit, and GitHub runners have a 14 GiB disk. | ||
# Limit to 7 GiB to avoid having the extracted cache fill the disk. | ||
default: 7168 | ||
runs: | ||
using: "composite" | ||
steps: | ||
- name: Scons Build | ||
shell: bash | ||
env: | ||
SCONSFLAGS: ${{ inputs.sconsflags }} | ||
SCONS_CACHE: ${{ inputs.scons-cache }} | ||
SCONS_CACHE_LIMIT: ${{ inputs.scons-cache-limit }} | ||
run: | | ||
mkdir -p bin modules/mono/glue | ||
cd godot | ||
if [[ "${{ inputs.deploy }}" == "true" ]]; then | ||
PLATFORM=${{ inputs.deploy-platform }} | ||
TARGET=${{ inputs.deploy-platform-target }} | ||
ARCH=${{ inputs.deploy-arch }} | ||
else | ||
PLATFORM=${{ inputs.platform }} | ||
TARGET=${{ inputs.target }} | ||
ARCH=${{ inputs.build-arch }} | ||
fi | ||
echo "Building with flags:" platform=$PLATFORM target=$TARGET tests=${{ inputs.tests }} ${{ env.SCONSFLAGS }} | ||
if [ "$TARGET" != "editor" ]; then rm -rf editor; fi # Ensure we don't include editor code. | ||
scons platform=$PLATFORM target=$TARGET arch=$ARCH tests=${{ inputs.tests }} ${{ env.SCONSFLAGS }} | ||
cp -r bin/* ../bin | ||
cp -r modules/mono/glue/* ../modules/mono/glue | ||
ls -l ../bin |
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 @@ | ||
name: Setup Godot build cache | ||
description: Setup Godot build cache. | ||
inputs: | ||
cache-name: | ||
description: The cache base name (job name by default). | ||
default: "${{github.job}}" | ||
scons-cache: | ||
description: The scons cache path. | ||
default: "${{github.workspace}}/.scons-cache/" | ||
runs: | ||
using: "composite" | ||
steps: | ||
# Upload cache on completion and check it out now | ||
- name: Always upload .scons_cache directory | ||
uses: pat-s/[email protected] | ||
with: | ||
path: ${{inputs.scons-cache}} | ||
key: ${{inputs.cache-name}}-${{env.GODOT_BASE_BRANCH}}-${{github.ref}}-${{github.sha}} | ||
restore-keys: | | ||
${{inputs.cache-name}}-${{env.GODOT_BASE_BRANCH}}-${{github.ref}}-${{github.sha}} | ||
${{inputs.cache-name}}-${{env.GODOT_BASE_BRANCH}}-${{github.ref}} | ||
${{inputs.cache-name}}-${{env.GODOT_BASE_BRANCH}} |
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,52 @@ | ||
name: Setup python, scons and golang | ||
description: Setup python, install the pip version of scons and setup golang. | ||
inputs: | ||
python-version: | ||
description: The python version to use. | ||
default: "3.x" | ||
python-arch: | ||
description: The python architecture. | ||
default: "x64" | ||
godot-ref: | ||
description: The reference for the Godot engine repository. | ||
default: master | ||
godot-repository: | ||
description: The Godot engine repository. | ||
default: godotengine/godot | ||
go-version: | ||
description: The Go version to use. | ||
default: "1.21" | ||
runs: | ||
using: "composite" | ||
steps: | ||
# Use python 3.x release (works cross platform) | ||
- name: Set up Python 3.x | ||
uses: actions/setup-python@v4 | ||
with: | ||
# Semantic version range syntax or exact version of a Python version | ||
python-version: ${{ inputs.python-version }} | ||
# Optional - x64 or x86 architecture, defaults to x64 | ||
architecture: ${{ inputs.python-arch }} | ||
|
||
- name: Setup scons | ||
shell: bash | ||
run: | | ||
python -c "import sys; print(sys.version)" | ||
python -m pip install scons==4.4.0 | ||
scons --version | ||
- name: Checkout godot engine repo | ||
uses: actions/checkout@v3 | ||
with: | ||
repository: ${{ inputs.godot-repository }} | ||
path: godot | ||
ref: ${{ inputs.godot-ref }} | ||
|
||
- name: Set up Go | ||
uses: actions/setup-go@v2 | ||
with: | ||
go-version: ${{ inputs.go-version }} | ||
|
||
- name: Check Go version | ||
shell: bash | ||
run: go version |
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,19 @@ | ||
name: Upload Godot artifact | ||
description: Upload the Godot artifact. | ||
inputs: | ||
name: | ||
description: The artifact name. | ||
default: "${{ github.job }}" | ||
path: | ||
description: The path to upload. | ||
required: true | ||
default: "godot/bin/*" | ||
runs: | ||
using: "composite" | ||
steps: | ||
- name: Upload Godot Artifact | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: ${{ inputs.name }} | ||
path: ${{ inputs.path }} | ||
retention-days: 14 |
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 |
Oops, something went wrong.