-
Notifications
You must be signed in to change notification settings - Fork 29
58 lines (52 loc) · 1.67 KB
/
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
# Quickstart for GitHub Actions
# https://docs.github.com/en/actions/quickstart
name: Strong CI
on: [ push, pull_request, workflow_dispatch ]
jobs:
test:
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#choosing-github-hosted-runners
runs-on: ${{ matrix.os }}
timeout-minutes: 20
name: Strong CI on OS ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-latest ]
fail-fast: false
max-parallel: 64
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Setup Java
uses: actions/setup-java@v4
with:
# https://github.com/actions/setup-java?tab=readme-ov-file#install-multiple-jdks
java-version: |
8
11
17
21
23
distribution: zulu
cache: maven
- name: Run integration test
run: scripts/integration_test
- name: Run integration of demos
run: demos/scripts/integration_test
- name: Remove self maven install files
run: rm -rf $HOME/.m2/repository/io/foldright/cffu*
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v4
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
- name: Update TOC of markdown files contained TOC
# https://github.com/thlorenz/doctoc
run: |
npm install -g doctoc
npm list -g --depth=0
scripts/update_md_toc.sh
# https://remarkablemark.org/blog/2017/10/12/check-git-dirty/
- name: Check git dirty
run: |
git status --short
[ -z "$(git status --short)" ]