Skip to content

Commit 90b5556

Browse files
committed
Cirrus: Verify Cirrus YML determinism
Fixes #94
1 parent 4600f14 commit 90b5556

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tools/cirrus_build_project.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@ df -h
1515
lscpu
1616
free -m
1717

18+
echo "Verifying Cirrus YML determinism..."
19+
mv .cirrus.yml .cirrus.yml.bak
20+
./tools/cirrus_gen_yml.sh 2>/dev/null
21+
diff .cirrus.yml .cirrus.yml.bak
22+
1823
echo "Installing rbm deps..."
1924
APT_DEPS="libyaml-libyaml-perl libtemplate-perl libio-handle-util-perl libio-all-perl libio-captureoutput-perl libjson-perl libpath-tiny-perl libstring-shellquote-perl libsort-versions-perl libdigest-sha-perl libdata-uuid-perl libdata-dump-perl libfile-copy-recursive-perl libfile-slurp-perl git runc rsync"
2025
apt-get install -y $APT_DEPS || (sleep 15s && apt-get install -y $APT_DEPS)

0 commit comments

Comments
 (0)