Write every model as a recipe: one body per class, AOT-compilable, DC and DC-multi-period included (breaking: form is a type, 0.4.0) #193
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Documentation | |
| on: | |
| push: | |
| branches: | |
| - main # update to match your development branch (master, main, dev, trunk, ...) | |
| tags: '*' | |
| pull_request: | |
| # The docs build shares the self-hosted GPU runners with CI, so drop superseded | |
| # pull-request builds instead of queueing them behind the test job. | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: ${{ github.event_name == 'pull_request' }} | |
| jobs: | |
| build: | |
| runs-on: | |
| labels: cuda | |
| strategy: | |
| matrix: | |
| julia-version: ['1'] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: julia-actions/install-juliaup@v2 | |
| with: | |
| channel: ${{ matrix.julia-version }} | |
| - name: Instantiate the dependencies | |
| shell: julia --project=docs/ --color=yes {0} | |
| run: | | |
| using Pkg; | |
| Pkg.Registry.update(); | |
| Pkg.instantiate(); | |
| - name: Build and deploy documentation | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # If authenticating with GitHub Actions token | |
| DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }} # If authenticating with SSH deploy key | |
| run: julia --project=docs/ --color=yes docs/make.jl |