Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
b5553cd
docs: add plan 5 (upstream sync and release)
IOL0ol1 Nov 18, 2026
7be0f01
build: verify upstream assets against GitHub digests, ship per-platfo…
IOL0ol1 Nov 18, 2026
22ac774
fix: refuse a tool output directory that is a symbolic link or junction
IOL0ol1 Nov 18, 2026
ddaba11
fix: accept any DeepZoom tile size and overlap, as openslide-python does
IOL0ol1 Nov 18, 2026
4adfe62
fix: check the thumbnail's level before allocating, and name the maxi…
IOL0ol1 Nov 18, 2026
03c1f02
docs: state that the Skia transform cache is keyed by the ICC profile…
IOL0ol1 Nov 18, 2026
fbb667f
build: put the upstream OpenSlide version in InformationalVersion whe…
IOL0ol1 Nov 18, 2026
4172569
build: ship the tool's terms in LICENSE.txt and name the release copy…
IOL0ol1 Nov 18, 2026
efdd604
build: write the viewer's SOURCE.md at publish and ship only its plat…
IOL0ol1 Nov 18, 2026
9e357f9
build: compute the NuGet release version and detect upstream openslid…
IOL0ol1 Nov 18, 2026
8fb6189
ci: self-test the release version and upstream update scripts
IOL0ol1 Nov 18, 2026
72fa58d
build: make the version script's self-tests able to fail, and harden …
IOL0ol1 Nov 18, 2026
723ee87
build: pack only, with the upstream OpenSlide version, for releases
IOL0ol1 Nov 18, 2026
1e243e0
build: publish the viewer from one script, and archive it for releases
IOL0ol1 Nov 18, 2026
45afb52
build: gather a release's files with the openslide-bin source tarball
IOL0ol1 Nov 18, 2026
daad188
ci: test a given ref when called, and lint the workflows
IOL0ol1 Nov 18, 2026
dbf9fc0
ci: release a commit after CI passes on it
IOL0ol1 Nov 18, 2026
6954943
build: take OpenSlideSharp packages only from the local feed when con…
IOL0ol1 Nov 18, 2026
18ea440
ci: let ci.yml run twice in one workflow run
IOL0ol1 Nov 18, 2026
0cee9bc
ci: refuse to release an old or already released commit
IOL0ol1 Nov 18, 2026
d35d89b
build: report a failed upstream sync in one issue per openslide-bin b…
IOL0ol1 Nov 18, 2026
f31a6a9
ci: self-test the upstream sync failure report
IOL0ol1 Nov 18, 2026
2c8402e
ci: sync newer openslide-bin builds daily
IOL0ol1 Nov 18, 2026
e2f441c
docs: describe the automatic releases and list the old packages
IOL0ol1 Nov 18, 2026
235bfd7
docs: say how to run the released viewer, and that native PackageRefe…
IOL0ol1 Nov 18, 2026
7b22d9a
fix: refuse deepzoom tiles too large for an array before touching the…
IOL0ol1 Nov 18, 2026
7f837e5
docs: say what the upstream sync changes when the release fails or no…
IOL0ol1 Nov 18, 2026
58954f9
docs: publish the viewer with a local runtime package through Publish…
IOL0ol1 Nov 18, 2026
81929f7
build: leave the runtime package's LICENSE.txt out of the viewer's li…
IOL0ol1 Nov 18, 2026
1f44dbe
build: word the release notes per channel, and note a stable release …
IOL0ol1 Nov 18, 2026
df690f1
ci: run each viewer archive on its own platform before releasing it
IOL0ol1 Nov 18, 2026
5417158
ci: give each ref its own release concurrency group
IOL0ol1 Nov 18, 2026
b9a1d13
ci: describe what keeping the sync token out of .git/config does and …
IOL0ol1 Nov 18, 2026
08650ce
ci: say that the sync's fallback pull request needs a repository sett…
IOL0ol1 Nov 18, 2026
f8d751d
docs: state the server's limit on the Deep Zoom tile size plus twice …
IOL0ol1 Nov 18, 2026
dba0f60
test: clear inherited package source mappings in the package smoke co…
IOL0ol1 Nov 18, 2026
12f2e01
docs: record plan 5 carry-over items and mark plan 5 done
IOL0ol1 Nov 18, 2026
38437ba
ci: compare the archived viewer's ProductVersion as a string, so a mi…
IOL0ol1 Nov 18, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
64 changes: 64 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,14 @@ on:
branches: [master]
pull_request:
workflow_dispatch:
# The release and upstream sync workflows test the commit they are about to release or merge.
workflow_call:
inputs:
ref:
description: Branch, tag or commit to test. Empty tests the commit of the calling workflow's event.
type: string
required: false
default: ''

permissions:
contents: read
Expand All @@ -24,6 +32,8 @@ jobs:
os: [windows-latest, ubuntu-latest, ubuntu-24.04-arm, macos-latest]
steps:
- uses: actions/checkout@v7
with:
ref: ${{ inputs.ref }}
- uses: actions/setup-dotnet@v6
with:
global-json-file: global.json
Expand All @@ -43,6 +53,8 @@ jobs:
needs: test
steps:
- uses: actions/checkout@v7
with:
ref: ${{ inputs.ref }}
- uses: actions/setup-dotnet@v6
with:
global-json-file: global.json
Expand Down Expand Up @@ -111,6 +123,8 @@ jobs:
timeout-minutes: 30
steps:
- uses: actions/checkout@v7
with:
ref: ${{ inputs.ref }}
- uses: actions/setup-dotnet@v6
with:
global-json-file: global.json
Expand Down Expand Up @@ -141,6 +155,8 @@ jobs:
needs: test
steps:
- uses: actions/checkout@v7
with:
ref: ${{ inputs.ref }}
- uses: actions/setup-dotnet@v6
with:
global-json-file: global.json
Expand All @@ -159,6 +175,10 @@ jobs:
name: packages
path: artifacts/smoke-feed/*.nupkg
if-no-files-found: error
# A called ci.yml uploads into the caller's run, and the upstream sync calls it twice in one run (for the sync
# branch, then through release.yml). The two calls run one after the other, so the second replaces the first's
# packages before its package-unix jobs download them.
overwrite: true

package-unix:
name: package-unix (${{ matrix.os }})
Expand All @@ -171,6 +191,8 @@ jobs:
os: [ubuntu-latest, ubuntu-24.04-arm, macos-latest]
steps:
- uses: actions/checkout@v7
with:
ref: ${{ inputs.ref }}
- uses: actions/setup-dotnet@v6
with:
global-json-file: global.json
Expand All @@ -181,3 +203,45 @@ jobs:
- name: Smoke-test the packed packages
shell: pwsh
run: ./eng/Test-Packages.ps1 -SkipPack -Version 0.0.0-ci.${{ github.run_number }}

scripts:
runs-on: ubuntu-latest
timeout-minutes: 10
permissions:
contents: read
steps:
- uses: actions/checkout@v7
with:
ref: ${{ inputs.ref }}
- name: Self-test the release version script
shell: pwsh
run: ./eng/Get-ReleaseVersion.ps1 -SelfTest
- name: Self-test the upstream update script
shell: pwsh
run: ./eng/Find-UpstreamUpdate.ps1 -SelfTest
- name: Self-test the upstream sync failure report
shell: pwsh
run: ./eng/Report-SyncFailure.ps1 -SelfTest

actionlint:
runs-on: ubuntu-latest
timeout-minutes: 10
permissions:
contents: read
steps:
- uses: actions/checkout@v7
with:
ref: ${{ inputs.ref }}
persist-credentials: false
- name: Lint the workflows
env:
ACTIONLINT_VERSION: 1.7.12
# The sha256 of actionlint_1.7.12_linux_amd64.tar.gz in that release's actionlint_1.7.12_checksums.txt.
ACTIONLINT_SHA256: 8aca8db96f1b94770f1b0d72b6dddcb1ebb8123cb3712530b08cc387b349a3d8
run: |
# actionlint also runs shellcheck, which the runner has, on the bash run: scripts.
archive="actionlint_${ACTIONLINT_VERSION}_linux_amd64.tar.gz"
curl -fsSL --retry 3 -o "$RUNNER_TEMP/$archive" "https://github.com/rhysd/actionlint/releases/download/v${ACTIONLINT_VERSION}/$archive"
echo "$ACTIONLINT_SHA256 $RUNNER_TEMP/$archive" | sha256sum --check --strict -
tar -xzf "$RUNNER_TEMP/$archive" -C "$RUNNER_TEMP" actionlint
"$RUNNER_TEMP/actionlint" -color
Loading
Loading