Skip to content

Commit 36d363b

Browse files
Add one-time source-equivalent 11D payload workflow
1 parent 21863da commit 36d363b

1 file changed

Lines changed: 37 additions & 0 deletions

File tree

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: Apply source-equivalent 11D tensor lift once
2+
3+
on:
4+
push:
5+
branches: ["11d-order4"]
6+
7+
permissions:
8+
contents: write
9+
10+
jobs:
11+
apply:
12+
if: github.event.head_commit.message == 'Stage source-equivalent 11D payload READY'
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@v4
16+
with:
17+
ref: 11d-order4
18+
fetch-depth: 0
19+
- name: Apply exact source-equivalent payload
20+
shell: bash
21+
run: |
22+
set -euo pipefail
23+
cat _stage/payload.part.* | base64 -d > /tmp/tensorcube-source-equiv.tar.gz
24+
tar -xzf /tmp/tensorcube-source-equiv.tar.gz -C .
25+
rm -f /tmp/tensorcube-source-equiv.tar.gz
26+
sha256sum -c <(printf '%s %s\n' '348d456af13394f0bfa094de2870016238846266a87d46ca03727cdd76197f2f' 'dist/TensorCube_11D_Order4.exe')
27+
sha256sum -c <(printf '%s %s\n' 'f043d0131b149fe71723930ee618838ea64bd05aefce790697947a43eef17e52' 'TensorCube11D4.cpp')
28+
python validate_11d4.py
29+
rm -rf _stage
30+
rm -f .github/workflows/apply-source-equivalent-11d-once.yml
31+
rmdir .github/workflows 2>/dev/null || true
32+
rmdir .github 2>/dev/null || true
33+
git config user.name 'github-actions[bot]'
34+
git config user.email '41898282+github-actions[bot]@users.noreply.github.com'
35+
git add -A
36+
git commit -m 'Lift source TensorCube deep-random and factorization to 11D tensor chart'
37+
git push origin HEAD:11d-order4

0 commit comments

Comments
 (0)