Release
successResolve release tag 2s
if [[ "$EVENT_NAME" == "workflow_dispatch" ]]; then tag="$INPUT_TAG" else tag="$REF_NAME" fi if [[ ! "$tag" =~ ^v[0-9] ]]; then echo "Release tags must start with a version such as v0.1.0" >&2 exit 1 fi echo "tag=$tag" >> "$GITHUB_OUTPUT"
successCheck out release tag <1s
successInstall Nim 2s
curl --fail --show-error --silent \ https://nim-lang.org/choosenim/init.sh \ -o /tmp/choosenim-init.sh CHOOSENIM_CHOOSE_VERSION=2.2.12 sh /tmp/choosenim-init.sh -y echo "$HOME/.nimble/bin" >> "$GITHUB_PATH" export PATH="$HOME/.nimble/bin:$PATH" nim --version
successRun test suite 7s
./run-tests.sh
successBuild optimized compiler 8s
mkdir -p lib nim c --app:staticlib --nimMainPrefix:ClonimRuntime \ --hints:off --warnings:off --nimcache:lib/nimcache-debug \ -o:lib/libclonim_runtime_debug.a src/runtime_lib.nim nim c -d:release --app:staticlib --nimMainPrefix:ClonimRuntime \ --hints:off --warnings:off --nimcache:lib/nimcache-release \ -o:lib/libclonim_runtime.a src/runtime_lib.nim nim c -d:release --hints:off --warnings:off \ -o:bin/clonim src/clonim.nim
successPackage release <1s
install -Dm755 bin/clonim "dist/$ARCHIVE_ROOT/bin/clonim" install -Dm644 lib/libclonim_runtime.a \ "dist/$ARCHIVE_ROOT/lib/libclonim_runtime.a" install -Dm644 lib/libclonim_runtime_debug.a \ "dist/$ARCHIVE_ROOT/lib/libclonim_runtime_debug.a" install -Dm644 src/app_runtime.nim \ "dist/$ARCHIVE_ROOT/src/app_runtime.nim" install -Dm644 src/runtime_types.nim \ "dist/$ARCHIVE_ROOT/src/runtime_types.nim" cp -R stdlib "dist/$ARCHIVE_ROOT/stdlib" cp README.md "dist/$ARCHIVE_ROOT/README.md" tar -C dist -czf "dist/$ARCHIVE_ROOT.tar.gz" "$ARCHIVE_ROOT" cd dist sha256sum "$ARCHIVE_ROOT.tar.gz" > "$ARCHIVE_ROOT.tar.gz.sha256"
failurePublish GitHub release <1s
export GH_HOST="${GITHUB_SERVER_URL#https://}"
assets=(
dist/clonim-linux-x86_64.tar.gz
dist/clonim-linux-x86_64.tar.gz.sha256
)
if gh release view "$TAG" >/dev/null 2>&1; then
gh release upload "$TAG" "${assets[@]}" --clobber
else
gh release create "$TAG" "${assets[@]}" \
--verify-tag \
--generate-notes \
--title "$TAG"
fi
No test reports for this run.
Tell a job where its test runner writes its report and this tab fills in: how many tests passed, failed and were skipped, a bar of the result at a glance, then every failure first — with the assertion that failed and the output around it — over a per-suite list of cases and their durations. No scrolling a log for the word FAIL.
It is one reports: key on the job — a job key, not a step, so the report is collected whatever the job concluded. JUnit XML and go test -json are both understood, and most runners already emit one of them. reports: is a rickub extension and works only in .rickub/workflows/; in .github/workflows/ it is a parse error on purpose, because those files are also meant to run on github.com.