-
Notifications
You must be signed in to change notification settings - Fork 14
59 lines (55 loc) · 1.39 KB
/
ci.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
56
57
58
59
name: CI
on: [push, pull_request]
jobs:
java:
name: Java ${{ matrix.java }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 17
cache: maven
- name: Build
run: ./mvnw -B --no-transfer-progress -DskipTests package
#javadoc:
# name: Javadoc
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v3
# - uses: actions/setup-java@v3
# with:
# distribution: temurin
# java-version: 17
# - name: Generate javadoc
# run: ./mvnw -B --no-transfer-progress -DskipTests package javadoc:aggregate
docs:
name: Documentation
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: 3.11
- uses: actions/setup-node@v4
with:
node-version: 20
- name: Set up sphinx
run: |
cd docs
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Generate screenshots
run: |
cd docs/capture
npm ci
npm start&
npx wait-on http://127.0.0.1:8080
npm run capture
env:
CI: true
- name: Generate docs
run: |
cd docs
make html