2020 # These values were produced by two cache-disabled local builds. The job
2121 # checks out this exact source revision so the embedded Git revision is also
2222 # identical. Refresh all four values together when updating the baseline.
23- BASELINE_REVISION : ba69541abdf1520ee43aaea13202260b2bb24362
24- SOURCE_DATE_EPOCH : ' 1784815731 '
25- BARE_SHA256 : fe3bec292b08d8004ad1cc02ec0db6a651b3f6dfb4d402374ce8c257c26092f0
26- UKI_SHA256 : 60dd994be45adb8135fb045d31cd8fed71e4674f1f95565625037b25757a0bff
23+ BASELINE_REVISION : 0b80830d1efd024a2511176d083134b846979628
24+ SOURCE_DATE_EPOCH : ' 1784823805 '
25+ BARE_SHA256 : 9b55932f086d6f836de32ed8420ebb74f464bf118758f8392e17dabb7a6a6b03
26+ UKI_SHA256 : 5ca2d94c4e2ba39344fbca3c88234967a3e237cb1d104d1f5dea2f1d01ba8959
2727
2828jobs :
2929 cross-host :
9797 - name : Build without component cache
9898 env :
9999 # ubuntu-latest currently provides four vCPUs and 16 GiB of RAM.
100- # Two compile jobs keep peak kernel/OVMF memory safely below that .
101- JOBS : ' 2 '
100+ # Do not oversubscribe either the CPU or compiler memory .
101+ JOBS : ' 4 '
102102 run : |
103103 test -z "${DSTACK_DEV_CACHE_DIR:-}"
104104 # GitHub-hosted Ubuntu runners restrict unprivileged user namespaces.
@@ -116,10 +116,13 @@ jobs:
116116 "DSTACK_MR_BIN=$DSTACK_MR_BIN" \
117117 "JOBS=$JOBS" \
118118 ./os/mkosi/build.sh image "$RUNNER_TEMP/mkosi-cross-host"
119+ sudo chown -R "$USER:$USER" "$RUNNER_TEMP/mkosi-cross-host/out"
119120
120121 - name : Compare with local byte-for-byte baseline
121122 run : |
122123 cd "$RUNNER_TEMP/mkosi-cross-host/out/prod"
124+ tar -xOf dstack-0.6.0.tar.gz dstack-0.6.0/sha256sum.txt
125+ tar -xOf dstack-0.6.0.tar.gz dstack-0.6.0/metadata.json
123126 sha256sum dstack-0.6.0.tar.gz dstack-0.6.0-uki.tar.gz \
124127 | tee cross-host.sha256
125128 printf '%s %s\n' "$BARE_SHA256" dstack-0.6.0.tar.gz \
0 commit comments