-
Notifications
You must be signed in to change notification settings - Fork 4
Fix the failing dependency installiation for website buidling #18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 5 commits
aefa9b1
37c7775
601b615
244c1c2
7e3297e
803e117
aa38187
3b88565
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -4,6 +4,9 @@ on: | |||||||||
| push: | ||||||||||
| branches: | ||||||||||
| - main | ||||||||||
| pull_request: | ||||||||||
| branches: | ||||||||||
| - main | ||||||||||
|
|
||||||||||
|
|
||||||||||
| permissions: | ||||||||||
|
|
@@ -21,34 +24,30 @@ jobs: | |||||||||
| pages: write | ||||||||||
|
|
||||||||||
| steps: | ||||||||||
| # Fetch CUDA toolkit using Jimver/cuda-toolkit | ||||||||||
| - name: Fetch CUDA toolkit | ||||||||||
| uses: Jimver/cuda-toolkit@master | ||||||||||
| id: cuda-toolkit | ||||||||||
| with: | ||||||||||
| cuda: '12.8.1' | ||||||||||
| use-local-cache: false | ||||||||||
|
|
||||||||||
| - name: Check nvcc version | ||||||||||
| run: nvcc -V | ||||||||||
|
|
||||||||||
| - uses: actions/checkout@v4 | ||||||||||
|
|
||||||||||
| - name: Set up Python | ||||||||||
| uses: actions/setup-python@v5 | ||||||||||
| uses: actions/setup-python@v6 | ||||||||||
| with: | ||||||||||
| python-version: '3.11' | ||||||||||
| python-version: '3.12' | ||||||||||
|
|
||||||||||
| - name: Install development and distributions version | ||||||||||
| run: | | ||||||||||
| pip install --upgrade pip | ||||||||||
| pip install --upgrade pip pip-compile | ||||||||||
| git submodule update --init --recursive | ||||||||||
| pip install .[docs] | ||||||||||
| pip-compile pyproject.toml --extra docs -o requirements_docs.txt | ||||||||||
| pip install -r requirements_docs.txt | ||||||||||
|
|
||||||||||
| - name: Setup pandoc | ||||||||||
| uses: siacodelabs/setup-pandoc@v1 | ||||||||||
| with: | ||||||||||
| xelatex: true. | ||||||||||
| # - name: Setup pandoc | ||||||||||
| # uses: siacodelabs/setup-pandoc@v1 | ||||||||||
| # with: | ||||||||||
| # xelatex: true | ||||||||||
| - name: Install pandoc | ||||||||||
| uses: pandoc/actions/setup@v1 | ||||||||||
|
|
||||||||||
| - name: Run pandoc | ||||||||||
| run: pandoc --version | ||||||||||
|
|
||||||||||
| # didn't need to change anything here, but had to add sphinx.ext.githubpages | ||||||||||
| # to my conf.py extensions list. that fixes the broken uploads | ||||||||||
|
|
@@ -60,8 +59,11 @@ jobs: | |||||||||
| # still need to build and set the PAT to get a rebuild on the pages job, | ||||||||||
| # apart from that quite clean and nice | ||||||||||
| - name: GitHub Pages Action | ||||||||||
| #if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }} | ||||||||||
| uses: peaceiris/actions-gh-pages@v3 | ||||||||||
| if: | | ||||||||||
| (github.event_name == 'push' && github.ref == 'refs/heads/main') || | ||||||||||
| (github.event.pull_request.merged == true && | ||||||||||
| github.event.pull_request.base.ref == 'main') | ||||||||||
|
||||||||||
| (github.event_name == 'push' && github.ref == 'refs/heads/main') || | |
| (github.event.pull_request.merged == true && | |
| github.event.pull_request.base.ref == 'main') | |
| github.event_name == 'push' && github.ref == 'refs/heads/main' |
Uh oh!
There was an error while loading. Please reload this page.