-
Notifications
You must be signed in to change notification settings - Fork 10
[Build] Build and publish api doc #46
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
Merged
Merged
Changes from all commits
Commits
Show all changes
84 commits
Select commit
Hold shift + click to select a range
997b997
manylinux wheel
hughperkins ca93ffe
.yml
hughperkins 14843ec
needs
hughperkins 22b78be
make w safe
hughperkins d599e93
precommit
hughperkins 2e97b77
more exploration
hughperkins 7eb1cb7
try different wheel path
hughperkins 647763d
save stuff I"m trying
hughperkins c4c4b7d
setting python version
hughperkins e6a2ca7
udpate python path
hughperkins 6f2a6e4
fix path
hughperkins e60d4a3
api_doc.html
hughperkins 52b141f
head_ref
hughperkins 4bddab7
maybe fix python path
hughperkins e6220bc
run repair
hughperkins 4548d0e
remove -v
hughperkins 4d4ea81
remove yum update
hughperkins 6199156
push to s3
hughperkins 4c0e753
find both clang and clang++
hughperkins e981e17
download clang; skip compiler checks
hughperkins 1b54af0
install wget
hughperkins 3e545d0
Merge remote-tracking branch 'origin/main' into hp/manylinux-wheel
hughperkins f6828a7
-q
hughperkins 358f85b
make apple defintiosn conditional on apple
hughperkins f52bd08
Merge branch 'hp/condition-mac-on-apple' into hp/manylinux-wheel
hughperkins 85b7a61
always set the -Wno flag
hughperkins f558502
link libstdc++.so, so can be found easily inchecks
hughperkins 1156645
install static libstdc++ lib
hughperkins cecaffd
remove android thing, since probalby old, and eigen wont compile anyw…
hughperkins f79901d
remove dead path line
hughperkins 846f6a7
-y
hughperkins 69b69f8
/wheelhouse
hughperkins 5b0f448
lst dist/*.whl
hughperkins 2555a2b
hunt fo the wheel
hughperkins 894f6a2
upload from wheelhouse
hughperkins 486a5a9
Merge remote-tracking branch 'origin/main' into hp/manylinux-wheel
hughperkins 0a0e712
try not using special llvm
hughperkins 583d90b
fix sync command
hughperkins 80124b7
addd stdc++fs
hughperkins 6b291ae
remove dead code
hughperkins 82ca822
remove more dead code
hughperkins 58587bd
remove some scaffolding
hughperkins 4503380
run py 3.10 -> 3.13
hughperkins f167a92
remove some more spam
hughperkins d5e2843
fail-fast: false
hughperkins 1582b21
add setuptools and cffi to install requires
hughperkins 8f38859
add seutptools and cffi to pyproject.toml
hughperkins 823fa2a
remove wget
hughperkins ba64784
add pyi to wheel
hughperkins 42a61d4
add test of typing
hughperkins cc94e17
pre-commit
hughperkins 9fecadd
ruff
hughperkins 1ea4c22
Merge remote-tracking branch 'origin/main' into hp/pdoc
hughperkins aa458a3
Merge branch 'hp/manylinux-wheel-add-stubs' into hp/pdoc
hughperkins e58378a
api doc
hughperkins b3276be
pre-commit
hughperkins 374a658
enable vulkan
hughperkins f4b8250
-v -r 3
hughperkins 34d8fb8
Merge branch 'hp/manylinux-wheel' into hp/manylinux-wheel-add-stubs
hughperkins c774057
Merge branch 'hp/manylinux-wheel-add-stubs' into hp/pdoc
hughperkins f0054ef
Revert "enable vulkan"
hughperkins f373a32
Merge branch 'hp/manylinux-wheel' into hp/manylinux-wheel-add-stubs
hughperkins f0a53f7
Merge branch 'hp/manylinux-wheel-add-stubs' into hp/pdoc
hughperkins c2e4ceb
add __init__.py so can continue to build with develop
hughperkins 40aa8bd
use workflow_run
hughperkins e5cf511
dummy
hughperkins 4144b40
comment out api_docs
hughperkins 667a08f
re add api_docs
hughperkins 55526db
pass in head ref
hughperkins 9e6961e
inputs
hughperkins 00195c3
cnotents write
hughperkins e91f027
Merge remote-tracking branch 'origin/main' into hp/manylinux-wheel-ad…
hughperkins bd765fe
Merge branch 'hp/manylinux-wheel-add-stubs' into hp/pdoc
hughperkins 6a764a7
Merge remote-tracking branch 'origin/main' into hp/manylinux-wheel-ad…
hughperkins 434609e
fix tset_pyi_stubs to use pyright intead of mypy
hughperkins 6aac83c
Merge branch 'hp/manylinux-wheel-add-stubs' into hp/pdoc
hughperkins 30a7d05
address review comments
hughperkins ec2ab5b
Merge branch 'hp/manylinux-wheel-add-stubs' into hp/pdoc
hughperkins b644906
/
hughperkins d4b26fe
/
hughperkins d29fde0
Merge branch 'hp/manylinux-wheel-add-stubs' into hp/pdoc
hughperkins 4fb3d60
try removing contents write
hughperkins b96a598
Revert "try removing contents write"
hughperkins 5b2770d
Merge branch 'main' into hp/pdoc
hughperkins File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,58 @@ | ||
| name: api docs build | ||
|
|
||
| on: | ||
| workflow_call: | ||
| inputs: | ||
| head_ref: | ||
| description: 'The head ref (branch name or PR ref)' | ||
| required: true | ||
| type: string | ||
| secrets: | ||
| AWS_ACCESS_KEY_ID: | ||
| required: true | ||
duburcqa marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| AWS_SECRET_ACCESS_KEY: | ||
| required: true | ||
| workflow_dispatch: | ||
| concurrency: | ||
| group: gh-pages-deploy-${{ github.event.inputs.head_ref || github.head_ref }} | ||
| cancel-in-progress: true | ||
| permissions: | ||
duburcqa marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| contents: write | ||
| jobs: | ||
| deploy: | ||
| runs-on: ubuntu-latest | ||
| environment: aws_storage | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - name: Configure AWS credentials | ||
| uses: aws-actions/configure-aws-credentials@v4 | ||
| with: | ||
| aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} | ||
| aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | ||
| aws-region: us-east-1 | ||
| - name: Download artifact | ||
| run: | | ||
| set -x | ||
| aws s3 sync s3://genesis-ai-compiler/ci/taichi/${GITHUB_SHA:0:7}/cp310/ dist/ | ||
| - name: Python check | ||
| uses: actions/setup-python@v4 | ||
| with: | ||
| python-version: '3.10' | ||
| - name: manylinux install wheel | ||
| run: | | ||
| set -x | ||
| ls -lh dist/ | ||
| pip install dist/*.whl | ||
| python -c 'import taichi as ti; ti.init(arch=ti.cpu); print(ti.__version__)' | ||
| - name: Build docs | ||
| run: | | ||
| pip install pdoc | ||
| pdoc --output-dir public taichi | ||
| - name: Deploy docs | ||
| uses: peaceiris/actions-gh-pages@v3 | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. On my side I’m using crazy-max/ghaction-github-pages@v4 |
||
| with: | ||
| github_token: ${{ secrets.GITHUB_TOKEN }} | ||
| publish_dir: ./public | ||
| destination_dir: ${{ github.event.inputs.head_ref || github.head_ref }} | ||
| keep_files: true | ||
| publish_branch: gh-pages | ||
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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.