Skip to content

Commit

Permalink
fix .gitignore
Browse files Browse the repository at this point in the history
  • Loading branch information
Slushi-Github committed Sep 7, 2024
1 parent f488f9c commit 54bc235
Show file tree
Hide file tree
Showing 10 changed files with 363 additions and 1 deletion.
59 changes: 59 additions & 0 deletions .github/ISSUE_TEMPLATE/bugs.yml
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
2 changes: 2 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
blank_issues_enabled: false
contact_links: []
24 changes: 24 additions & 0 deletions .github/ISSUE_TEMPLATE/feature-request.yml
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
43 changes: 43 additions & 0 deletions .github/ISSUE_TEMPLATE/help.yml
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
10 changes: 10 additions & 0 deletions .github/ISSUE_TEMPLATE/missing-docs.yml
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
9 changes: 9 additions & 0 deletions .github/ISSUE_TEMPLATE/question.yml
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
77 changes: 77 additions & 0 deletions .github/workflows/linux.yml
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
68 changes: 68 additions & 0 deletions .github/workflows/macos.yml
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
70 changes: 70 additions & 0 deletions .github/workflows/windows.yml
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
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ art/test_x64-debug-officialrelease.bat
export/*
.vscode/*
.haxelib/
.github/
# .github/
*.code-workspace
vs_Community.exe
# Local history which shouldn't be shared.
Expand Down

0 comments on commit 54bc235

Please sign in to comment.