-
Notifications
You must be signed in to change notification settings - Fork 0
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
1 parent
58edeb0
commit bbf43ce
Showing
26 changed files
with
1,357 additions
and
59 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 |
---|---|---|
@@ -1,3 +1,2 @@ | ||
[codespell] | ||
skip = assets/** | ||
ignore-words-list = lod,LOD | ||
skip = addons/gd-plug/**,addons/gut/** |
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 |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
|
||
# Godot | ||
|
||
GODOT_VERSION=4.2 | ||
GODOT_VERSION=4.2.1 | ||
|
||
# Addon | ||
|
||
|
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 |
---|---|---|
@@ -1,12 +1,18 @@ | ||
# Properly detect languages on Github. | ||
*.gd linguist-language=GDScript | ||
|
||
# Normalize EOL for all files that Git considers text files. | ||
* text=auto eol=lf | ||
*.gd linguist-language=GDScript | ||
|
||
# The above only works properly for Git 2.10+, so for older versions | ||
# we need to manually list the binary files we don't want modified. | ||
*.mp3 binary | ||
*.png binary | ||
*.hdr binary | ||
|
||
# Exclude all top-level files and directories (except addons) from zip downloads. | ||
# This makes installing through the AssetLib easier, because no files and folders | ||
# need to be unchecked. | ||
|
||
/** export-ignore | ||
/** export-ignore | ||
/addons/greeter !export-ignore | ||
/addons/greeter/** !export-ignore |
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: Setup Godot | ||
description: Setup Godot dependencies. | ||
runs: | ||
using: "composite" | ||
steps: | ||
|
||
############ | ||
# Windows # | ||
############ | ||
|
||
- name: Installing Mesa3D | ||
if: ${{ runner.os == 'Windows' }} | ||
uses: ssciwr/setup-mesa-dist-win@v1 | ||
|
||
- name: Installing Scream, a virtual sound card | ||
if: ${{ runner.os == 'Windows' }} | ||
shell: powershell | ||
run: | | ||
<# Script to install Scream, a dummy sound card for Windows: https://github.com/duncanthrax/scream | ||
Taken from comment by Aleksandr Chebotov (al-cheb) at: https://github.com/actions/virtual-environments/issues/2528#issuecomment-766883233 #> | ||
Start-Service audio* | ||
Invoke-WebRequest https://github.com/duncanthrax/scream/releases/download/3.6/Scream3.6.zip -OutFile C:\Scream3.6.zip | ||
Expand-Archive C:\Scream3.6.zip -DestinationPath C:\Scream | ||
$cert = (Get-AuthenticodeSignature C:\Scream\Install\driver\Scream.sys).SignerCertificate | ||
$store = [System.Security.Cryptography.X509Certificates.X509Store]::new("TrustedPublisher", "LocalMachine") | ||
$store.Open("ReadWrite") | ||
$store.Add($cert) | ||
$store.Close() | ||
cd C:\Scream\Install\driver | ||
C:\Scream\Install\helpers\devcon install Scream.inf *Scream | ||
############ | ||
# Linux # | ||
############ | ||
|
||
- name: Installing Linux dependencies | ||
if: ${{ runner.os == 'Linux' }} | ||
shell: bash | ||
run: sudo apt-get install -y pulseaudio xvfb x11-xserver-utils mesa-vulkan-drivers | ||
|
||
- name: Starting X11 server on :0 | ||
if: ${{ runner.os == 'Linux' }} | ||
shell: bash | ||
run: xset -q || /bin/bash -c "sudo Xvfb -ac :0 -screen 0 1920x1080x24 > /dev/null 2>&1 &" | ||
env: | ||
DISPLAY: ":0" | ||
|
||
- name: Check that X11 server is running | ||
if: ${{ runner.os == 'Linux' }} | ||
uses: nick-fields/retry@v2 | ||
with: | ||
timeout_minutes: 1 | ||
max_attempts: 5 | ||
command: /bin/bash -c "xset -q > /dev/null 2>&1" | ||
env: | ||
DISPLAY: ":0" | ||
|
||
- name: Starting dummy sound device | ||
if: ${{ runner.os == 'Linux' }} | ||
uses: nick-fields/retry@v2 | ||
with: | ||
timeout_minutes: 1 | ||
max_attempts: 3 | ||
command: pulseaudio --check || pulseaudio -D |
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 |
---|---|---|
@@ -1,35 +1,35 @@ | ||
{ | ||
"regexManagers": [ | ||
{ | ||
"fileMatch": ["^plug\\.gd$"], | ||
"matchStrings": [ | ||
"\\s+plug\\(\"(?<gitUrl>.*?)\",\\ \\{\\s*\"commit\":\\ \"(?<currentValue>)(?<currentDigest>.*?)\"" | ||
], | ||
"depNameTemplate": "{{{gitUrl}}}", | ||
"packageNameTemplate": "https://github.com/{{{gitUrl}}}", | ||
"versioningTemplate": "git", | ||
"datasourceTemplate": "git-refs" | ||
}, | ||
{ | ||
"fileMatch": ["^plug\\.gd$"], | ||
"matchStrings": [ | ||
"\\s+plug\\(\"(?<gitUrl>.*?)\",\\ \\{\\s*\"tag\":\\ \"(?<currentValue>)(?<currentDigest>.*?)\"" | ||
], | ||
"depNameTemplate": "{{{gitUrl}}}", | ||
"packageNameTemplate": "https://github.com/{{{gitUrl}}}", | ||
"versioningTemplate": "git", | ||
"datasourceTemplate": "git-tags" | ||
}, | ||
{ | ||
"fileMatch": ["^.env$"], | ||
"matchStrings": [ | ||
"GODOT_VERSION=(?<currentValue>.*?)\\n" | ||
], | ||
"depNameTemplate": "godotengine/godot", | ||
"packageNameTemplate": "https://github.com/godotengine/godot", | ||
"versioningTemplate": "loose", | ||
"extractVersionTemplate": "^(?<version>.*)-stable$", | ||
"datasourceTemplate": "git-tags" | ||
} | ||
] | ||
"regexManagers": [ | ||
{ | ||
"fileMatch": ["^plug\\.gd$"], | ||
"matchStrings": [ | ||
"\\s+plug\\(\"(?<gitUrl>.*?)\",\\ \\{\\s*\"commit\":\\ \"(?<currentValue>.*)\"" | ||
], | ||
"depNameTemplate": "{{{gitUrl}}}", | ||
"packageNameTemplate": "https://github.com/{{{gitUrl}}}", | ||
"versioningTemplate": "git", | ||
"datasourceTemplate": "git-refs" | ||
}, | ||
{ | ||
"fileMatch": ["^plug\\.gd$"], | ||
"matchStrings": [ | ||
"\\s+plug\\(\"(?<gitUrl>.*?)\",\\ \\{\\s*\"tag\":\\ \"(?<currentValue>.*)\"" | ||
], | ||
"depNameTemplate": "{{{gitUrl}}}", | ||
"packageNameTemplate": "https://github.com/{{{gitUrl}}}", | ||
"versioningTemplate": "git", | ||
"datasourceTemplate": "git-tags" | ||
}, | ||
{ | ||
"fileMatch": ["^.env$"], | ||
"matchStrings": [ | ||
"GODOT_VERSION=(?<currentValue>.*?)\\n" | ||
], | ||
"depNameTemplate": "godotengine/godot", | ||
"packageNameTemplate": "https://github.com/godotengine/godot", | ||
"versioningTemplate": "loose", | ||
"extractVersionTemplate": "^(?<version>.*)-stable$", | ||
"datasourceTemplate": "git-tags" | ||
} | ||
] | ||
} |
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,10 @@ | ||
{ | ||
"dirs": [ | ||
"res://test" | ||
], | ||
"prefix": "", | ||
"suffix": ".test.gd", | ||
"include_subdirs": true, | ||
"log_level": 1, | ||
"should_exit": 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
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
Oops, something went wrong.