-
Notifications
You must be signed in to change notification settings - Fork 534
95 lines (81 loc) · 2.09 KB
/
Copy pathci.yml
File metadata and controls
95 lines (81 loc) · 2.09 KB
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
name: ci
on:
push:
pull_request:
env:
JEKYLL_ENV: production
NOKOGIRI_USE_SYSTEM_LIBRARIES: true # speeds up installation of html-proofer
RUBYOPT: "-KU -E utf-8:utf-8"
jobs:
check-maintenance-table:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- run: ./contrib/check-maintenance-table.sh
bundler:
runs-on: ubuntu-latest
container:
image: ruby:3.1.2
steps:
- uses: actions/checkout@v6
- name: Install bundler
run: gem install bundler
- name: Install gems
run: bundle install
- name: Build and test
run: make all
debian-only:
runs-on: ubuntu-latest
container:
image: debian:bookworm
steps:
- uses: actions/checkout@v6
- name: Install packages
run: |
apt-get update
apt-get install -y \
curl \
jekyll \
make \
ruby \
ruby-jekyll-redirect-from \
ruby-kramdown-parser-gfm \
ruby-html-proofer
- name: Build and test
run: |
rm Gemfile.lock
make all
doc-gen:
runs-on: ubuntu-latest
container:
image: debian:bookworm
steps:
- uses: actions/checkout@v6
- name: Install packages
run: |
apt-get update
apt-get install -y capnproto golang
- name: Vet and build doc generator
working-directory: contrib/doc-gen
run: |
go vet ./...
go build ./...
verify-commits:
runs-on: ubuntu-latest
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
steps:
- uses: actions/checkout@v6
with:
fetch-depth: 0
- name: Install packages
run: |
sudo apt-get update
sudo apt-get install -y \
git \
gnupg
- name: Verify commits
shell: bash
run: |
mapfile -t KEYS < contrib/verify-commits/trusted-keys
gpg --keyserver hkps://keys.openpgp.org --recv-keys "${KEYS[@]}"
./contrib/verify-commits/verify-commits.sh