File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22#
33# SPDX-License-Identifier: Apache-2.0
44
5- name : mkosi cross-host reproducibility
5+ name : Verify mkosi reproducibility
66
77on :
88 workflow_dispatch :
9- pull_request :
10- paths :
11- - ' .github/workflows/mkosi-reproducibility.yml'
12- - ' os/mkosi/**'
13- - ' os/image/**'
14- - ' os/common/rootfs/**'
15- - ' dstack/**'
169
1710concurrency :
18- group : mkosi-repro -${{ github.event.pull_request.number || github.ref }}
11+ group : mkosi-build -${{ github.ref }}
1912 cancel-in-progress : true
2013
2114env :
3023jobs :
3124 cross-host :
3225 name : Compare with local mkosi baseline
33- runs-on : yocto-builder
34- timeout-minutes : 90
26+ runs-on : ubuntu-latest
27+ timeout-minutes : 360
3528 permissions :
3629 contents : read
3730
3831 steps :
32+ # GitHub-hosted runners have enough CPU and memory for this build, but
33+ # their preinstalled SDKs consume most of the available disk. Remove only
34+ # those unused SDKs before checkout; the OS build itself remains hermetic.
35+ - name : Reclaim runner disk space
36+ run : |
37+ sudo rm -rf \
38+ /opt/ghc \
39+ /opt/hostedtoolcache/CodeQL \
40+ /usr/local/.ghcup \
41+ /usr/local/lib/android \
42+ /usr/local/share/boost \
43+ /usr/share/dotnet
44+ df -h /
45+
3946 - name : Checkout locally verified revision
4047 uses : actions/checkout@v5
4148 with :
7885
7986 - name : Build without component cache
8087 env :
81- JOBS : ' 64'
88+ # ubuntu-latest currently provides four vCPUs and 16 GiB of RAM.
89+ # Two compile jobs keep peak kernel/OVMF memory safely below that.
90+ JOBS : ' 2'
8291 run : |
8392 test -z "${DSTACK_DEV_CACHE_DIR:-}"
8493 ./os/mkosi/build.sh image "$RUNNER_TEMP/mkosi-cross-host"
You can’t perform that action at this time.
0 commit comments