Skip to content

Commit

Permalink
Merge pull request #291 from Monitor221hz/migrate-avalonia
Browse files Browse the repository at this point in the history
[Feature]: Migration to Avalonia front-end for Linux/Mac support
  • Loading branch information
Monitor221hz authored Aug 26, 2024
2 parents c68bf99 + bada9b2 commit b8e5d7a
Show file tree
Hide file tree
Showing 1,243 changed files with 66,337 additions and 1,402 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
runs-on: windows-latest
strategy:
matrix:
dotnet-version: ["7.0.x"]
dotnet-version: ["8.0.x"]

steps:
# Ref: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net#building-and-testing-your-code
Expand All @@ -35,22 +35,22 @@ jobs:
# - Specify the same as `NUGET_PACKAGES`
path: |
${{ github.workspace }}/.nuget/packages
${{ github.workspace }}/PandoraPlus/bin
${{ github.workspace }}/PandoraPlus/obj
${{ github.workspace }}/third_party/HKX2-Library/HKX2 WPF/bin
${{ github.workspace }}/third_party/HKX2-Library/HKX2 WPF/obj
${{ github.workspace }}/third_party/XML-Cake/XML Cake/bin
${{ github.workspace }}/third_party/XML-Cake/XML Cake/obj
${{ github.workspace }}/Pandora Behaviour Engine/bin
${{ github.workspace }}/Pandora Behaviour Engine/obj
${{ github.workspace }}/HKX2-Enhanced-Library/HKX2/bin
${{ github.workspace }}/HKX2-Enhanced-Library/HKX2/obj
${{ github.workspace }}/XML.Cake.NET/XML Cake/bin
${{ github.workspace }}/XML.Cake.NET/XML Cake/obj
key: nuget-${{ runner.os }}-${{ matrix.dotnet-version }}
restore-keys: |
nuget-${{ runner.os }}-
- name: Build
run: dotnet build "./PandoraPlus.sln" --configuration ${{ env.build-mode }}

run: dotnet build "./Pandora+.sln" --configuration ${{ env.build-mode }}
- name: Upload a Build Artifact
uses: actions/upload-artifact@v4
with:
name: Pandora.Behaviour.Engine
path: |
./PandoraPlus/bin/${{ env.build-mode }}/net8.0-windows
./Pandora Behaviour Engine/bin/${{ env.build-mode }}/net8.0
18 changes: 9 additions & 9 deletions .github/workflows/build_stable_sse.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
runs-on: windows-latest
strategy:
matrix:
dotnet-version: ["7.0.x"]
dotnet-version: ["8.0.x"]

steps:
# Ref: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net#building-and-testing-your-code
Expand All @@ -34,25 +34,25 @@ jobs:
# - Specify the same as `NUGET_PACKAGES`
path: |
${{ github.workspace }}/.nuget/packages
${{ github.workspace }}/PandoraPlus/bin
${{ github.workspace }}/PandoraPlus/obj
${{ github.workspace }}/third_party/HKX2-Library/HKX2 WPF/bin
${{ github.workspace }}/third_party/HKX2-Library/HKX2 WPF/obj
${{ github.workspace }}/third_party/XML-Cake/XML Cake/bin
${{ github.workspace }}/third_party/XML-Cake/XML Cake/obj
${{ github.workspace }}/Pandora Behaviour Engine/bin
${{ github.workspace }}/Pandora Behaviour Engine/obj
${{ github.workspace }}/HKX2-Enhanced-Library/HKX2/bin
${{ github.workspace }}/HKX2-Enhanced-Library/HKX2/obj
${{ github.workspace }}/XML.Cake.NET/XML Cake/bin
${{ github.workspace }}/XML.Cake.NET/XML Cake/obj
key: nuget-${{ runner.os }}-${{ matrix.dotnet-version }}
restore-keys: |
nuget-${{ runner.os }}-
- name: Build
run: dotnet build "./PandoraPlus.sln" --configuration ${{ env.build-mode }}
run: dotnet build "./Pandora+.sln" --configuration ${{ env.build-mode }}

- name: Upload a Build Artifact
uses: actions/upload-artifact@v4
with:
name: Pandora.Behaviour.Engine
path: |
./PandoraPlus/bin/${{ env.build-mode }}/net8.0-windows
./Pandora Behaviour Engine/bin/${{ env.build-mode }}/net8.0
- name: Download
uses: actions/download-artifact@v4
Expand Down
5 changes: 1 addition & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,4 @@ MigrationBackup/
.ionide/

# Fody - auto-generated XML schema
FodyWeavers.xsd

# Debug Properties File
/PandoraPlus/Properties
FodyWeavers.xsd
11 changes: 5 additions & 6 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
[submodule "third_party/XML-Cake"]
path = third_party/XML-Cake
url = https://github.com/Monitor144hz/XML-Cake.git
[submodule "third_party/HKX2-Enhanced-Library"]
path = third_party/HKX2-Enhanced-Library
[submodule "XML.Cake.NET"]
path = XML.Cake.NET
url = https://github.com/Monitor221hz/XML.Cake.NET
[submodule "HKX2-Enhanced-Library"]
path = HKX2-Enhanced-Library
url = https://github.com/Monitor221hz/HKX2-Enhanced-Library
branch = wpf
63 changes: 63 additions & 0 deletions HKX2-Enhanced-Library/.gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
###############################################################################
# Set default behavior to automatically normalize line endings.
###############################################################################
* text=auto

###############################################################################
# Set default behavior for command prompt diff.
#
# This is need for earlier builds of msysgit that does not have it on by
# default for csharp files.
# Note: This is only used by command line
###############################################################################
#*.cs diff=csharp

###############################################################################
# Set the merge driver for project and solution files
#
# Merging from the command prompt will add diff markers to the files if there
# are conflicts (Merging from VS is not affected by the settings below, in VS
# the diff markers are never inserted). Diff markers may cause the following
# file extensions to fail to load in VS. An alternative would be to treat
# these files as binary and thus will always conflict and require user
# intervention with every merge. To do so, just uncomment the entries below
###############################################################################
#*.sln merge=binary
#*.csproj merge=binary
#*.vbproj merge=binary
#*.vcxproj merge=binary
#*.vcproj merge=binary
#*.dbproj merge=binary
#*.fsproj merge=binary
#*.lsproj merge=binary
#*.wixproj merge=binary
#*.modelproj merge=binary
#*.sqlproj merge=binary
#*.wwaproj merge=binary

###############################################################################
# behavior for image files
#
# image files are treated as binary by default.
###############################################################################
#*.jpg binary
#*.png binary
#*.gif binary

###############################################################################
# diff behavior for common document formats
#
# Convert binary document formats to text before diffing them. This feature
# is only available from the command line. Turn it on by uncommenting the
# entries below.
###############################################################################
#*.doc diff=astextplain
#*.DOC diff=astextplain
#*.docx diff=astextplain
#*.DOCX diff=astextplain
#*.dot diff=astextplain
#*.DOT diff=astextplain
#*.pdf diff=astextplain
#*.PDF diff=astextplain
#*.rtf diff=astextplain
#*.RTF diff=astextplain
Loading

0 comments on commit b8e5d7a

Please sign in to comment.