Skip to content

Commit 30669c5

Browse files
committed
Steal FLT's blueprint CI
1 parent 94d8fe0 commit 30669c5

File tree

3 files changed

+109
-116
lines changed

3 files changed

+109
-116
lines changed

.github/workflows/push.yml

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -71,17 +71,18 @@ jobs:
7171
- name: Build blueprint and copy to `website/blueprint`
7272
uses: xu-cheng/texlive-action@v2
7373
with:
74-
scheme: full
74+
docker_image: ghcr.io/xu-cheng/texlive-full:20231201
7575
run: |
76-
apk update
77-
apk add --update make py3-pip git pkgconfig graphviz graphviz-dev gcc musl-dev
78-
git config --global --add safe.directory $GITHUB_WORKSPACE
79-
git config --global --add safe.directory `pwd`
80-
python3 -m pip install --upgrade pip requests wheel
81-
python3 -m pip install pygraphviz --global-option=build_ext --global-option="-L/usr/lib/graphviz/" --global-option="-R/usr/lib/graphviz/"
82-
pip install -r blueprint/requirements.txt
83-
python3 -m pip install invoke
84-
inv all
76+
python3 -m venv env
77+
source env/bin/activate
78+
pip install --upgrade pip requests wheel
79+
pip install pygraphviz --global-option=build_ext --global-option="-L/usr/lib/graphviz/" --global-option="-R/usr/lib/graphviz/"
80+
pip install leanblueprint
81+
leanblueprint pdf
82+
mkdir -p docs
83+
cp blueprint/print/print.pdf website/blueprint.pdf
84+
leanblueprint web
85+
cp -r blueprint/web website/blueprint
8586
8687
- name: Copy documentation to `website/docs`
8788
run: mv docs/build/* website/docs
@@ -90,7 +91,7 @@ jobs:
9091
uses: ruby/setup-ruby@v1
9192
with:
9293
working-directory: website
93-
ruby-version: "3.0" # Not needed with a .ruby-version file
94+
ruby-version: "3.1" # Not needed with a .ruby-version file
9495
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
9596

9697
- name: Bundle website

website/Gemfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,7 @@ gem "wdm", "~> 0.1.1", :platforms => [:mingw, :x64_mingw, :mswin]
2222
gem "http_parser.rb", "~> 0.6.0", :platforms => [:jruby]
2323

2424
# Used for locally serving the website.
25-
gem "webrick", "~> 1.7"
25+
gem "webrick", "~> 1.8"
26+
27+
# See https://github.com/ffi/ffi/issues/1103
28+
gem "ffi", "< 1.17.0"

website/Gemfile.lock

Lines changed: 93 additions & 104 deletions
Original file line numberDiff line numberDiff line change
@@ -1,66 +1,55 @@
11
GEM
22
remote: https://rubygems.org/
33
specs:
4-
activesupport (6.0.5)
4+
activesupport (7.1.3.4)
5+
base64
6+
bigdecimal
57
concurrent-ruby (~> 1.0, >= 1.0.2)
6-
i18n (>= 0.7, < 2)
7-
minitest (~> 5.1)
8-
tzinfo (~> 1.1)
9-
zeitwerk (~> 2.2, >= 2.2.2)
10-
addressable (2.8.0)
11-
public_suffix (>= 2.0.2, < 5.0)
8+
connection_pool (>= 2.2.5)
9+
drb
10+
i18n (>= 1.6, < 2)
11+
minitest (>= 5.1)
12+
mutex_m
13+
tzinfo (~> 2.0)
14+
addressable (2.8.6)
15+
public_suffix (>= 2.0.2, < 6.0)
16+
base64 (0.2.0)
17+
bigdecimal (3.1.8)
1218
coffee-script (2.4.1)
1319
coffee-script-source
1420
execjs
15-
coffee-script-source (1.11.1)
21+
coffee-script-source (1.12.2)
1622
colorator (1.1.0)
17-
commonmarker (0.23.4)
18-
concurrent-ruby (1.1.10)
19-
dnsruby (1.61.9)
20-
simpleidn (~> 0.1)
23+
commonmarker (0.23.10)
24+
concurrent-ruby (1.3.3)
25+
connection_pool (2.4.1)
26+
dnsruby (1.72.1)
27+
simpleidn (~> 0.2.1)
28+
drb (2.2.1)
2129
em-websocket (0.5.3)
2230
eventmachine (>= 0.12.9)
2331
http_parser.rb (~> 0)
24-
ethon (0.15.0)
32+
ethon (0.16.0)
2533
ffi (>= 1.15.0)
2634
eventmachine (1.2.7)
27-
execjs (2.8.1)
28-
faraday (1.10.0)
29-
faraday-em_http (~> 1.0)
30-
faraday-em_synchrony (~> 1.0)
31-
faraday-excon (~> 1.1)
32-
faraday-httpclient (~> 1.0)
33-
faraday-multipart (~> 1.0)
34-
faraday-net_http (~> 1.0)
35-
faraday-net_http_persistent (~> 1.0)
36-
faraday-patron (~> 1.0)
37-
faraday-rack (~> 1.0)
38-
faraday-retry (~> 1.0)
39-
ruby2_keywords (>= 0.0.4)
40-
faraday-em_http (1.0.0)
41-
faraday-em_synchrony (1.0.0)
42-
faraday-excon (1.1.0)
43-
faraday-httpclient (1.0.1)
44-
faraday-multipart (1.0.3)
45-
multipart-post (>= 1.2, < 3)
46-
faraday-net_http (1.0.1)
47-
faraday-net_http_persistent (1.2.0)
48-
faraday-patron (1.0.0)
49-
faraday-rack (1.0.0)
50-
faraday-retry (1.0.3)
51-
ffi (1.15.5)
35+
execjs (2.9.1)
36+
faraday (2.9.2)
37+
faraday-net_http (>= 2.0, < 3.2)
38+
faraday-net_http (3.1.0)
39+
net-http
40+
ffi (1.16.3)
5241
forwardable-extended (2.6.0)
53-
gemoji (3.0.1)
54-
github-pages (226)
55-
github-pages-health-check (= 1.17.9)
56-
jekyll (= 3.9.2)
57-
jekyll-avatar (= 0.7.0)
58-
jekyll-coffeescript (= 1.1.1)
59-
jekyll-commonmark-ghpages (= 0.2.0)
60-
jekyll-default-layout (= 0.1.4)
61-
jekyll-feed (= 0.15.1)
42+
gemoji (4.1.0)
43+
github-pages (231)
44+
github-pages-health-check (= 1.18.2)
45+
jekyll (= 3.9.5)
46+
jekyll-avatar (= 0.8.0)
47+
jekyll-coffeescript (= 1.2.2)
48+
jekyll-commonmark-ghpages (= 0.4.0)
49+
jekyll-default-layout (= 0.1.5)
50+
jekyll-feed (= 0.17.0)
6251
jekyll-gist (= 1.5.0)
63-
jekyll-github-metadata (= 2.13.0)
52+
jekyll-github-metadata (= 2.16.1)
6453
jekyll-include-cache (= 0.2.1)
6554
jekyll-mentions (= 1.6.0)
6655
jekyll-optional-front-matter (= 0.3.2)
@@ -87,32 +76,32 @@ GEM
8776
jekyll-theme-tactile (= 0.2.0)
8877
jekyll-theme-time-machine (= 0.2.0)
8978
jekyll-titles-from-headings (= 0.5.3)
90-
jemoji (= 0.12.0)
91-
kramdown (= 2.3.2)
79+
jemoji (= 0.13.0)
80+
kramdown (= 2.4.0)
9281
kramdown-parser-gfm (= 1.1.0)
93-
liquid (= 4.0.3)
82+
liquid (= 4.0.4)
9483
mercenary (~> 0.3)
9584
minima (= 2.5.1)
96-
nokogiri (>= 1.13.4, < 2.0)
97-
rouge (= 3.26.0)
85+
nokogiri (>= 1.13.6, < 2.0)
86+
rouge (= 3.30.0)
9887
terminal-table (~> 1.4)
99-
github-pages-health-check (1.17.9)
88+
github-pages-health-check (1.18.2)
10089
addressable (~> 2.3)
10190
dnsruby (~> 1.60)
102-
octokit (~> 4.0)
103-
public_suffix (>= 3.0, < 5.0)
91+
octokit (>= 4, < 8)
92+
public_suffix (>= 3.0, < 6.0)
10493
typhoeus (~> 1.3)
105-
html-pipeline (2.14.1)
94+
html-pipeline (2.14.3)
10695
activesupport (>= 2)
10796
nokogiri (>= 1.4)
10897
http_parser.rb (0.8.0)
109-
i18n (0.9.5)
98+
i18n (1.14.5)
11099
concurrent-ruby (~> 1.0)
111-
jekyll (3.9.2)
100+
jekyll (3.9.5)
112101
addressable (~> 2.4)
113102
colorator (~> 1.0)
114103
em-websocket (~> 0.5)
115-
i18n (~> 0.7)
104+
i18n (>= 0.7, < 2)
116105
jekyll-sass-converter (~> 1.0)
117106
jekyll-watch (~> 2.0)
118107
kramdown (>= 1.17, < 3)
@@ -121,27 +110,27 @@ GEM
121110
pathutil (~> 0.9)
122111
rouge (>= 1.7, < 4)
123112
safe_yaml (~> 1.0)
124-
jekyll-avatar (0.7.0)
113+
jekyll-avatar (0.8.0)
125114
jekyll (>= 3.0, < 5.0)
126-
jekyll-coffeescript (1.1.1)
115+
jekyll-coffeescript (1.2.2)
127116
coffee-script (~> 2.2)
128-
coffee-script-source (~> 1.11.1)
117+
coffee-script-source (~> 1.12)
129118
jekyll-commonmark (1.4.0)
130119
commonmarker (~> 0.22)
131-
jekyll-commonmark-ghpages (0.2.0)
132-
commonmarker (~> 0.23.4)
120+
jekyll-commonmark-ghpages (0.4.0)
121+
commonmarker (~> 0.23.7)
133122
jekyll (~> 3.9.0)
134123
jekyll-commonmark (~> 1.4.0)
135-
rouge (>= 2.0, < 4.0)
136-
jekyll-default-layout (0.1.4)
137-
jekyll (~> 3.0)
138-
jekyll-feed (0.15.1)
124+
rouge (>= 2.0, < 5.0)
125+
jekyll-default-layout (0.1.5)
126+
jekyll (>= 3.0, < 5.0)
127+
jekyll-feed (0.17.0)
139128
jekyll (>= 3.7, < 5.0)
140129
jekyll-gist (1.5.0)
141130
octokit (~> 4.2)
142-
jekyll-github-metadata (2.13.0)
131+
jekyll-github-metadata (2.16.1)
143132
jekyll (>= 3.4, < 5.0)
144-
octokit (~> 4.0, != 4.4.0)
133+
octokit (>= 4, < 7, != 4.4.0)
145134
jekyll-include-cache (0.2.1)
146135
jekyll (>= 3.7, < 5.0)
147136
jekyll-mentions (1.6.0)
@@ -212,76 +201,76 @@ GEM
212201
jekyll (>= 3.3, < 5.0)
213202
jekyll-watch (2.2.1)
214203
listen (~> 3.0)
215-
jemoji (0.12.0)
216-
gemoji (~> 3.0)
204+
jemoji (0.13.0)
205+
gemoji (>= 3, < 5)
217206
html-pipeline (~> 2.2)
218207
jekyll (>= 3.0, < 5.0)
219-
kramdown (2.3.2)
208+
kramdown (2.4.0)
220209
rexml
221210
kramdown-parser-gfm (1.1.0)
222211
kramdown (~> 2.0)
223-
liquid (4.0.3)
224-
listen (3.7.1)
212+
liquid (4.0.4)
213+
listen (3.9.0)
225214
rb-fsevent (~> 0.10, >= 0.10.3)
226215
rb-inotify (~> 0.9, >= 0.9.10)
227216
mercenary (0.3.6)
228217
minima (2.5.1)
229218
jekyll (>= 3.5, < 5.0)
230219
jekyll-feed (~> 0.9)
231220
jekyll-seo-tag (~> 2.1)
232-
minitest (5.15.0)
233-
multipart-post (2.1.1)
234-
nokogiri (1.13.6-x86_64-linux)
221+
minitest (5.23.1)
222+
mutex_m (0.2.0)
223+
net-http (0.4.1)
224+
uri
225+
nokogiri (1.18.3-arm64-darwin)
235226
racc (~> 1.4)
236-
octokit (4.22.0)
237-
faraday (>= 0.9)
238-
sawyer (~> 0.8.0, >= 0.5.3)
227+
nokogiri (1.18.3-x86_64-linux-gnu)
228+
racc (~> 1.4)
229+
octokit (4.25.1)
230+
faraday (>= 1, < 3)
231+
sawyer (~> 0.9)
239232
pathutil (0.16.2)
240233
forwardable-extended (~> 2.6)
241-
public_suffix (4.0.7)
242-
racc (1.6.0)
243-
rb-fsevent (0.11.1)
244-
rb-inotify (0.10.1)
234+
public_suffix (5.1.1)
235+
racc (1.8.1)
236+
rb-fsevent (0.11.2)
237+
rb-inotify (0.11.1)
245238
ffi (~> 1.0)
246-
rexml (3.2.5)
247-
rouge (3.26.0)
248-
ruby2_keywords (0.0.5)
239+
rexml (3.3.9)
240+
rouge (3.30.0)
249241
rubyzip (2.3.2)
250242
safe_yaml (1.0.5)
251243
sass (3.7.4)
252244
sass-listen (~> 4.0.0)
253245
sass-listen (4.0.0)
254246
rb-fsevent (~> 0.9, >= 0.9.4)
255247
rb-inotify (~> 0.9, >= 0.9.7)
256-
sawyer (0.8.2)
248+
sawyer (0.9.2)
257249
addressable (>= 2.3.5)
258-
faraday (> 0.8, < 2.0)
259-
simpleidn (0.2.1)
260-
unf (~> 0.1.4)
250+
faraday (>= 0.17.3, < 3)
251+
simpleidn (0.2.3)
261252
terminal-table (1.8.0)
262253
unicode-display_width (~> 1.1, >= 1.1.1)
263-
thread_safe (0.3.6)
264-
typhoeus (1.4.0)
254+
typhoeus (1.4.1)
265255
ethon (>= 0.9.0)
266-
tzinfo (1.2.9)
267-
thread_safe (~> 0.1)
268-
unf (0.1.4)
269-
unf_ext
270-
unf_ext (0.0.8.1)
256+
tzinfo (2.0.6)
257+
concurrent-ruby (~> 1.0)
271258
unicode-display_width (1.8.0)
272-
webrick (1.7.0)
273-
zeitwerk (2.5.4)
259+
uri (0.13.2)
260+
webrick (1.8.2)
274261

275262
PLATFORMS
263+
arm64-darwin-23
276264
x86_64-linux
277265

278266
DEPENDENCIES
267+
ffi (< 1.17.0)
279268
github-pages
280269
http_parser.rb (~> 0.6.0)
281270
tzinfo (~> 1.2)
282271
tzinfo-data
283272
wdm (~> 0.1.1)
284-
webrick (~> 1.7)
273+
webrick (~> 1.8)
285274

286275
BUNDLED WITH
287-
2.3.14
276+
2.5.11

0 commit comments

Comments
 (0)