This repository has been archived by the owner on Jan 18, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy path.build.yml
60 lines (58 loc) · 1.48 KB
/
.build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
image: debian/bullseye
arch: amd64
secrets:
- 9e3bc7b6-11d3-4f20-85a0-ac35c55b0548
- 698684d9-bdb1-48fa-bc8c-d4795edc367e
environment:
ROSWELL_DIST: https://raw.githubusercontent.com/roswell/roswell/master/scripts/install-for-ci.sh
CI: true
packages:
- bzip2
- curl
- fonts-freefont-otf
- graphviz
- imagemagick
- jq
- latexmk
- libcurl3-gnutls
- lmodern
- make
- python3-pip
- python3.9-full
- s3cmd
- tex-gyre
- texinfo
- texlive-fonts-extra
- texlive-fonts-recommended
- texlive-lang-chinese
- texlive-lang-cjk
- texlive-lang-japanese
- texlive-latex-extra
- texlive-latex-recommended
- texlive-luatex
- texlive-xetex
- xindy
- zlib1g-dev
sources:
- https://git.sr.ht/~rsl/sphinxcontrib-cldomain
shell: false
tasks:
- build: |
curl -L $ROSWELL_DIST | sh
export PATH="$HOME/.roswell/bin:$PATH"
ros -e '(ql:quickload (list "sb-introspect" "unix-opts" "cl-json" "alexandria" "closer-mop" "swank" "fiveam"))'
cd sphinxcontrib-cldomain
./pants package ::
- test: |
export PATH="$HOME/.roswell/bin:$PATH"
cd sphinxcontrib-cldomain
./pants test ::
- docs: |
export PATH="$HOME/.roswell/bin:$HOME/.local/bin:$PATH"
cd sphinxcontrib-cldomain
./pants package ::
pip install ./dist/*.tar.gz
export SOURCEHUT_TOKEN=$(cat ~/.source_hut_token)
./scripts/update_sourcehut_readme.sh
./scripts/build_docs.sh
s3cmd sync doc/build/html/ s3://sphinxcontrib-cldomain/