run documentation actions in parallel

This commit is contained in:
Axel Kohlmeyer
2020-10-01 21:56:53 -04:00
parent a83fe46860
commit 6d836d8f30

View File

@ -11,11 +11,10 @@ jobs:
continue-on-error: true
runs-on: ubuntu-latest
container: "lammps/buildenv:fedora32_mingw"
strategy:
matrix:
target: ['html', 'pdf', 'spelling']
steps:
- uses: actions/checkout@master
- name: Generate HTML
run: make -C doc -j 2 html
- name: Generate PDF
run: make -C doc -j 2 pdf
- name: Check Spelling
run: make -C doc -j 2 spelling
- name: Generate ${{ matrix.target }}
run: make -C doc ${{ matrix.target }}