-
Notifications
You must be signed in to change notification settings - Fork 478
/
.cirrus.yml
55 lines (49 loc) · 1.14 KB
/
.cirrus.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
container:
image: ruby:3.1.2
env:
JEKYLL_ENV: production
NOKOGIRI_USE_SYSTEM_LIBRARIES: true # speeds up installation of html-proofer
RUBYOPT: "-KU -E utf-8:utf-8"
task:
name: Bundler build
bootstrap_script: gem install bundler
bundler_cache:
folder: /usr/local/bundle
fingerprint_script:
- echo $RUBY_VERSION
- cat Gemfile.lock
populate_script: bundle install
build_and_test_script: make all
task:
name: debian only
container:
image: debian:bookworm
install_script:
- apt update
- >
apt install -y
curl
jekyll
make
ruby
ruby-jekyll-redirect-from
ruby-kramdown-parser-gfm
ruby-html-proofer
build_and_test_script:
- rm Gemfile.lock
- make all
task:
name: verify commits
only_if: $CIRRUS_BRANCH == 'master'
container:
image: debian:latest
install_script:
- apt update
- >
apt install -y
git
gnupg
verify_script:
- mapfile -t KEYS < contrib/verify-commits/trusted-keys
- gpg --keyserver hkps://keys.openpgp.org --recv-keys "${KEYS[@]}"
- ./contrib/verify-commits/verify-commits.sh