The gnu lychee needs glibc 2.38, newer than the lint image's. The runner checks out into a directory named after the runner user, so the static check must be told the repository name (K22-REPO-42 looks it up in MAINTAINERS.md). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
33 lines
1.6 KiB
YAML
33 lines
1.6 KiB
YAML
# Gitea CI for the standards repository. The .github workflows are the reusable
|
|
# GitHub gates this repository publishes; Gitea does not run them.
|
|
name: build
|
|
on:
|
|
push:
|
|
jobs:
|
|
docs:
|
|
uses: self:KofTwentyTwo/ci-workflows/.gitea/workflows/lint.yaml@small-workflows
|
|
with:
|
|
markdownlint: '**/*.md'
|
|
yamllint: |
|
|
**/*.yml
|
|
**/*.yaml
|
|
# Internal links and anchors between documents (offline: deterministic). The
|
|
# static musl build: the image's glibc is older than the gnu build needs.
|
|
commands: |
|
|
LYCHEE_VERSION=0.24.2
|
|
LYCHEE_SHA256=73657a111819a30c47c08352896796f23d64e4eb2b3ed39b6d32149241566fc5
|
|
archive=lychee-x86_64-unknown-linux-musl.tar.gz
|
|
mkdir -p /tmp/lychee
|
|
curl -fsSLo "/tmp/lychee/$archive" "https://github.com/lycheeverse/lychee/releases/download/lychee-v$LYCHEE_VERSION/$archive"
|
|
(cd /tmp/lychee && echo "$LYCHEE_SHA256 $archive" | sha256sum --check --strict && tar -xzf "$archive")
|
|
/tmp/lychee/lychee-x86_64-unknown-linux-musl/lychee --offline --include-fragments --no-progress './**/*.md'
|
|
conformance:
|
|
uses: self:KofTwentyTwo/ci-workflows/.gitea/workflows/windows.yaml@v1
|
|
with:
|
|
commands: |
|
|
pwsh -NoProfile -File ./tools/Test-RepoConformance.ps1 -SelfTest
|
|
pwsh -NoProfile -File ./tools/Test-RepoConformance.Fuzz.ps1 -Seed 22023 -Iterations 1000
|
|
pwsh -NoProfile -File ./tools/Test-RepoConformance.Fuzz.ps1 -Seed 99173 -Iterations 1000
|
|
pwsh -NoProfile -File ./tools/Test-StandardsPackage.ps1
|
|
pwsh -NoProfile -File ./tools/Test-RepoConformance.ps1 -Repository KofTwentyTwo/standards -LocalPath . -StaticOnly
|