Skip to content

Commit faed772

Browse files
authored
Merge pull request #13 from Omega172/another-refactor
Menu overhaul done
2 parents 388eee2 + 36f1aac commit faed772

52 files changed

Lines changed: 220257 additions & 1538 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/PreRelease.yml.disabled

Lines changed: 0 additions & 53 deletions
This file was deleted.

.github/workflows/Release.yml

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
name: Release Build
2+
3+
on:
4+
release:
5+
types: [created, published]
6+
push:
7+
tags:
8+
- 'v*'
9+
workflow_dispatch:
10+
11+
permissions:
12+
contents: write
13+
14+
jobs:
15+
build:
16+
runs-on: windows-latest
17+
timeout-minutes: 5
18+
strategy:
19+
fail-fast: false
20+
matrix:
21+
build_configuration: [release]
22+
architecture: [x64]
23+
24+
steps:
25+
- name: Checkout Repository with Submodules
26+
uses: actions/checkout@v4
27+
with:
28+
submodules: recursive # Fetch submodules recursively
29+
fetch-depth: 0 # Ensures a full clone (needed for some submodules)
30+
31+
- name: Initialize and Update Submodules (if needed)
32+
run: |
33+
git submodule sync --recursive
34+
git submodule update --init --recursive
35+
36+
- name: Install XMake
37+
uses: xmake-io/github-action-setup-xmake@v1
38+
with:
39+
xmake-version: latest
40+
41+
- name: Configure XMake
42+
run: |
43+
xmake f -m ${{ matrix.build_configuration }} -a ${{ matrix.architecture }} -y
44+
45+
- name: Build with XMake
46+
run: |
47+
xmake build
48+
49+
- name: Upload Build Artifact
50+
uses: actions/upload-artifact@v4
51+
with:
52+
name: Internal-${{ matrix.build_configuration }}-${{ matrix.architecture }}
53+
path: Build/${{ matrix.build_configuration }}/Internal.dll
54+
55+
- name: Create Release Archive
56+
run: |
57+
Compress-Archive -Path Build/${{ matrix.build_configuration }}/Internal.dll -DestinationPath Internal-${{ matrix.build_configuration }}-${{ matrix.architecture }}.zip
58+
59+
- name: Upload Release Asset
60+
if: github.event_name == 'release'
61+
uses: softprops/action-gh-release@v1
62+
with:
63+
files: Internal-${{ matrix.build_configuration }}-${{ matrix.architecture }}.zip
64+
env:
65+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/Xmake.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939

4040
- name: Configure XMake
4141
run: |
42-
xmake f -m ${{ matrix.build_configuration }} -a ${{ matrix.architecture }}
42+
xmake f -m ${{ matrix.build_configuration }} -a ${{ matrix.architecture }} -y
4343
4444
- name: Build with XMake
4545
run: |

0 commit comments

Comments
 (0)