Author SHA1 Message Date
james.maes 96fc48d04a Merge pull request 'ci: first run on ci-workflows v1' (#37) from ci/first-run-v1 into main
windows / windows (push) Successful in 1m1s
build / windows (push) Successful in 1m1s
2026-11-08 23:13:50 +00:00
James MaesandClaude Opus 5.5 23ffa01b16 ci: first run on ci-workflows v1 (native workflows)
windows / windows (push) Successful in 59s
build / windows (push) Successful in 59s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 08:26:23 -06:00
james.maes 3ae4a77e22 Merge pull request 'ci: build on the shared ci-workflows Windows workflow' (#36) from ci/shared-windows into main 2026-11-08 13:49:52 +00:00
James MaesandClaude Opus 5.5 5dcbe6a1cd ci: pin the shared workflow to v1
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 07:49:39 -06:00
James MaesandClaude Opus 5.5 cbec0cd623 ci: call the shared workflow from ci-workflows main
windows / windows (push) Successful in 59s
build / windows (push) Successful in 59s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 07:46:01 -06:00
James MaesandClaude Opus 5.5 9c97b06cb5 ci: pack the tag version on vX.Y.Z tags
windows / windows (push) Canceled after 0s
build / windows (push) Canceled after 0s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 07:43:19 -06:00
James MaesandClaude Opus 5.5 7d951a618d ci: run the coverage gate as a separate pwsh process
windows / windows (push) Successful in 58s
build / windows (push) Successful in 58s
Assert-Coverage.ps1 reports a shortfall with exit 1, which only stops the
build when the script runs as a native process.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 07:35:34 -06:00
James MaesandClaude Opus 5.5 1abae0aa71 ci: build on the shared ci-workflows Windows workflow
windows / windows (push) Canceled after 0s
build / windows (push) Canceled after 0s
Locked restore, warnings-as-errors build, dotnet format, tests with the 100%
coverage gate and the NuGet pack run on the KOF Windows host runner; v* tags
attach the packages and SHA256SUMS to the Gitea release. Removes the note on
the retired central native verification.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 07:33:17 -06:00
forge-recovery aecd0cfe2d docs(ci): document centralized native verification (#32)
KofTwentyTwo/ci-policy: ci / fork-guard (push) Skipped
KofTwentyTwo/ci-policy: ci / gradle-0 (push) Skipped
KofTwentyTwo/ci-policy: ci / gradle-1 (push) Skipped
KofTwentyTwo/ci-policy: ci / java-docker-2 (push) Skipped
KofTwentyTwo/ci-policy: ci / java-maven-3 (push) Skipped
KofTwentyTwo/ci-policy: ci / manifests-4 (push) Skipped
KofTwentyTwo/ci-policy: ci / node-5 (push) Skipped
KofTwentyTwo/ci-policy: ci / rust-6 (push) Skipped
KofTwentyTwo/ci-policy: ci / rust-7 (push) Skipped
KofTwentyTwo/ci-policy: ci / rust-8 (push) Skipped
KofTwentyTwo/ci-policy: ci / not-enrolled (push) Skipped
KofTwentyTwo/ci-policy: native / fork-deny (push) Skipped
KofTwentyTwo/ci-policy: native / swift-1 (push) Skipped
KofTwentyTwo/ci-policy: native / swift-2 (push) Skipped
KofTwentyTwo/ci-policy: native / swift-3 (push) Skipped
KofTwentyTwo/ci-policy: Shared source and config CI / verify (push) Successful in 21s
KofTwentyTwo/ci-policy: Shared source and config CI / secrets (push) Successful in 24s
KofTwentyTwo/ci-policy: Shared .NET CI / secrets (push) Successful in 31s
KofTwentyTwo/ci-policy: Shared source and config CI / gate (push) Successful in 22s
KofTwentyTwo/ci-policy: ci / source-config-9 (push) Successful in 50s
KofTwentyTwo/ci-policy: ci / ci-result (push) Successful in 8s
KofTwentyTwo/ci-policy: Shared .NET CI / verify (push) Successful in 1m24s
KofTwentyTwo/ci-policy: Shared .NET CI / gate (push) Successful in 18s
KofTwentyTwo/ci-policy: native / dotnet-0 (push) Successful in 1m46s
KofTwentyTwo/ci-policy: native / native-result (push) Successful in 7s
2026-11-01 19:52:24 +00:00
7 changed files with 31 additions and 7 deletions

No files matched your search

+24
View File
@@ -0,0 +1,24 @@
name: build
on:
push:
branches: ['**']
tags: ['v*']
jobs:
windows:
uses: self:KofTwentyTwo/ci-workflows/.gitea/workflows/windows.yaml@v1
secrets: inherit
with:
commands: |
dotnet restore AppKit.slnx -p:Platform=x64 --locked-mode
dotnet build AppKit.slnx -p:Platform=x64 -warnaserror --no-restore
# The WinUI sample is built directly so the format workspace can load its generated XAML code.
dotnet build samples/AppKit.Sample.WinUI/AppKit.Sample.WinUI.csproj -p:Platform=x64 -warnaserror --no-restore
$env:Platform = 'x64'
dotnet format AppKit.slnx --verify-no-changes --severity warn --no-restore
Remove-Item Env:Platform
dotnet test tests/KofTwentyTwo.AppKit.Tests --no-build --settings coverage.runsettings --collect:"XPlat Code Coverage" --logger trx --results-directory TestResults
pwsh -NoProfile -File ./build/Assert-Coverage.ps1 -ResultsDirectory TestResults -Packages KofTwentyTwo.AppKit,KofTwentyTwo.AppKit.Updates
# A vX.Y.Z tag packs that version; other pushes pack the 0.1.0-dev default.
$version = if ($env:GITHUB_REF_TYPE -eq 'tag') { @("-p:Version=$($env:GITHUB_REF_NAME.TrimStart('v'))") } else { @() }
dotnet pack AppKit.slnx -c Release -p:Platform=x64 -o artifacts/nuget @version
artifacts: artifacts/nuget/*.nupkg
+1 -1
View File
@@ -16,7 +16,7 @@ concurrency:
jobs:
ci:
uses: KofTwentyTwo/standards/.github/workflows/dotnet.yml@70b555bd5658273090769991bfc4c9b6681dde18 # main (pre-release)
uses: KofTwentyTwo/standards/.github/workflows/dotnet.yml@ae3df7af77e5a97df231a9f53be9d8ed785ddce5 # main (pre-release)
permissions:
contents: read # check out, build, and test; nothing is written
with:
+1 -1
View File
@@ -17,7 +17,7 @@ concurrency:
jobs:
codeql:
uses: KofTwentyTwo/standards/.github/workflows/codeql.yml@70b555bd5658273090769991bfc4c9b6681dde18 # main (pre-release)
uses: KofTwentyTwo/standards/.github/workflows/codeql.yml@ae3df7af77e5a97df231a9f53be9d8ed785ddce5 # main (pre-release)
permissions:
contents: read # check out the code
security-events: write # upload CodeQL results to code scanning
+1 -1
View File
@@ -14,7 +14,7 @@ concurrency:
jobs:
pr:
uses: KofTwentyTwo/standards/.github/workflows/pr.yml@70b555bd5658273090769991bfc4c9b6681dde18 # main (pre-release)
uses: KofTwentyTwo/standards/.github/workflows/pr.yml@ae3df7af77e5a97df231a9f53be9d8ed785ddce5 # main (pre-release)
permissions:
contents: read # read the commits being merged
pull-requests: read # read the pull request title and dependency diff
+1 -1
View File
@@ -29,7 +29,7 @@ concurrency:
jobs:
release:
uses: KofTwentyTwo/standards/.github/workflows/release-nuget.yml@70b555bd5658273090769991bfc4c9b6681dde18 # main (pre-release)
uses: KofTwentyTwo/standards/.github/workflows/release-nuget.yml@ae3df7af77e5a97df231a9f53be9d8ed785ddce5 # main (pre-release)
permissions:
contents: write # create and publish the GitHub release
id-token: write # sign attestations
+2 -2
View File
@@ -34,7 +34,7 @@ jobs:
persist-credentials: false
- name: Run Scorecard
uses: ossf/scorecard-action@fa7117db83c52d787ae5a89f350999701505d78e # v2.5.0
uses: ossf/scorecard-action@2d1146689b8cda280b9bc96326124645441f03bc # v2.4.4
with:
results_file: scorecard.sarif
results_format: sarif
@@ -48,7 +48,7 @@ jobs:
retention-days: 30
- name: Upload SARIF to code scanning
uses: github/codeql-action/upload-sarif@6f2ac81f5cd81fe351a197ba0b00d91d03cd2aee # v4.39.0
uses: github/codeql-action/upload-sarif@24c54180a607b1449ed407dd24f251e4e9147c8d # v4.38.3
with:
sarif_file: scorecard.sarif
category: scorecard
+1 -1
View File
@@ -19,7 +19,7 @@ concurrency:
jobs:
security:
uses: KofTwentyTwo/standards/.github/workflows/security.yml@70b555bd5658273090769991bfc4c9b6681dde18 # main (pre-release)
uses: KofTwentyTwo/standards/.github/workflows/security.yml@ae3df7af77e5a97df231a9f53be9d8ed785ddce5 # main (pre-release)
permissions:
contents: read # check out the code and its history
security-events: write # upload Trivy and zizmor SARIF to code scanning