-
Notifications
You must be signed in to change notification settings - Fork 3
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
f488f9c
commit 54bc235
Showing
10 changed files
with
363 additions
and
1 deletion.
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,59 @@ | ||
name: Bug report | ||
description: Report bugs with the engine here | ||
labels: [bug] | ||
body: | ||
- type: textarea | ||
id: description | ||
attributes: | ||
label: "Describe your bug here.\n\nMind you, if you are modding, please try testing your bug in a clean version of the engine instead, this ensures the bug is actually caused by the engine itself." | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
id: terminal | ||
attributes: | ||
label: "Command Prompt/Terminal logs (if existing)" | ||
render: bash | ||
validations: | ||
required: false | ||
|
||
- type: dropdown | ||
id: modding | ||
attributes: | ||
label: "Are you modding a build from source or with Lua?" | ||
options: | ||
- Lua | ||
- Source | ||
- Lua and Source | ||
- I am not modding | ||
validations: | ||
required: true | ||
|
||
- type: dropdown | ||
id: psychversion | ||
attributes: | ||
label: "Which branch of the engine are you using?" | ||
options: | ||
- Latest (main) | ||
- Unstable (experimental) | ||
validations: | ||
required: true | ||
|
||
- type: dropdown | ||
id: btarget | ||
attributes: | ||
label: "What is your build target?" | ||
options: | ||
- "Windows" | ||
- "Linux" | ||
- "Mac" | ||
validations: | ||
required: true | ||
|
||
- type: input | ||
id: buildsummary | ||
attributes: | ||
label: "Did you edit anything in this build? If so, mention or summarize your changes." | ||
placeholder: "Yes, I edited ClientPrefs.hx and tried to add a new setting" | ||
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,2 @@ | ||
blank_issues_enabled: false | ||
contact_links: [] |
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,24 @@ | ||
name: Feature Request | ||
description: No, i won't add 6K/etc to the engine or winning icons, stop asking for it. REQUESTING FOR A STAGE EDITOR WILL RESULT IN A BAN, I ALREADY SAID I WILL DO IT LATER GOD DAMN IT. | ||
labels: [enhancement] | ||
body: | ||
- type: textarea | ||
attributes: | ||
label: What feature do you want to get added on the **base** engine? | ||
validations: | ||
required: true | ||
- type: dropdown | ||
id: eyetest | ||
attributes: | ||
label: To test your sight, and reliability, please select the option of what should NOT be requested. | ||
options: | ||
- Proper credit that was forgotten | ||
- Thing that would not cause problems | ||
- Useful feature | ||
- Actual feedback | ||
- A good idea | ||
- Stage Editor, 6K+ support, and winning icons. | ||
- Better LUA mod support idea | ||
- Code optimization that would make the game faster. (You should make a PR if this is your request, by the way.) | ||
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,43 @@ | ||
name: Help me! | ||
description: If you need help using the engine. | ||
labels: [help wanted] | ||
body: | ||
- type: textarea | ||
id: description | ||
attributes: | ||
label: "Describe your problem here." | ||
validations: | ||
required: true | ||
|
||
- type: dropdown | ||
id: modding | ||
attributes: | ||
label: "Are you modding a build from source or with Lua?" | ||
options: | ||
- Lua | ||
- Source | ||
validations: | ||
required: true | ||
|
||
- type: dropdown | ||
id: btarget | ||
attributes: | ||
label: "What is your build target?" | ||
options: | ||
- "Windows x64" | ||
- "Windows x86/x32" | ||
- "Linux" | ||
- "Mac" | ||
- "HTML5/Browser" | ||
- "Flash/Air-based target" | ||
- "Neko, HashLink, or other build system" | ||
validations: | ||
required: true | ||
|
||
- type: input | ||
id: buildsummary | ||
attributes: | ||
label: "Did you edit anything in this build? If so, mention or summarize your changes." | ||
placeholder: "Yes, I edited ClientPrefs.hx and tried to add a new setting" | ||
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,10 @@ | ||
name: Missing Documentation | ||
description: Ask for documentation if something is missing. | ||
labels: [documentation] | ||
body: | ||
- type: textarea | ||
attributes: | ||
label: What needs to be documented? | ||
description: 'For example: "There is no page explaining how to create an Achievement!"' | ||
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,9 @@ | ||
name: Question | ||
description: Ask about something here. | ||
labels: [question] | ||
body: | ||
- type: textarea | ||
attributes: | ||
label: What is your question? | ||
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,77 @@ | ||
|
||
name: Linux Build | ||
on: | ||
push: | ||
jobs: | ||
build: | ||
name: Linux Build | ||
permissions: write-all | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: hxvlc linux extra | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get install libvlc-dev | ||
sudo apt-get install libvlccore-dev | ||
sudo apt-get install glibc-source | ||
sudo apt-get install libidn12 | ||
sudo apt-get install libidn-dev | ||
- name: Pulling the source | ||
uses: actions/[email protected] | ||
- name: Setting up Haxe | ||
uses: krdlab/setup-haxe@master | ||
with: | ||
haxe-version: 4.3.5 | ||
- name: Restore existing build cache for faster compilation | ||
uses: actions/[email protected] | ||
with: | ||
# not caching the bin folder to prevent asset duplication and stuff like that | ||
key: cache-build-linux | ||
path: | | ||
.haxelib/ | ||
export/release/linux/haxe/ | ||
export/release/linux/obj/ | ||
restore-keys: | | ||
cache-build-linux | ||
- name: Installing/Updating libraries | ||
run: | | ||
haxe -cp setup -D analyzer-optimize -main Main --interp | ||
- name: Building the game | ||
run: | | ||
haxelib run lime build linux | ||
- name: Uploading artifact (entire build) | ||
uses: actions/[email protected] | ||
with: | ||
name: SC-SP-Engine | ||
path: export/release/linux/bin | ||
- name: Clearing already existing cache | ||
uses: actions/[email protected] | ||
with: | ||
script: | | ||
const caches = await github.rest.actions.getActionsCacheList({ | ||
owner: context.repo.owner, | ||
repo: context.repo.repo, | ||
}) | ||
for (const cache of caches.data.actions_caches) { | ||
if (cache.key == "cache-build-linux") { | ||
console.log('Clearing ' + cache.key + '...') | ||
await github.rest.actions.deleteActionsCacheById({ | ||
owner: context.repo.owner, | ||
repo: context.repo.repo, | ||
cache_id: cache.id, | ||
}) | ||
console.log("Cache cleared.") | ||
} | ||
} | ||
- name: Uploading new cache | ||
uses: actions/[email protected] | ||
with: | ||
# caching again since for some reason it doesnt work with the first post cache shit | ||
key: cache-build-linux | ||
path: | | ||
.haxelib/ | ||
export/release/linux/haxe/ | ||
export/release/linux/obj/ | ||
restore-keys: | | ||
cache-build-linux |
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,68 @@ | ||
|
||
name: Mac OS Build | ||
on: | ||
push: | ||
jobs: | ||
build: | ||
name: Mac OS Build | ||
permissions: write-all | ||
runs-on: macos-13 | ||
steps: | ||
- name: Pulling the source | ||
uses: actions/[email protected] | ||
- name: Setting up Haxe | ||
uses: krdlab/setup-haxe@master | ||
with: | ||
haxe-version: 4.3.5 | ||
- name: Restore existing build cache for faster compilation | ||
uses: actions/[email protected] | ||
with: | ||
# not caching the bin folder to prevent asset duplication and stuff like that | ||
key: cache-build-mac | ||
path: | | ||
.haxelib/ | ||
export/release/macos/haxe/ | ||
export/release/macos/obj/ | ||
restore-keys: | | ||
cache-build-mac | ||
- name: Installing/Updating libraries | ||
run: | | ||
haxe -cp setup -D analyzer-optimize -main Main --interp | ||
- name: Building the game | ||
run: | | ||
haxelib run lime build mac | ||
- name: Uploading artifact (entire build) | ||
uses: actions/[email protected] | ||
with: | ||
name: SC-SP-Engine | ||
path: export/release/macos/bin | ||
- name: Clearing already existing cache | ||
uses: actions/[email protected] | ||
with: | ||
script: | | ||
const caches = await github.rest.actions.getActionsCacheList({ | ||
owner: context.repo.owner, | ||
repo: context.repo.repo, | ||
}) | ||
for (const cache of caches.data.actions_caches) { | ||
if (cache.key == "cache-build-mac") { | ||
console.log('Clearing ' + cache.key + '...') | ||
await github.rest.actions.deleteActionsCacheById({ | ||
owner: context.repo.owner, | ||
repo: context.repo.repo, | ||
cache_id: cache.id, | ||
}) | ||
console.log("Cache cleared.") | ||
} | ||
} | ||
- name: Uploading new cache | ||
uses: actions/[email protected] | ||
with: | ||
# caching again since for some reason it doesnt work with the first post cache shit | ||
key: cache-build-mac | ||
path: | | ||
.haxelib/ | ||
export/release/macos/haxe/ | ||
export/release/macos/obj/ | ||
restore-keys: | | ||
cache-build-mac |
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,70 @@ | ||
|
||
name: Windows Build | ||
on: | ||
push: | ||
jobs: | ||
build: | ||
name: Windows Build | ||
permissions: write-all | ||
runs-on: windows-latest | ||
steps: | ||
- name: Pulling the new commit | ||
uses: actions/[email protected] | ||
- name: Setting up Haxe | ||
uses: krdlab/setup-haxe@master | ||
with: | ||
haxe-version: 4.3.5 | ||
- name: Restore existing build cache for faster compilation | ||
uses: actions/[email protected] | ||
with: | ||
# not caching the bin folder to prevent asset duplication and stuff like that | ||
key: cache-build-windows | ||
path: | | ||
.haxelib/ | ||
export/release/windows/haxe/ | ||
export/release/windows/obj/ | ||
restore-keys: | | ||
cache-build-windows | ||
- name: Installing/Updating libraries | ||
run: | | ||
haxe -cp setup -D analyzer-optimize -main Main --interp | ||
shell: cmd | ||
- name: Building the game | ||
run: | | ||
haxelib run lime build windows | ||
- name: Uploading artifact (entire build) | ||
uses: actions/[email protected] | ||
with: | ||
name: SC-SP-Engine | ||
path: export/release/windows/bin | ||
- name: Clearing already existing cache | ||
uses: actions/[email protected] | ||
with: | ||
script: | | ||
const caches = await github.rest.actions.getActionsCacheList({ | ||
owner: context.repo.owner, | ||
repo: context.repo.repo, | ||
}) | ||
for (const cache of caches.data.actions_caches) { | ||
if (cache.key == "cache-build-windows") { | ||
console.log('Clearing ' + cache.key + '...') | ||
await github.rest.actions.deleteActionsCacheById({ | ||
owner: context.repo.owner, | ||
repo: context.repo.repo, | ||
cache_id: cache.id, | ||
}) | ||
console.log("Cache cleared.") | ||
} | ||
} | ||
- name: Uploading new cache | ||
uses: actions/[email protected] | ||
with: | ||
# caching again since for some reason it doesnt work with the first post cache shit | ||
key: cache-build-windows | ||
path: | | ||
.haxelib/ | ||
export/release/windows/haxe/ | ||
export/release/windows/obj/ | ||
restore-keys: | | ||
cache-build-windows |
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