Commit Graph

48 Commits

Author SHA1 Message Date
Andreas Pardeike 75e97fdee8 Fixes NET 10 tests and other quirks
* Install .NET 10 SDK in Windows setup action
* Ensure dotnet 10 installs match job architecture
* Force Mono symlinks on macOS CI
* Fix macOS dotnet resolution and clean setup
* Set DOTNET_ROOT for x86 Windows runs
2025-11-12 22:07:57 +01:00
Copilot 01258366a5 Partially add .NET 10 support (#744)
* Initial plan

* Add .NET 10 support to Harmony

Co-authored-by: pardeike <853584+pardeike@users.noreply.github.com>

* Update additional workflow files for .NET 10 SDK

Co-authored-by: pardeike <853584+pardeike@users.noreply.github.com>

* Fix CI by installing .NET 10 SDK in workflows

Updated workflows to install both 9.0.x and 10.0.x SDKs using wildcard versions.
This ensures .NET 10 SDK is installed when available in GitHub Actions runners.
Changed global.json to require SDK 10.0.100 with latestPatch rollForward for forward compatibility.

Co-authored-by: pardeike <853584+pardeike@users.noreply.github.com>

* Revert global.json to SDK 9.0.100 for CI compatibility

Changed global.json back to require SDK 9.0.100 with latestFeature rollForward.
Note: net10.0 targets will fail to build until .NET 10 SDK is available in GitHub Actions.
This is expected since .NET SDK was just released today.

Co-authored-by: pardeike <853584+pardeike@users.noreply.github.com>

* Set global.json to require .NET 10 SDK with latestPatch rollForward

Updated global.json to explicitly require SDK 10.0.100 with latestPatch rollForward.
This works because actions/setup-dotnet downloads and installs the SDK regardless of what's preinstalled on the runner.
Confirmed .NET 10.0.100 SDK is available and builds net10.0 targets successfully.

Co-authored-by: pardeike <853584+pardeike@users.noreply.github.com>

* Simplify workflow SDK installation to only use .NET 10

Removed dual 9.0.x/10.0.x SDK installation in favor of only installing 10.0.x.
The .NET 10 SDK can build all target frameworks including net9.0 and older using targeting packs.
This follows the minimal change approach requested.

Co-authored-by: pardeike <853584+pardeike@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: pardeike <853584+pardeike@users.noreply.github.com>
2025-11-12 20:30:22 +01:00
Copilot b00177fee8 Migrate from deprecated macOS 13 to newer macOS runners (#738)
Use macos-14-large for x64 and macos-14 for ARM64
2025-10-03 08:39:41 +02:00
Copilot c56abb4d21 Fix Ubuntu 24.04 compatibility issues in test workflows (#736)
* Initial plan

* Update Ubuntu version and simplify Mono installation for better Ubuntu 24.04 compatibility

Co-authored-by: pardeike <853584+pardeike@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: pardeike <853584+pardeike@users.noreply.github.com>
2025-09-29 15:14:00 +02:00
Andreas Pardeike 3c753b95de uses peaceiris/actions-gh-pages@v4 2025-09-05 17:17:26 +02:00
Andreas Pardeike 69fd3f9451 fixes dup lines 2025-09-05 16:45:03 +02:00
Andreas Pardeike 43787f6e4c formats docs.yml correctly; adds scripts to solution 2025-09-05 16:22:29 +02:00
Andreas Pardeike b40c871411 Generate RAG index for HarmonyBot (#727)
* refactor llm pack generator

* normalize docs workflow

* Use DocFX href for API URLs
2025-09-05 16:11:36 +02:00
Andreas Pardeike 0072943ba5 draft for docs 2025-08-23 00:31:53 +02:00
Andreas Pardeike 007ee8e78c v2.4.1 release 2025-08-22 17:48:59 +02:00
Copilot 789df191bb Remove redundant Harmony zip artifacts from Platform Tests workflow (#711)
* Initial plan

* Initial plan: Analyze duplicate artifact creation in Platform Tests workflow

Co-authored-by: pardeike <853584+pardeike@users.noreply.github.com>

* Fix duplicate artifact creation in Platform Tests by preventing Harmony artifacts during PRs

Co-authored-by: pardeike <853584+pardeike@users.noreply.github.com>

* Remove redundant Harmony zip artifact upload from workflow

Co-authored-by: pardeike <853584+pardeike@users.noreply.github.com>

* Remove accidentally added dotnet-install.sh script that was not part of original repository

Co-authored-by: pardeike <853584+pardeike@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: pardeike <853584+pardeike@users.noreply.github.com>
2025-08-22 00:16:05 +02:00
Copilot a450fac09d Fix TRX file XML parsing errors in Platform Tests by sanitizing test output (#710)
* Initial plan

* Initial analysis: Identified TRX file corruption issue causing XML parsing errors

Co-authored-by: pardeike <853584+pardeike@users.noreply.github.com>

* Add TRX file cleanup script to fix XML parsing errors

Co-authored-by: pardeike <853584+pardeike@users.noreply.github.com>

* Add documentation for TRX cleanup script and finalize solution

Co-authored-by: pardeike <853584+pardeike@users.noreply.github.com>

* Restructure scripts documentation to cover all scripts properly

Co-authored-by: pardeike <853584+pardeike@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: pardeike <853584+pardeike@users.noreply.github.com>
2025-08-21 23:47:50 +02:00
Copilot 9931d9c0e0 Fix Process resource leak, CI warnings, and improve .NET version consistency (#709)
* Initial plan

* Initial investigation and planning

Co-authored-by: pardeike <853584+pardeike@users.noreply.github.com>

* Fix Process resource leak in test infrastructure

Co-authored-by: pardeike <853584+pardeike@users.noreply.github.com>

* Fix CI workflow zip file warnings - update build paths

Co-authored-by: pardeike <853584+pardeike@users.noreply.github.com>

* Fix .NET version consistency and migrate to Windows Server 2025

Co-authored-by: pardeike <853584+pardeike@users.noreply.github.com>

* Fix CI workflow to only upload zip artifacts for Release builds

Co-authored-by: pardeike <853584+pardeike@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: pardeike <853584+pardeike@users.noreply.github.com>
2025-08-21 23:14:25 +02:00
Andreas Pardeike a945fb25f0 v2.4.0 release
* adds local monomod, uses HarmonyPrerelease flag to use it

* switch submodule monomod to branch 'merge-reorganize-arm64'

* wip

* updates to fixes in monomod prerelease

* 2.3.7-prerelease

* adds recursive checkout to github platform tests

* fix indention of previous commit

* adds arm64 test

* debug special case failure

* handle try/fault with try/catch/finally logic

* remove debugging

* uses local monomod

* bump version

* increase timeout for MacOS-arm64 .NET/Mono

* more timeout bumping

* 45min max timeout should be enough

* ci test changes

* switch back to recursive submodule checkout

* don't run twice on PRs

* test: submodule MonoMod -> upstream reorganize 23e6a19f

* Restore IL offset logging

* fixes harmony logging il offsets and adds tests for it
2025-08-17 22:05:03 +02:00
Andreas Pardeike 886a326da6 Update Windows CI image 2025-08-01 10:45:34 +02:00
Andreas Pardeike 45b9832790 Refine CI labels 2025-05-17 19:38:48 +02:00
Andreas Pardeike 420bd2de59 make "fail fast: false" the default 2025-05-17 18:36:42 +02:00
Andreas Pardeike f52635e87a Merge branch 'master' into feature/restructure-solution 2025-05-17 17:59:36 +02:00
Andreas Pardeike ba0290a7f4 remove hardcoded 'Release' in paths 2025-05-17 17:45:16 +02:00
Andreas Pardeike febceff6e4 updates path to test project 2025-05-17 17:18:18 +02:00
Andreas Pardeike aa9b4d3c78 test a fix for ci build 2025-05-17 16:55:43 +02:00
Andreas Pardeike 7d47e79183 Build reference configuration correctly 2025-05-17 15:33:55 +02:00
Andreas Pardeike 5ee994240f catch up with master 2025-05-17 12:25:50 +02:00
Andreas Pardeike 27b4088a97 make it respect .editorconfig 2025-05-17 12:09:27 +02:00
Andreas Pardeike 6f4b7780be reapply all change from e37a4fafe4 to e1354cb9a5 2025-04-20 13:18:45 +02:00
Andreas Pardeike c3bda40a4a and another 2025-02-05 23:14:10 +01:00
Andreas Pardeike f08e367b78 and another test 2025-02-05 23:12:16 +01:00
Andreas Pardeike 76bc5e0ac9 testing another way 2025-02-05 23:02:49 +01:00
Andreas Pardeike 3eaa34ba01 fixes permission error when installing mono (also exclude macOS) 2025-02-05 22:55:06 +01:00
Andreas Pardeike 6745991aac installs mono since it is no longer preinstalled 2025-02-05 22:46:03 +01:00
Andreas Pardeike b1f5a0eb02 reverts last commit, adds 9.0.101 as minimul dotnet sdk 2024-12-19 19:09:50 +01:00
Andreas Pardeike 6ba17761d2 removes net9 for test debugging 2024-12-19 18:53:46 +01:00
Andreas Pardeike 6af255873a adds net9 2024-11-14 01:37:49 +01:00
Vitalii Mikhailov f60805469f Use the local ReleaseRef package for easier releasing (#606)
* Use the local ReleaseRef package for easier releasing
* Using a local pakcage folder where all NuGet packages will be built
* Added back NuGet zip
2024-04-04 10:39:20 +02:00
Vitalii Mikhailov e8b8cb775c Moved ref/netstandard2.0 into Lib.Harmony.Ref (#591)
* Added a Ref package for netstandard2.0 reference assemblies
* Simplified the netstandard2.0 handling in Fat and Thin
* Added ref support for CI
2024-03-03 21:01:10 +01:00
Vitalii Mikhailov 2a09e7a0da Tests: Added partial Rosetta 2 support (#580)
adds partial Rosetta 2 support
2024-02-19 23:24:27 +01:00
Vitalii Mikhailov 32e3f7b66d Better mono setup on Windows (#578) 2024-02-14 20:08:34 +01:00
Vitalii Mikhailov f3d3122f1a Tests: Retry for MacOS (#579)
* Tests: Retry for MacOS

* Update action.yml

* Update action.yml

* Increased timeouts
2024-02-14 20:08:15 +01:00
Andreas Pardeike d46b17b1f1 better cancelling 2024-02-14 00:37:39 +01:00
Andreas Pardeike 2ed05fae27 cancel ongoing testing 2024-02-14 00:34:52 +01:00
Andreas Pardeike 71b983643a renames test action 2024-02-14 00:21:50 +01:00
Vitalii Mikhailov a862748480 Fixed Mono not being tested (#577) 2024-02-14 00:20:49 +01:00
Vitalii Mikhailov 5ce8bd98f0 Implemented a GitHub Actions testing pipeline (#575)
* Implemented a GitHub Actions testing pipeline
* Disabled potential failed annotations
* Added non parallel variant without prebuild
* Simplified expressions
* Combined tests, build binaries on ubuntu for faster completion
* String usage fix
* Triggering pipeline
2024-02-13 23:22:48 +01:00
Andreas Pardeike 072699cd2c Update bug_report.md 2024-02-03 22:10:29 +01:00
Andreas Pardeike 237737253a Update issue templates 2022-07-21 12:22:04 +02:00
Andreas Pardeike 38b1d8608c Update FUNDING.yml 2019-10-02 08:44:07 +02:00
Andreas Pardeike b3a0571270 Create FUNDING.yml 2019-05-28 03:39:03 +02:00
Andreas Pardeike 56b9f53928 Update issue templates 2019-03-04 01:23:53 +01:00