Initial commit
Test / gate (push) Failing after 19m0s

This commit is contained in:
alexm committed 2026-11-12 22:23:54 -05:00
commit 401084bab3
265 files changed
+69224

No files matched your search

+55
View File
@@ -0,0 +1,55 @@
# pplus-core's scheduled run: the fuzzers for longer than the gate can afford, on seeds that move with the date, and
# mojo-status-strict (`pixi run nightly`). A failure opens nothing and sends nothing: the run goes red where anyone
# looking at the repository's Actions page sees it. docs/ci.md says how to reproduce a seed and what to do with it.
#
# Gitea Actions (host mode) as test.yml; on GitHub Actions the same file runs with `runs-on: ubuntu-latest`.
name: Nightly
on:
schedule:
- cron: "17 6 * * *" # 06:17 UTC, before the working day in America
workflow_dispatch:
env:
CI: "true"
PIXI_VERSION: "0.83.0"
jobs:
fuzz:
runs-on: quarto-deploy
timeout-minutes: 90
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
# pixi: the host's when it is the pinned version, else the pinned release, fetched once into a cache directory
# the runner's user owns (no sudo), checked by SHA-256
- name: pixi, pinned
shell: bash
run: |
set -euo pipefail
if command -v pixi >/dev/null && [ "$(pixi --version | cut -d' ' -f2)" = "$PIXI_VERSION" ]; then
echo "pixi $PIXI_VERSION is on the host: $(command -v pixi)"; exit 0
fi
dir="${PPLUS_CI_CACHE:-$HOME/.cache/pplus-ci}/pixi-$PIXI_VERSION"
if [ ! -x "$dir/pixi" ]; then
case "$(uname -s)-$(uname -m)" in
Linux-x86_64) asset=pixi-x86_64-unknown-linux-musl.tar.gz; sum=064f371e692aaa3400ac581c89da2843c91437f20c2d9155395a5d0037f33551 ;;
Linux-aarch64) asset=pixi-aarch64-unknown-linux-musl.tar.gz; sum=d08403d8f048626ec93ba7b7c56e3b747a5f3a95c4e6e0c815ceb264f5f0b9ce ;;
*) echo "no pinned pixi for $(uname -sm)" >&2; exit 1 ;;
esac
tmp="$(mktemp -d)"
curl -fsSL --retry 3 -o "$tmp/$asset" "https://github.com/prefix-dev/pixi/releases/download/v$PIXI_VERSION/$asset"
echo "$sum $tmp/$asset" | sha256sum -c -
mkdir -p "$dir" && tar -xzf "$tmp/$asset" -C "$dir" pixi && rm -rf "$tmp"
fi
echo "$dir" >> "$GITHUB_PATH"
"$dir/pixi" --version
- name: The pinned environment, exactly as pixi.lock has it
run: pixi install --locked
# mojo-status-strict, then mojo-fuzz in both modes (four seeds, 100 programs each) and prove-fuzz (four seeds, 3,000 each);
# every seed is printed with the command that reproduces it
- name: pixi run nightly
run: pixi run nightly