run documentation actions in parallel
This commit is contained in:
11
.github/workflows/documentation.yml
vendored
11
.github/workflows/documentation.yml
vendored
@ -11,11 +11,10 @@ jobs:
|
|||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container: "lammps/buildenv:fedora32_mingw"
|
container: "lammps/buildenv:fedora32_mingw"
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
target: ['html', 'pdf', 'spelling']
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@master
|
- uses: actions/checkout@master
|
||||||
- name: Generate HTML
|
- name: Generate ${{ matrix.target }}
|
||||||
run: make -C doc -j 2 html
|
run: make -C doc ${{ matrix.target }}
|
||||||
- name: Generate PDF
|
|
||||||
run: make -C doc -j 2 pdf
|
|
||||||
- name: Check Spelling
|
|
||||||
run: make -C doc -j 2 spelling
|
|
||||||
|
|||||||
Reference in New Issue
Block a user