Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a93edf16a1 | ||
|
|
69de6b7bde | ||
|
|
29ec2fe7ab | ||
|
|
99e54a2e52 | ||
|
|
4c65582ada | ||
|
|
3cd251636e | ||
|
|
fb3679fcf8 | ||
|
|
916dc0d645 | ||
|
|
4c39d6f8ee | ||
|
|
19a38d9df6 | ||
|
|
8cff9d9141 | ||
|
|
e83d603047 | ||
|
|
cb1c1d985c | ||
|
|
71bab40e53 | ||
|
|
667fdde139 | ||
|
|
d42d283def | ||
|
|
bad162bdce | ||
|
|
5812860910 | ||
|
|
1a313c8e16 | ||
|
|
785502ea9e | ||
|
|
c20ae68d07 | ||
|
|
ca9195daca | ||
|
|
aa93ced550 | ||
|
|
3a6264a608 | ||
|
|
8af0f02a5a | ||
|
|
3c0211285a | ||
|
|
4aac193439 | ||
|
|
c195a11759 | ||
|
|
31acb9e844 | ||
|
|
ff31170fd6 | ||
|
|
4634c135e7 | ||
|
|
c1e6a31120 | ||
|
|
62cc66f9e5 | ||
|
|
a40397fabc | ||
|
|
acbc4c3074 | ||
|
|
fa777c6a79 | ||
|
|
c58a55220f | ||
|
|
68c1f878a2 | ||
|
|
25f72f2ac4 | ||
|
|
f4cdfc01aa | ||
|
|
13aeb5001b | ||
|
|
74a93aaa7c | ||
|
|
9c08afa728 | ||
|
|
32937d1ca7 | ||
|
|
cee841830c | ||
|
|
ca004e5206 | ||
|
|
3689c955f9 | ||
|
|
fbf93e679f | ||
|
|
3c4cfaa23c | ||
|
|
ffde3ed1dd | ||
|
|
ffd6c56f44 |
No files matched your search
@@ -1,2 +0,0 @@
|
|||||||
[alias]
|
|
||||||
xtask = "run --package xtask --"
|
|
||||||
@@ -1,122 +0,0 @@
|
|||||||
name: CI
|
|
||||||
|
|
||||||
on:
|
|
||||||
pull_request:
|
|
||||||
push:
|
|
||||||
branches: [main]
|
|
||||||
schedule:
|
|
||||||
# Nightly: the heavy tests on main.
|
|
||||||
- cron: '23 3 * * *'
|
|
||||||
workflow_dispatch:
|
|
||||||
|
|
||||||
permissions:
|
|
||||||
contents: read
|
|
||||||
|
|
||||||
concurrency:
|
|
||||||
group: ci-${{ github.ref }}
|
|
||||||
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
|
|
||||||
|
|
||||||
env:
|
|
||||||
CARGO_TERM_COLOR: always
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
# Pull requests that only touch Markdown or docs/ skip the build jobs (they still report, as
|
|
||||||
# skipped). Pushes to main and manual runs always run everything.
|
|
||||||
changes:
|
|
||||||
name: Select checks
|
|
||||||
runs-on: ubuntu-24.04
|
|
||||||
outputs:
|
|
||||||
code: ${{ steps.paths.outputs.code }}
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
||||||
with:
|
|
||||||
fetch-depth: 0
|
|
||||||
- id: paths
|
|
||||||
name: Detect code changes
|
|
||||||
env:
|
|
||||||
EVENT_NAME: ${{ github.event_name }}
|
|
||||||
BASE_SHA: ${{ github.event.pull_request.base.sha }}
|
|
||||||
HEAD_SHA: ${{ github.event.pull_request.head.sha }}
|
|
||||||
run: |
|
|
||||||
if [ "$EVENT_NAME" != "pull_request" ]; then
|
|
||||||
echo "code=true" >> "$GITHUB_OUTPUT"
|
|
||||||
exit 0
|
|
||||||
fi
|
|
||||||
changed=$(git diff --name-only "$BASE_SHA" "$HEAD_SHA")
|
|
||||||
code=false
|
|
||||||
while IFS= read -r f; do
|
|
||||||
case "$f" in
|
|
||||||
docs/features.md|docs/oracle.md) code=true ;;
|
|
||||||
*.md|docs/*) ;;
|
|
||||||
"") ;;
|
|
||||||
*) code=true ;;
|
|
||||||
esac
|
|
||||||
done <<< "$changed"
|
|
||||||
echo "code=$code" >> "$GITHUB_OUTPUT"
|
|
||||||
echo "code changes: $code"
|
|
||||||
|
|
||||||
ci:
|
|
||||||
name: cargo xtask ci
|
|
||||||
needs: changes
|
|
||||||
if: needs.changes.outputs.code == 'true'
|
|
||||||
runs-on: ubuntu-24.04
|
|
||||||
timeout-minutes: 60
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
||||||
- uses: dtolnay/rust-toolchain@stable
|
|
||||||
with:
|
|
||||||
components: rustfmt, clippy
|
|
||||||
targets: wasm32-unknown-unknown
|
|
||||||
- uses: Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6 # v2.9.2
|
|
||||||
with:
|
|
||||||
# Branches restore main's cache; saving their own would only evict it.
|
|
||||||
save-if: ${{ github.ref == 'refs/heads/main' }}
|
|
||||||
- run: cargo xtask ci
|
|
||||||
|
|
||||||
heavy:
|
|
||||||
# The heavy verification and corpus tests (#[ignore]d) and the doc tests: on main, nightly
|
|
||||||
# and on demand, not on every pull request.
|
|
||||||
name: cargo xtask test --heavy
|
|
||||||
if: contains(fromJSON('["push", "schedule", "workflow_dispatch"]'), github.event_name)
|
|
||||||
runs-on: ubuntu-24.04
|
|
||||||
timeout-minutes: 60
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
||||||
- uses: dtolnay/rust-toolchain@stable
|
|
||||||
- uses: Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6 # v2.9.2
|
|
||||||
with:
|
|
||||||
save-if: ${{ github.ref == 'refs/heads/main' }}
|
|
||||||
- run: cargo xtask test --heavy
|
|
||||||
|
|
||||||
oracle:
|
|
||||||
# Verification and validation (docs/verification.md): every case against its reference and
|
|
||||||
# its fixture, and docs/oracle.md must be the table the cases produce. Cases marked `slow`
|
|
||||||
# run here too while the whole set stays within a few minutes; `--quick` skips them.
|
|
||||||
name: cargo xtask oracle
|
|
||||||
needs: changes
|
|
||||||
if: needs.changes.outputs.code == 'true'
|
|
||||||
runs-on: ubuntu-24.04
|
|
||||||
timeout-minutes: 45
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
||||||
- uses: dtolnay/rust-toolchain@stable
|
|
||||||
- uses: Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6 # v2.9.2
|
|
||||||
with:
|
|
||||||
key: oracle
|
|
||||||
save-if: ${{ github.ref == 'refs/heads/main' }}
|
|
||||||
- run: cargo xtask oracle
|
|
||||||
- name: docs/oracle.md is current
|
|
||||||
run: git diff --exit-code docs/oracle.md
|
|
||||||
|
|
||||||
advisories:
|
|
||||||
name: Dependency advisories and sources
|
|
||||||
needs: changes
|
|
||||||
if: needs.changes.outputs.code == 'true'
|
|
||||||
runs-on: ubuntu-24.04
|
|
||||||
timeout-minutes: 20
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
||||||
- uses: dtolnay/rust-toolchain@stable
|
|
||||||
- name: Install cargo-deny
|
|
||||||
run: cargo install cargo-deny --version 0.20.2 --locked
|
|
||||||
- run: cargo deny --locked check --warn unmaintained advisories bans sources
|
|
||||||
@@ -1,8 +0,0 @@
|
|||||||
/target*/
|
|
||||||
/plan/
|
|
||||||
/dist/
|
|
||||||
/.agent-files/
|
|
||||||
/worktrees/
|
|
||||||
*~
|
|
||||||
.DS_Store
|
|
||||||
*.swp
|
|
||||||
|
After Width: | Height: | Size: 72 KiB |
|
After Width: | Height: | Size: 45 KiB |
|
After Width: | Height: | Size: 37 KiB |
|
After Width: | Height: | Size: 42 KiB |
|
After Width: | Height: | Size: 82 KiB |
|
After Width: | Height: | Size: 112 KiB |
|
After Width: | Height: | Size: 112 KiB |
|
After Width: | Height: | Size: 38 KiB |
|
After Width: | Height: | Size: 37 KiB |
|
After Width: | Height: | Size: 56 KiB |
|
After Width: | Height: | Size: 11 KiB |
|
After Width: | Height: | Size: 62 KiB |
|
After Width: | Height: | Size: 9.6 KiB |
|
After Width: | Height: | Size: 70 KiB |
|
After Width: | Height: | Size: 63 KiB |
|
After Width: | Height: | Size: 64 KiB |
|
After Width: | Height: | Size: 64 KiB |
|
After Width: | Height: | Size: 127 KiB |
|
After Width: | Height: | Size: 159 KiB |
|
After Width: | Height: | Size: 84 KiB |
|
After Width: | Height: | Size: 127 KiB |
|
After Width: | Height: | Size: 37 KiB |
|
After Width: | Height: | Size: 37 KiB |
|
After Width: | Height: | Size: 113 KiB |
|
After Width: | Height: | Size: 127 KiB |
|
After Width: | Height: | Size: 124 KiB |
|
After Width: | Height: | Size: 64 KiB |
|
After Width: | Height: | Size: 61 KiB |
|
After Width: | Height: | Size: 65 KiB |
|
After Width: | Height: | Size: 63 KiB |
|
After Width: | Height: | Size: 60 KiB |
|
After Width: | Height: | Size: 35 KiB |
|
After Width: | Height: | Size: 295 KiB |
|
After Width: | Height: | Size: 180 KiB |
|
After Width: | Height: | Size: 17 KiB |
|
After Width: | Height: | Size: 116 KiB |
|
After Width: | Height: | Size: 79 KiB |
|
After Width: | Height: | Size: 83 KiB |
|
After Width: | Height: | Size: 34 KiB |
|
After Width: | Height: | Size: 85 KiB |
|
After Width: | Height: | Size: 39 KiB |
|
After Width: | Height: | Size: 38 KiB |
|
After Width: | Height: | Size: 28 KiB |
|
After Width: | Height: | Size: 47 KiB |
|
After Width: | Height: | Size: 47 KiB |
|
After Width: | Height: | Size: 35 KiB |
|
After Width: | Height: | Size: 95 KiB |
|
After Width: | Height: | Size: 88 KiB |
|
After Width: | Height: | Size: 51 KiB |
|
After Width: | Height: | Size: 47 KiB |
|
After Width: | Height: | Size: 26 KiB |
|
After Width: | Height: | Size: 220 KiB |
|
After Width: | Height: | Size: 26 KiB |
|
After Width: | Height: | Size: 12 KiB |
|
After Width: | Height: | Size: 161 KiB |
|
After Width: | Height: | Size: 26 KiB |
|
After Width: | Height: | Size: 180 KiB |
|
After Width: | Height: | Size: 213 KiB |
|
After Width: | Height: | Size: 204 KiB |
|
After Width: | Height: | Size: 39 KiB |
|
After Width: | Height: | Size: 33 KiB |
|
After Width: | Height: | Size: 27 KiB |
|
After Width: | Height: | Size: 48 KiB |
|
After Width: | Height: | Size: 121 KiB |
|
After Width: | Height: | Size: 35 KiB |
|
After Width: | Height: | Size: 56 KiB |
|
After Width: | Height: | Size: 118 KiB |
|
After Width: | Height: | Size: 56 KiB |
|
After Width: | Height: | Size: 95 KiB |
|
After Width: | Height: | Size: 27 KiB |
|
After Width: | Height: | Size: 51 KiB |
|
After Width: | Height: | Size: 123 KiB |
|
After Width: | Height: | Size: 48 KiB |
|
After Width: | Height: | Size: 121 KiB |
|
After Width: | Height: | Size: 23 KiB |
|
After Width: | Height: | Size: 50 KiB |
|
After Width: | Height: | Size: 50 KiB |
|
After Width: | Height: | Size: 67 KiB |
|
After Width: | Height: | Size: 36 KiB |
|
After Width: | Height: | Size: 45 KiB |
|
After Width: | Height: | Size: 74 KiB |
|
After Width: | Height: | Size: 74 KiB |
|
After Width: | Height: | Size: 43 KiB |
|
After Width: | Height: | Size: 92 KiB |
|
After Width: | Height: | Size: 42 KiB |
|
After Width: | Height: | Size: 101 KiB |
|
After Width: | Height: | Size: 15 KiB |
|
After Width: | Height: | Size: 70 KiB |
|
After Width: | Height: | Size: 138 KiB |
|
After Width: | Height: | Size: 65 KiB |
|
After Width: | Height: | Size: 130 KiB |
|
After Width: | Height: | Size: 26 KiB |
|
After Width: | Height: | Size: 73 KiB |
|
After Width: | Height: | Size: 61 KiB |
|
After Width: | Height: | Size: 115 KiB |
|
After Width: | Height: | Size: 45 KiB |
|
After Width: | Height: | Size: 41 KiB |