From e4f895eea33b702b0956cef7cb10cb8be0b09ebc Mon Sep 17 00:00:00 2001 From: sheazy_wi Date: Sun, 26 Jan 2025 23:45:33 -0500 Subject: [PATCH 01/12] Update issue templates --- .github/ISSUE_TEMPLATE/bug_report.md | 36 +++++++++++++++++++++++ .github/ISSUE_TEMPLATE/feature_request.md | 20 +++++++++++++ 2 files changed, 56 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/bug_report.md create mode 100644 .github/ISSUE_TEMPLATE/feature_request.md diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md new file mode 100644 index 00000000..6f213192 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -0,0 +1,36 @@ +--- +name: Bug report +about: Create a report to help us improve +title: 'bug : ' +labels: bug +assignees: sheazywi + +--- + +**Describe the bug** +A clear and concise description of what the bug is. + +**To Reproduce** +Steps to reproduce the behavior: +1. Go to '...' +2. Click on '....' +3. Scroll down to '....' +4. See error + +**Expected behavior** +A clear and concise description of what you expected to happen. + +**Screenshots or Video** +If applicable, add screenshots or a video to help explain your problem. + +**Desktop (please complete the following information):** + - OS: [e.g. Windows] + - Version [e.g. 24H2] + +**Specs (please complete the following information):** + - CPU: [e.g. 5800X] + - GPU: [e.g. 4070ti] + - GPU Drivers: [e.g. 566.36] + +**Additional context** +Add any other context about the problem here. diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md new file mode 100644 index 00000000..2864cde2 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -0,0 +1,20 @@ +--- +name: Feature request +about: Suggest an idea for this project +title: '' +labels: enhancement +assignees: sheazywi + +--- + +**Is your feature request related to a problem? Please describe.** +A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] + +**Describe the solution you'd like** +A clear and concise description of what you want to happen. + +**Describe alternatives you've considered** +A clear and concise description of any alternative solutions or features you've considered. + +**Additional context** +Add any other context or screenshots about the feature request here. From 3c95f6319aa66cb32a0311438638cd59a24c6bf9 Mon Sep 17 00:00:00 2001 From: sheazy_wi Date: Mon, 27 Jan 2025 20:14:38 -0500 Subject: [PATCH 02/12] workflow --- .github/workflows/main.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 00000000..8b191660 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,27 @@ +name: C/C++ PreMake + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + +jobs: + build: + + runs-on: windows-latest + + steps: + - uses: actions/checkout@v4 + + - name: premake + run: ./vendor/bin/premake/premake5.exe vs2022 + + - name: compile to exe + run: msbuild /p:Configuration=Release StarStudio.sln + + - name: Archive build artifacts + uses: actions/upload-artifact@v2 + with: + name: build + path: bin/Debug-windows-x86_6/Sandbox/Sandbox.exe From 038437d19c60c1ab3ccf349a1148b18e72ad7176 Mon Sep 17 00:00:00 2001 From: sheazy_wi Date: Mon, 27 Jan 2025 20:15:43 -0500 Subject: [PATCH 03/12] Update main.yml --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 8b191660..000ea0d2 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -21,7 +21,7 @@ jobs: run: msbuild /p:Configuration=Release StarStudio.sln - name: Archive build artifacts - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: build path: bin/Debug-windows-x86_6/Sandbox/Sandbox.exe From 080c6d28d6fd8f426b195117cff5955f93a3b8bf Mon Sep 17 00:00:00 2001 From: sheazy_wi Date: Mon, 27 Jan 2025 21:09:16 -0500 Subject: [PATCH 04/12] Update main.yml --- .github/workflows/main.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 000ea0d2..c048f48e 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -14,11 +14,15 @@ jobs: steps: - uses: actions/checkout@v4 + - uses: abel0b/setup-premake@v2.4 + with: + version: "5.0.0-beta4" + - name: premake - run: ./vendor/bin/premake/premake5.exe vs2022 + run: premake5 vs2022 - name: compile to exe - run: msbuild /p:Configuration=Release StarStudio.sln + run: msbuild /p:Configuration=Debug StarStudio.sln - name: Archive build artifacts uses: actions/upload-artifact@v4 From 25a0abb1c20ba64db64243b367dd9e000d070c68 Mon Sep 17 00:00:00 2001 From: sheazy_wi Date: Mon, 27 Jan 2025 21:14:03 -0500 Subject: [PATCH 05/12] Update main.yml --- .github/workflows/main.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c048f48e..b4acafff 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -17,6 +17,10 @@ jobs: - uses: abel0b/setup-premake@v2.4 with: version: "5.0.0-beta4" + + - name: pull + run: git pull --recurse-submodules + - name: premake run: premake5 vs2022 From 9b7197481dfeca873ccc283b1366d9c92dd02903 Mon Sep 17 00:00:00 2001 From: sheazy_wi Date: Mon, 27 Jan 2025 21:15:10 -0500 Subject: [PATCH 06/12] Update main.yml --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index b4acafff..89707603 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -19,7 +19,7 @@ jobs: version: "5.0.0-beta4" - name: pull - run: git pull --recurse-submodules + run: git pull origin main --recurse-submodules - name: premake From 0e60e178c0b501a448d8f1ed94313049273542e5 Mon Sep 17 00:00:00 2001 From: sheazy_wi Date: Tue, 28 Jan 2025 18:21:05 -0500 Subject: [PATCH 07/12] Update main.yml --- .github/workflows/main.yml | 50 +++++++++++++++++++------------------- 1 file changed, 25 insertions(+), 25 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 89707603..fd430363 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,35 +1,35 @@ -name: C/C++ PreMake +name: Build StarStudio on: push: - branches: [ "main" ] + branches: + - main pull_request: - branches: [ "main" ] + branches: + - main jobs: build: - runs-on: windows-latest steps: - - uses: actions/checkout@v4 - - - uses: abel0b/setup-premake@v2.4 - with: - version: "5.0.0-beta4" - - - name: pull - run: git pull origin main --recurse-submodules - - - - name: premake - run: premake5 vs2022 - - - name: compile to exe - run: msbuild /p:Configuration=Debug StarStudio.sln - - - name: Archive build artifacts - uses: actions/upload-artifact@v4 - with: - name: build - path: bin/Debug-windows-x86_6/Sandbox/Sandbox.exe + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Install Premake + run: | + Invoke-WebRequest -Uri "https://github.com/premake/premake-core/releases/download/v5.0.0-beta4/premake-5.0.0-beta4-windows.zip" -OutFile premake.zip + Expand-Archive premake.zip -DestinationPath . + echo "$(pwd)\premake5.exe" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append + + - name: Generate project files with Premake + run: premake5 vs2022 + + - name: Build project with MSBuild + run: MSBuild /m /p:Configuration=Debug StarStudio.sln + + - name: Upload executable + uses: actions/upload-artifact@v3 + with: + name: StarStudio-Windows + path: "**/Sandbox/Sandbox.exe" \ No newline at end of file From b053aee79ce9c7ddc9ed3a731738d2328f22b71b Mon Sep 17 00:00:00 2001 From: sheazy_wi Date: Tue, 28 Jan 2025 18:26:40 -0500 Subject: [PATCH 08/12] Update main.yml --- .github/workflows/main.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index fd430363..0449ff9a 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -16,11 +16,12 @@ jobs: - name: Checkout repository uses: actions/checkout@v4 - - name: Install Premake + - name: Set up MSBuild + uses: microsoft/setup-msbuild@v1.0.2 + + - name: Install dependencies run: | - Invoke-WebRequest -Uri "https://github.com/premake/premake-core/releases/download/v5.0.0-beta4/premake-5.0.0-beta4-windows.zip" -OutFile premake.zip - Expand-Archive premake.zip -DestinationPath . - echo "$(pwd)\premake5.exe" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append + choco install premake - name: Generate project files with Premake run: premake5 vs2022 From b42e47420a44ba70175001ba6171a705db574c7e Mon Sep 17 00:00:00 2001 From: sheazy_wi Date: Tue, 28 Jan 2025 18:31:08 -0500 Subject: [PATCH 09/12] Update main.yml --- .github/workflows/main.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 0449ff9a..3c36d861 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -19,9 +19,9 @@ jobs: - name: Set up MSBuild uses: microsoft/setup-msbuild@v1.0.2 - - name: Install dependencies - run: | - choco install premake + - uses: abel0b/setup-premake@v2.4 + with: + version: "5.0.0-beta4" - name: Generate project files with Premake run: premake5 vs2022 From f459838ed5d1c31c465fc65c6ef698ec93240405 Mon Sep 17 00:00:00 2001 From: sheazy_wi Date: Tue, 28 Jan 2025 18:36:40 -0500 Subject: [PATCH 10/12] Update main.yml --- .github/workflows/main.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 3c36d861..c541cd94 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -15,6 +15,8 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v4 + with: + submodules: recursive - name: Set up MSBuild uses: microsoft/setup-msbuild@v1.0.2 From 7cac3c114ecc11221ed8464f0ec9bd2de5a8869a Mon Sep 17 00:00:00 2001 From: sheazy_wi Date: Tue, 28 Jan 2025 18:57:13 -0500 Subject: [PATCH 11/12] Update main.yml --- .github/workflows/main.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c541cd94..7ddd22a0 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -11,6 +11,10 @@ on: jobs: build: runs-on: windows-latest + env: + BUILD_TYPE: Debug + PLATFORM: windows + ARCHITECTURE: x86-64 steps: - name: Checkout repository @@ -35,4 +39,4 @@ jobs: uses: actions/upload-artifact@v3 with: name: StarStudio-Windows - path: "**/Sandbox/Sandbox.exe" \ No newline at end of file + path: "bin/$BUILD_TYPE-$PLATFORM-$ARCHITECTURE/Sandbox/Sandbox.exe" \ No newline at end of file From 283bedbac69b7df2ff2c921f34e17c0392b10689 Mon Sep 17 00:00:00 2001 From: sheazy_wi Date: Tue, 28 Jan 2025 19:09:16 -0500 Subject: [PATCH 12/12] Update main.yml --- .github/workflows/main.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 7ddd22a0..bbd0a1d0 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -11,10 +11,6 @@ on: jobs: build: runs-on: windows-latest - env: - BUILD_TYPE: Debug - PLATFORM: windows - ARCHITECTURE: x86-64 steps: - name: Checkout repository @@ -39,4 +35,4 @@ jobs: uses: actions/upload-artifact@v3 with: name: StarStudio-Windows - path: "bin/$BUILD_TYPE-$PLATFORM-$ARCHITECTURE/Sandbox/Sandbox.exe" \ No newline at end of file + path: "bin/Debug-windows-x86_64/Sandbox/Sandbox.exe" \ No newline at end of file