Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/actions/setup-environment/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ runs:
steps:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
if: hashFiles('/etc/buildkit/buildkitd.toml') != ''
with:
buildkitd-config: /etc/buildkit/buildkitd.toml
- name: Install git and cmake
Expand Down Expand Up @@ -47,6 +48,7 @@ runs:

- name: Setup proxy cache
uses: nv-gha-runners/setup-proxy-cache@main
if: hashFiles('/etc/buildkit/buildkitd.toml') != ''

- name: Install Tilus
id: install-tilus # Preserve the ID for output
Expand Down
48 changes: 48 additions & 0 deletions .github/workflows/deploy-docs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
name: Deploy Docs

on:
push:
branches: [main]

concurrency:
group: ${{ github.workflow }}-${{ github.sha }}
cancel-in-progress: true

jobs:
build:
if: github.repository == 'NVIDIA/tilus'
continue-on-error: true
runs-on: yaoyao-centml
container:
image: nvidia/cuda:12.6.2-devel-ubuntu22.04
options: --gpus all
steps:
- name: Checkout Repository
uses: actions/checkout@v4

- name: Setup and Install Tilus
id: setup-and-install
uses: ./.github/actions/setup-environment
with:
python-version: '3.10'

- name: Build docs
run: |
cd docs
make html

- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: docs/build/html

deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4