changelog shortlog graph tags branches files raw help

Mercurial > infra / changeset: testing

changeset 48: 927ac4b908ce
parent 47: 276ac5b5d1fa
child 49: 4e7c81fae2b7
author: ellis <ellis@rwest.io>
date: Wed, 03 Jan 2024 11:39:09 -0500
files: makefile virt/build-ci-worker.sh
description: testing
     1.1--- a/makefile	Tue Jan 02 23:16:44 2024 -0500
     1.2+++ b/makefile	Wed Jan 03 11:39:09 2024 -0500
     1.3@@ -19,6 +19,7 @@
     1.4 SRC:=comp
     1.5 HG_COMMIT:=$(shell hg id -i)
     1.6 
     1.7+worker:rocksdb-install sbcl-install ts-langs-install emacs-install quicklisp-install
     1.8 # init:sbcl rust emacs rocksdb comp virt;
     1.9 # dist/linux dist/rust dist/bundle
    1.10 all:dist/cdn dist/comp dist/lisp dist/rust dist/sbcl dist/rocksdb dist/emacs
    1.11@@ -171,7 +172,7 @@
    1.12 	mkdir -pv $@
    1.13 	$< "$@/std.core"
    1.14 	$< "$@/prelude.core" "(mapc #'ql:quickload \
    1.15-	(list :nlp :rdb :organ :packy :skel :obj :net :parse :pod :dat :log :packy :rt :syn :xdb))"
    1.16+	(list :nlp :rdb :organ :packy :skel :obj :net :parse :pod :dat :log :packy :rt :syn :xdb :doc :vc :rt))"
    1.17 
    1.18 dist/lisp/bin:scripts/sbcl-make-bin.sh comp
    1.19 	$< bin/skel
     2.1--- a/virt/build-ci-worker.sh	Tue Jan 02 23:16:44 2024 -0500
     2.2+++ b/virt/build-ci-worker.sh	Wed Jan 03 11:39:09 2024 -0500
     2.3@@ -5,18 +5,16 @@
     2.4 
     2.5 id=$(buildah from alpine-base)
     2.6 buildah add $id etc/skel /etc/skel
     2.7-buildah run $id adduser alik -D -k /etc/skel
     2.8-buildah run $id adduser demon -D -k /etc/skel
     2.9+buildah run $id adduser worker -D
    2.10 buildah run $id apk add build-base zstd-dev sbcl curl make git linux-headers cargo openssl perl llvm
    2.11-buildah config --workingdir /home/demon $id
    2.12-buildah config --volume /mnt/y $id
    2.13+buildah run $id mkdir /store
    2.14+buildah run $id mkdir /stash
    2.15+buildah config --volume /store $id
    2.16 buildah run --net host $id hg clone https://vc.compiler.company/comp/infra
    2.17-buildah run --net host $id sh -c 'make -C infra rocksdb-install'
    2.18-buildah run --net host $id sh -c 'make -C infra sbcl-install'
    2.19-buildah run --net host $id sh -c 'make -C infra ts-langs-install'
    2.20-buildah run --net host $id sh -c 'make -C infra dist/lisp/fasl'
    2.21-buildah run --net host $id sh -c 'mv infra/dist/lisp/fasl/* /usr/local/lib/sbcl/'
    2.22-buildah run --net host $id sh -c './infra/scripts/install-cargo-tools.sh'
    2.23-buildah run --net host $id sh -c 'make -C infra clean'
    2.24-buildah config --entrypoint '["/usr/local/bin/sbcl", "--core", "/usr/local/lib/sbcl/prelude.fasl"]' $id
    2.25+buildah config --workingdir  $id infra
    2.26+buildah run --net host $id sh -c 'make worker'
    2.27+buildah run --net host $id sh -c 'scripts/install-cargo-tools.sh'
    2.28+buildah run --net host $id sh -c 'make clean'
    2.29+buildah config --entrypoint '["/usr/local/bin/sbcl"]' $id
    2.30+buildah config --workingdir /stash
    2.31 buildah commit $id ci-worker