Skip to content

Commit e6aebcf

Browse files
committed
fake bins to save more time
1 parent f5efbfe commit e6aebcf

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

.github/workflows/check-bittensor-e2e-tests.yml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ jobs:
194194
- runner: [self-hosted, type-ccx33]
195195
triple: x86_64-unknown-linux-gnu
196196
arch: amd64
197-
runtime: ["fast-runtime", "non-fast-runtime"]
197+
runtime: ["fast-runtime"]
198198

199199
runs-on: ${{ matrix.platform.runner }}
200200

@@ -285,6 +285,20 @@ jobs:
285285
path: build/
286286
merge-multiple: true
287287

288+
# make fake artifacts for non-fast-runtime bc of `install_prebuilt_binaries.sh` requires (save time)
289+
- name: Copy fast-runtime artifacts to non-fast-runtime (hack for e2e tests)
290+
run: |
291+
TRIPLE="x86_64-unknown-linux-gnu"
292+
# Copy binary
293+
mkdir -p build/ci_target/non-fast-runtime/${TRIPLE}/release/
294+
cp -v build/ci_target/fast-runtime/${TRIPLE}/release/node-subtensor \
295+
build/ci_target/non-fast-runtime/${TRIPLE}/release/node-subtensor
296+
# Copy WASM
297+
mkdir -p build/ci_target/non-fast-runtime/${TRIPLE}/release/wbuild/node-subtensor-runtime/
298+
cp -v build/ci_target/fast-runtime/${TRIPLE}/release/wbuild/node-subtensor-runtime/node_subtensor_runtime.compact.compressed.wasm \
299+
build/ci_target/non-fast-runtime/${TRIPLE}/release/wbuild/node-subtensor-runtime/node_subtensor_runtime.compact.compressed.wasm
300+
echo "✅ Copied fast-runtime artifacts to non-fast-runtime"
301+
288302
- name: Move Docker data-root to /mnt/data
289303
run: |
290304
sudo systemctl stop docker

0 commit comments

Comments
 (0)