File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Hermes blockers workspace
2+ on :
3+ push :
4+ branches : [codex/hermes-blockers-workspace]
5+ permissions :
6+ contents : read
7+ jobs :
8+ snapshot :
9+ runs-on : blacksmith-4vcpu-ubuntu-2404
10+ timeout-minutes : 5
11+ steps :
12+ - uses : actions/checkout@v7
13+ with :
14+ ref : 5e1943d7e4c44d1d76fb032ddc5b2ddb951c965b
15+ persist-credentials : false
16+ - uses : actions/setup-node@v7
17+ with :
18+ node-version : ' 24.x'
19+ - name : Archive pinned source and real Metro fixtures
20+ shell : bash
21+ run : |
22+ set -euo pipefail
23+ root="$RUNNER_TEMP/hermes-blockers"
24+ mkdir -p "$root/source" "$root/benchmark" "$root/modern17"
25+ git archive HEAD | tar -x -C "$root/source"
26+ curl --fail --location --retry 2 https://codeload.github.com/sunnylqm/hbc-diff-benchmark/tar.gz/e6a870a1c26c4b64c7860d7e1aa575707d22ad88 | tar -xz --strip-components=1 -C "$root/benchmark"
27+ archive=$(npm pack hermes-compiler@250829098.0.17 --pack-destination "$RUNNER_TEMP" --silent)
28+ tar -xzf "$RUNNER_TEMP/$archive" --strip-components=1 -C "$root/modern17" package/package.json package/hermesc/linux64-bin/hermesc
29+ tar -czf "$RUNNER_TEMP/hermes-blockers.tgz" -C "$root" .
30+ - uses : actions/upload-artifact@v7
31+ with :
32+ name : hermes-blockers
33+ path : ${{ runner.temp }}/hermes-blockers.tgz
34+ retention-days : 1
35+ if-no-files-found : error
You can’t perform that action at this time.
0 commit comments