Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
10 changes: 8 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: ci

# Gate for EXFA-Engine. Also a reusable workflow: sde-update.yml calls this file via `workflow_call`
# Gate for EXFA-Engine. Also a reusable workflow (`workflow_call`; SDE updates are prepared locally with ci/sde_update.py)
# with `sde_tag` (override the tag pinned in sde.lock) and `skip_round1_sha` (new data legitimately
# changes the round-1 byte checks).
on:
Expand Down Expand Up @@ -167,7 +167,13 @@ jobs:
- name: Build wasip1
run: cargo build --release --locked --target wasm32-wasip1 -p exfa-cli
- name: Install wasmtime
run: curl -fsSL https://wasmtime.dev/install.sh | bash -s -- --version v33.0.0
run: |
# wasmtime.dev / GitHub release downloads 504 now and then: retry instead of failing the whole job.
for i in 1 2 3 4 5; do
curl -fsSL https://wasmtime.dev/install.sh | bash -s -- --version v33.0.0 && break
echo "wasmtime install attempt $i failed; retrying"; sleep $((i*15))
done
test -x "$HOME/.wasmtime/bin/wasmtime"
- name: Suites
run: |
export PATH="$HOME/.wasmtime/bin:$PATH"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ jobs:
ref: ${{ inputs.tag || github.ref }}
- uses: actions/download-artifact@v4
with:
# pkg-* only: a caller run (sde-update) also carries the gate's ci-results-* artifacts
# pkg-* only: a caller run also carries the gate's ci-results-* artifacts
pattern: 'pkg-*'
path: dist
merge-multiple: true
Expand Down
240 changes: 0 additions & 240 deletions .github/workflows/sde-update.yml

This file was deleted.

1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ target/
ci-results/
_suites/
_data/
_bench/
14 changes: 7 additions & 7 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ default-members = [
]

[workspace.package]
version = "0.2.1"
version = "0.2.2"
edition = "2021"
license = "LGPL-3.0-or-later"
repository = "https://github.com/EX-CT/EXFA-Engine"
Expand Down
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,10 @@ sha256 checks (`ci/round1.sha256` + `ci/round1-base.sha256` after stripping `ci/
run first: `exfa-formats` (`crates/exfa-formats/tests/roundtrip.rs`: per format import→export and export→import
round trips and error paths), `exfa-optimizer` property tests, then the whole workspace. Locally:
`BENCH=/path/to/EXFA-Bench ci/run_suites.sh native ./target/release/exfa`. The dataset tag is pinned in `sde.lock`
and downloaded from `EX-CT/EXFA-Data`; `sde-update.yml` consumes EXFA-Data `sde-release` dispatches, re-gates and
releases automatically.
and downloaded from `EX-CT/EXFA-Data`; new SDE builds are adopted **locally and by hand**: `python ci/sde_update.py` downloads the
latest `sde-*` release, runs the gate (build, `cargo test`, `ci/run_suites.sh` against the pinned Bench), embeds the newest
price snapshot, bumps `sde.lock`/version/round-1 shas and commits on `sde/<tag>`; push it as a PR (CI re-gates native +
wasm), merge, then tag `v<version>` to release. There is no scheduled auto-update.

### Bench

Expand Down
2 changes: 1 addition & 1 deletion bench.lock
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
BENCH_REPO=EX-CT/EXFA-Bench
BENCH_SHA=c6b6b4f9825beefbe2361f3752b978155de39660
BENCH_SHA=c8c82f4d52eb8998a1c575ff3dcab46d74a586f1
2 changes: 1 addition & 1 deletion ci/round1-base.sha256
Original file line number Diff line number Diff line change
@@ -1 +1 @@
acb53102089a16f530aba278fac2403ed100dbf083377ed90e58f1f34914b514
dd3f1da2d1735cc9d3f49b5c537de3290031c795178a6fef2de0657e4e2f9fd1
2 changes: 1 addition & 1 deletion ci/round1.sha256
Original file line number Diff line number Diff line change
@@ -1 +1 @@
de9e5d28a2a7b81d26ba0daf05b1519b0364aa94a90dcd6086b75d451b754916
41b78d38919a0f70ea53e7e04cd0ff6745be6b8a691464430cf5f9f6a2d1508e
Loading
Loading