Skip to content

Commit

Permalink
ci: add workflow that builds documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
ligurio committed Jul 5, 2024
1 parent f997ef3 commit 2f49445
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,24 @@ jobs:

- name: Run static analysis
run: make check

build-doc:
if: |
github.event_name == 'push' ||
github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name != github.repository
strategy:
fail-fast: false
runs-on: [ubuntu-latest]
steps:
- uses: actions/checkout@v3

- name: Setup luarocks
run: sudo apt install -y luarocks

- name: Setup dependencies
run: make deps

- run: echo $(luarocks path --lr-bin) >> $GITHUB_PATH

- name: Build documentation
run: make doc

0 comments on commit 2f49445

Please sign in to comment.