-
Notifications
You must be signed in to change notification settings - Fork 2
34 lines (34 loc) · 945 Bytes
/
ci.yaml
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
on:
- push
- pull_request
jobs:
test:
name: Web site
strategy:
fail-fast: false
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: sudo apt install ikiwiki libtext-multimarkdown-perl libimage-magick-perl
- run: mkdir ../html
- run: rm -f README.md CONTRIBUTING.md # don't build
- run: ./bin/build-site . ../html
- run: pip install html5validator
- run: html5validator --root ../html
docs:
name: Annual reports
runs-on: ubuntu-latest
defaults:
run:
working-directory: corporate/annual-reports
steps:
- uses: actions/checkout@v2
- run: sudo apt install texlive-latex-base texlive-latex-extra texlive-fonts-recommended
- run: rm *.pdf
- run: make all
checks:
name: Checks
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: find -name "*.yaml" -exec yamllint -s {} \;