From 9796e0d551b69dce90ba88a51dc49c06ee86f3e0 Mon Sep 17 00:00:00 2001 From: Uko Kokņevičs Date: Sun, 19 Oct 2025 10:22:46 +0300 Subject: Add an alpine build script for srht --- .builds/alpine.yml | 28 ++++++++++++++++++++++++++++ REUSE.toml | 2 +- 2 files changed, 29 insertions(+), 1 deletion(-) create mode 100644 .builds/alpine.yml diff --git a/.builds/alpine.yml b/.builds/alpine.yml new file mode 100644 index 0000000..4bc97c7 --- /dev/null +++ b/.builds/alpine.yml @@ -0,0 +1,28 @@ +image: alpine/latest +packages: +- pre-commit +- sbcl +sources: +- https://github.com/ocicl/ocicl.git#v2.8.3 +triggers: +- action: email + condition: always + to: Ukko +tasks: +- setup-buildenv: | + echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.buildenv +- build-ocicl: | + cd ocicl + sbcl --load setup.lisp + ocicl setup | tee ~/.sbclrc +- ocicl-install: | + cd ukkoclot + ocicl install +- pre-commit: | + cd ukkoclot + pre-commit run -a + git diff --exit-code +- run-tests: | + cd ukkoclot + ./run-tests.sh + git diff --exit-code diff --git a/REUSE.toml b/REUSE.toml index 9d2b746..e66b92b 100644 --- a/REUSE.toml +++ b/REUSE.toml @@ -3,7 +3,7 @@ version = 1 [[annotations]] label = "Miscellaneous little shits I put under CC0" - path = [".gitignore", ".ocicl-lint.conf", ".pre-commit-config.yaml", "config.default.lisp", "ocicl.csv"] + path = [".builds/alpine.yml", ".gitignore", ".ocicl-lint.conf", ".pre-commit-config.yaml", "config.default.lisp", "ocicl.csv"] SPDX-License-Identifier = "CC0-1.0" SPDX-FileCopyrightText = " 2025 Uko Kokņevičs " -- cgit v1.2.3