Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
52 changes: 0 additions & 52 deletions .github/workflows/MSBuild.yml

This file was deleted.

53 changes: 53 additions & 0 deletions .github/workflows/Xmake.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
name: XMake Build

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
workflow_dispatch:

permissions:
contents: read

jobs:
build:
runs-on: windows-latest
timeout-minutes: 5
strategy:
fail-fast: false
matrix:
build_configuration: [debug, release] # Build both configurations
architecture: [x64]

steps:
- name: Checkout Repository with Submodules
uses: actions/checkout@v4
with:
submodules: recursive # Fetch submodules recursively
fetch-depth: 0 # Ensures a full clone (needed for some submodules)

- name: Initialize and Update Submodules (if needed)
run: |
git submodule sync --recursive
git submodule update --init --recursive

- name: Install XMake
uses: xmake-io/github-action-setup-xmake@v1
with:
xmake-version: latest

- name: Configure XMake
run: |
xmake f -m ${{ matrix.build_configuration }} -a ${{ matrix.architecture }}

- name: Build with XMake
run: |
xmake build

- name: Upload Build Artifact
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.build_configuration }}
path: Build/${{ matrix.build_configuration }}/Internal/Internal.dll

4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -399,4 +399,6 @@ FodyWeavers.xsd

.vscode

OmegaWare Framework/enc_temp_folder
OmegaWare Framework/enc_temp_folder

Internal/Libs
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,6 @@
[submodule "Internal/Libs/Nlohmann.json"]
path = Internal/Libs/Nlohmann.json
url = https://github.com/nlohmann/json.git
[submodule "Internal/Libs/FreeType"]
path = Internal/Libs/FreeType
url = https://github.com/OmegaWareProjects/freetype.git
3 changes: 3 additions & 0 deletions Internal/FrameworkConfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@
#pragma once
#pragma execution_character_set("utf-8")

#define STRR(X) #X
#define STR(X) STRR(X)

#define FRAMEWORK_MAJOR_VERSION 6
#define FRAMEWORK_MINOR_VERSION 9
#define FRAMEWORK_REWORK_VERSION 1
Expand Down
Loading