diff options
| author | 2025-10-19 10:22:46 +0300 | |
|---|---|---|
| committer | 2025-10-19 11:37:39 +0300 | |
| commit | 9796e0d551b69dce90ba88a51dc49c06ee86f3e0 (patch) | |
| tree | 91ae5888343531e85931f9e5c2196040ad3777a6 | |
| parent | Make the R/W locks somewhat more fair (diff) | |
| download | ukkoclot-9796e0d551b69dce90ba88a51dc49c06ee86f3e0.tar.gz ukkoclot-9796e0d551b69dce90ba88a51dc49c06ee86f3e0.tar.xz ukkoclot-9796e0d551b69dce90ba88a51dc49c06ee86f3e0.zip | |
Add an alpine build script for srht
| -rw-r--r-- | .builds/alpine.yml | 28 | ||||
| -rw-r--r-- | REUSE.toml | 2 |
2 files changed, 29 insertions, 1 deletions
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 @@ | |||
| 1 | image: alpine/latest | ||
| 2 | packages: | ||
| 3 | - pre-commit | ||
| 4 | - sbcl | ||
| 5 | sources: | ||
| 6 | - https://github.com/ocicl/ocicl.git#v2.8.3 | ||
| 7 | triggers: | ||
| 8 | - action: email | ||
| 9 | condition: always | ||
| 10 | to: Ukko <perkontevs+srht@gmail.com> | ||
| 11 | tasks: | ||
| 12 | - setup-buildenv: | | ||
| 13 | echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.buildenv | ||
| 14 | - build-ocicl: | | ||
| 15 | cd ocicl | ||
| 16 | sbcl --load setup.lisp | ||
| 17 | ocicl setup | tee ~/.sbclrc | ||
| 18 | - ocicl-install: | | ||
| 19 | cd ukkoclot | ||
| 20 | ocicl install | ||
| 21 | - pre-commit: | | ||
| 22 | cd ukkoclot | ||
| 23 | pre-commit run -a | ||
| 24 | git diff --exit-code | ||
| 25 | - run-tests: | | ||
| 26 | cd ukkoclot | ||
| 27 | ./run-tests.sh | ||
| 28 | git diff --exit-code | ||
| @@ -3,7 +3,7 @@ version = 1 | |||
| 3 | 3 | ||
| 4 | [[annotations]] | 4 | [[annotations]] |
| 5 | label = "Miscellaneous little shits I put under CC0" | 5 | label = "Miscellaneous little shits I put under CC0" |
| 6 | path = [".gitignore", ".ocicl-lint.conf", ".pre-commit-config.yaml", "config.default.lisp", "ocicl.csv"] | 6 | path = [".builds/alpine.yml", ".gitignore", ".ocicl-lint.conf", ".pre-commit-config.yaml", "config.default.lisp", "ocicl.csv"] |
| 7 | SPDX-License-Identifier = "CC0-1.0" | 7 | SPDX-License-Identifier = "CC0-1.0" |
| 8 | SPDX-FileCopyrightText = " 2025 Uko Kokņevičs <perkontevs@gmail.com>" | 8 | SPDX-FileCopyrightText = " 2025 Uko Kokņevičs <perkontevs@gmail.com>" |
| 9 | 9 | ||