changeset 54: |
3acc3526d836 |
parent 53: |
17339e4abac1 |
child 55: |
2e515a33787e |
author: |
ellis <ellis@rwest.io> |
date: |
Wed, 03 Jan 2024 14:56:40 -0500 |
files: |
etc/sbclrc virt/build-ci-worker.sh |
description: |
testing |
1.1--- a/etc/sbclrc Wed Jan 03 13:54:25 2024 -0500
1.2+++ b/etc/sbclrc Wed Jan 03 14:56:40 2024 -0500
1.3@@ -5,6 +5,9 @@
1.4
1.5 ;;; Code:
1.6 (in-package :cl-user)
1.7+
1.8+(require :asdf)
1.9+
1.10 (setq *debug-beginner-help-p* nil
1.11 *print-case* :downcase
1.12 *print-level* 50
2.1--- a/virt/build-ci-worker.sh Wed Jan 03 13:54:25 2024 -0500
2.2+++ b/virt/build-ci-worker.sh Wed Jan 03 14:56:40 2024 -0500
2.3@@ -5,16 +5,18 @@
2.4
2.5 id=$(buildah from alpine-base)
2.6 buildah add $id etc/skel/ /etc/skel/
2.7-buildah add $id etc/sbclrc /etc/sbclrc
2.8 buildah run $id adduser worker -D
2.9 buildah run $id apk add build-base zstd-dev sbcl curl make git linux-headers cargo openssl perl llvm clang
2.10 buildah run $id mkdir /store
2.11 buildah run $id mkdir /stash
2.12+buildah run $id mkdir /usr/share/lisp
2.13+buildah run $id mkdir /usr/local/share/lisp
2.14 buildah config --volume /store $id
2.15 buildah run --net host $id hg clone https://vc.compiler.company/comp/infra
2.16 buildah config --workingdir /infra $id
2.17 buildah run --net host $id sh -c 'make worker -j4'
2.18 buildah run --net host $id sh -c 'scripts/install-cargo-tools.sh'
2.19 buildah run --net host $id sh -c 'make clean'
2.20+buildah add $id etc/sbclrc /etc/sbclrc # add this AFTER building sbcl
2.21 buildah config --workingdir /stash $id
2.22 buildah commit $id ci-worker