File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2323 - name : Checkout repository
2424 uses : actions/checkout@v4
2525
26+ # Free up additional disk space on GitHub runner (~10-15 GB)
27+ - name : Free runner disk space
28+ run : |
29+ sudo rm -rf /usr/share/dotnet /opt/ghc /usr/local/share/boost /usr/share/swift /usr/local/lib/android /opt/hostedtoolcache || true
30+ sudo apt-get clean
31+ df -h
32+
2633 # Set up Docker Buildx for efficient layer caching
2734 - name : Set up Docker Buildx
2835 uses : docker/setup-buildx-action@v3
6471 -e PACKAGE=fennel-node-runtime \
6572 --workdir /build \
6673 paritytech/srtool:1.84.1 /srtool/build
67-
74+
6875 # After the container exits the compiled Wasm lives in the mounted volume
6976 HASH=$(sha256sum runtime/fennel/target/srtool/release/wbuild/fennel-node-runtime/fennel_node_runtime.compact.wasm | awk '{print "0x"$1}')
7077 echo "WASM_HASH=$HASH" >> $GITHUB_ENV
8592 build-args : |
8693 WASM_HASH=${{ env.WASM_HASH }}
8794 cache-from : type=gha
88-
95+ provenance : false
96+
8997 # Create and upload artifact containing image info
9098 - name : Output image info to artifact
9199 run : |
Original file line number Diff line number Diff line change 5858 push : false
5959 load : false # don't export layers to docker engine (saves disk)
6060 cache-from : type=gha
61-
61+
6262 - name : Verify node binary exists in builder stage output
6363 run : echo "Dockerfile syntax & builder stage compilation succeeded."
You can’t perform that action at this time.
0 commit comments