Skip to content

Commit 5948514

Browse files
committed
ci: Add task for building on debian bullseye only
This is similar to the build server setup, so it should help us with catching and debugging issues.
1 parent 41749ba commit 5948514

File tree

1 file changed

+23
-3
lines changed

1 file changed

+23
-3
lines changed

.cirrus.yml

Lines changed: 23 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
container:
22
image: ruby:2.7.4
33

4-
task:
5-
name: website
6-
env:
4+
env:
75
JEKYLL_ENV: production
86
NOKOGIRI_USE_SYSTEM_LIBRARIES: true # speeds up installation of html-proofer
97
RUBYOPT: "-KU -E utf-8:utf-8"
108

9+
task:
10+
name: Bundler build
11+
1112
bootstrap_script: gem install bundler
1213
bundler_cache:
1314
folder: /usr/local/bundle
@@ -17,3 +18,22 @@ task:
1718
populate_script: bundle install
1819

1920
build_and_test_script: make all
21+
22+
task:
23+
name: debian only
24+
container:
25+
image: debian:bullseye
26+
install_script:
27+
- apt update
28+
- >
29+
apt install -y
30+
curl
31+
jekyll
32+
make
33+
ruby
34+
ruby-jekyll-redirect-from
35+
ruby-kramdown-parser-gfm
36+
ruby-html-proofer
37+
build_and_test_script:
38+
- rm Gemfile.lock
39+
- make all

0 commit comments

Comments
 (0)