ci(main): switch addon workflows to .NET10 and freeze automatic releases pending staging

This commit is contained in:
OpenGenesis (MPL 2.0) committed 2026-11-04 16:46:33 +01:00
1 parent ad3e4da4fe
commit bf61b4f4a0
14 files changed
+26 -14

No files matched your search

@@ -40,7 +40,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.0.x'
dotnet-version: '10.0.x'
- name: Generate OpenSim solution and actual operator build script
run: |
chmod +x runprebuild.sh
+1 -1
View File
@@ -20,6 +20,6 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.0.x'
dotnet-version: '10.0.x'
- name: Run independent cache tests
run: dotnet run --project addons/OGLAssetService.Tests/OGLAssetService.Tests.csproj -c Release
@@ -34,7 +34,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.0.x'
dotnet-version: '10.0.x'
- name: Generate OpenSimulator projects
run: |
chmod +x runprebuild.sh
+1 -1
View File
@@ -46,7 +46,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.0.x'
dotnet-version: '10.0.x'
- name: Build isolated cache and migration tests
run: dotnet build addons/OGLAssetService.Tests/OGLAssetService.Tests.csproj --configuration Release
- name: Build standalone migration CLI
@@ -23,7 +23,7 @@ jobs:
- name: Setup .NET 8
uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.0.x'
dotnet-version: '10.0.x'
- name: Install native dependencies
run: |
@@ -15,7 +15,8 @@ jobs:
publish:
name: Publish immutable 0.9.3.10 stable release
if: >-
${{ github.event.workflow_run.conclusion == 'success' &&
${{ vars.OGL_GEN1_NET10_RELEASE_APPROVED == 'true' &&
github.event.workflow_run.conclusion == 'success' &&
github.event.workflow_run.event == 'push' &&
github.event.workflow_run.head_branch == 'main' &&
github.event.workflow_run.head_repository.full_name == github.repository }}
@@ -16,7 +16,8 @@ jobs:
publish:
name: Publish immutable 0.9.3.12 release
if: >-
${{ github.event.workflow_run.conclusion == 'success' &&
${{ vars.OGL_GEN1_NET10_RELEASE_APPROVED == 'true' &&
github.event.workflow_run.conclusion == 'success' &&
github.event.workflow_run.event == 'push' &&
github.event.workflow_run.head_branch == 'main' &&
github.event.workflow_run.head_repository.full_name == github.repository }}
+2 -1
View File
@@ -14,7 +14,8 @@ jobs:
publish:
name: Publish immutable 0.9.3.13 Dev pre-release
if: >-
${{ github.event.workflow_run.conclusion == 'success' &&
${{ vars.OGL_GEN1_NET10_RELEASE_APPROVED == 'true' &&
github.event.workflow_run.conclusion == 'success' &&
github.event.workflow_run.event == 'push' &&
github.event.workflow_run.head_branch == 'main' &&
github.event.workflow_run.head_repository.full_name == github.repository }}
@@ -14,7 +14,8 @@ jobs:
publish:
name: Publish immutable 0.9.3.13 Stable
if: >-
${{ github.event.workflow_run.conclusion == 'success' &&
${{ vars.OGL_GEN1_NET10_RELEASE_APPROVED == 'true' &&
github.event.workflow_run.conclusion == 'success' &&
github.event.workflow_run.event == 'push' &&
github.event.workflow_run.head_branch == 'main' &&
github.event.workflow_run.head_repository.full_name == github.repository }}
+2 -1
View File
@@ -14,7 +14,8 @@ jobs:
publish:
name: Publish verified 0.9.3.8 stable release
if: >-
${{ github.event.workflow_run.conclusion == 'success' &&
${{ vars.OGL_GEN1_NET10_RELEASE_APPROVED == 'true' &&
github.event.workflow_run.conclusion == 'success' &&
github.event.workflow_run.event == 'push' &&
github.event.workflow_run.head_branch == 'main' &&
github.event.workflow_run.head_repository.full_name == github.repository }}
@@ -17,7 +17,8 @@ concurrency:
jobs:
publish:
if: >-
${{ github.event.workflow_run.conclusion == 'success' &&
${{ vars.OGL_GEN1_NET10_RELEASE_APPROVED == 'true' &&
github.event.workflow_run.conclusion == 'success' &&
github.event.workflow_run.event == 'push' &&
github.event.workflow_run.head_branch == 'main' &&
github.event.workflow_run.head_repository.full_name == github.repository }}
@@ -46,11 +47,11 @@ jobs:
grep -Fq 'VERSION_FLAVOUR = Flavour.Dev;' OpenSim/Framework/VersionInfo.cs
echo 'eligible=true' >> "$GITHUB_OUTPUT"
- name: Setup .NET 8
- name: Setup .NET 10
if: steps.check.outputs.eligible == 'true'
uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.0.x'
dotnet-version: '10.0.x'
- name: Install native libraries
if: steps.check.outputs.eligible == 'true'
+2
View File
@@ -20,3 +20,5 @@ assert "gh release create" in flow and "gh release upload" in flow
for marker in ("--self-test", "BUILD-MANIFEST.json", "SKIP_SUFFIXES", "source_commit", "testzip()", "stable_release"):
assert marker in script, marker
print("Generation 1 current-main ZIP publisher contracts PASS")
assert "vars.OGL_GEN1_NET10_RELEASE_APPROVED == 'true'" in flow, "NET10 release freeze must remain fail-closed"
+4
View File
@@ -76,3 +76,7 @@ assert "v0.9.3.8" in decision
assert "einmalige" in decision
assert Path("doc/NexVerse/FUTURE_VIEWER_NAVIGATION.md").is_file()
print("0.9.3.8 immutable; 0.9.3.10 stabilization gates, XP disabled, Viewer 2.0 deferred.")
# Migrations in main must not start an automatic release or alter immutable tags.
for publisher in Path('.github/workflows').glob('publish-*.yml'):
assert "vars.OGL_GEN1_NET10_RELEASE_APPROVED == 'true'" in publisher.read_text(), f"NET10 approval missing: {publisher}"
+1 -1
View File
@@ -55,7 +55,7 @@ def create_zip(bin_dir, out, sha, repo):
z.writestr(f"{PREFIX}/BUILD-MANIFEST.json", json.dumps({
"product": "OpenGenesisLINK Generation 1",
"channel": "development-main-snapshot", "stable_release": False,
"source_commit": sha, "runtime": ".NET 8",
"source_commit": sha, "runtime": ".NET 10",
"platform": "linux-x64", "built_files": count
}, indent=2) + "\n")
z.writestr(f"{PREFIX}/INSTALL.txt",