Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
84 commits
Select commit Hold shift + click to select a range
997b997
manylinux wheel
hughperkins Jun 17, 2025
ca93ffe
.yml
hughperkins Jun 17, 2025
14843ec
needs
hughperkins Jun 17, 2025
22b78be
make w safe
hughperkins Jun 17, 2025
d599e93
precommit
hughperkins Jun 17, 2025
2e97b77
more exploration
hughperkins Jun 18, 2025
7eb1cb7
try different wheel path
hughperkins Jun 18, 2025
647763d
save stuff I"m trying
hughperkins Jun 24, 2025
c4c4b7d
setting python version
hughperkins Jun 25, 2025
e6a2ca7
udpate python path
hughperkins Jun 25, 2025
6f2a6e4
fix path
hughperkins Jun 25, 2025
e60d4a3
api_doc.html
hughperkins Jun 25, 2025
52b141f
head_ref
hughperkins Jun 25, 2025
4bddab7
maybe fix python path
hughperkins Jun 25, 2025
e6220bc
run repair
hughperkins Jun 25, 2025
4548d0e
remove -v
hughperkins Jun 26, 2025
4d4ea81
remove yum update
hughperkins Jun 26, 2025
6199156
push to s3
hughperkins Jun 26, 2025
4c0e753
find both clang and clang++
hughperkins Jun 27, 2025
e981e17
download clang; skip compiler checks
hughperkins Jun 27, 2025
1b54af0
install wget
hughperkins Jun 27, 2025
3e545d0
Merge remote-tracking branch 'origin/main' into hp/manylinux-wheel
hughperkins Jun 27, 2025
f6828a7
-q
hughperkins Jun 27, 2025
358f85b
make apple defintiosn conditional on apple
hughperkins Jun 28, 2025
f52bd08
Merge branch 'hp/condition-mac-on-apple' into hp/manylinux-wheel
hughperkins Jun 28, 2025
85b7a61
always set the -Wno flag
hughperkins Jun 28, 2025
f558502
link libstdc++.so, so can be found easily inchecks
hughperkins Jun 28, 2025
1156645
install static libstdc++ lib
hughperkins Jun 28, 2025
cecaffd
remove android thing, since probalby old, and eigen wont compile anyw…
hughperkins Jun 28, 2025
f79901d
remove dead path line
hughperkins Jun 28, 2025
846f6a7
-y
hughperkins Jun 28, 2025
69b69f8
/wheelhouse
hughperkins Jun 28, 2025
5b0f448
lst dist/*.whl
hughperkins Jun 28, 2025
2555a2b
hunt fo the wheel
hughperkins Jun 28, 2025
894f6a2
upload from wheelhouse
hughperkins Jun 28, 2025
486a5a9
Merge remote-tracking branch 'origin/main' into hp/manylinux-wheel
hughperkins Jun 28, 2025
0a0e712
try not using special llvm
hughperkins Jun 28, 2025
583d90b
fix sync command
hughperkins Jun 28, 2025
80124b7
addd stdc++fs
hughperkins Jun 29, 2025
6b291ae
remove dead code
hughperkins Jun 29, 2025
82ca822
remove more dead code
hughperkins Jun 29, 2025
58587bd
remove some scaffolding
hughperkins Jun 29, 2025
4503380
run py 3.10 -> 3.13
hughperkins Jun 29, 2025
f167a92
remove some more spam
hughperkins Jun 29, 2025
d5e2843
fail-fast: false
hughperkins Jun 29, 2025
1582b21
add setuptools and cffi to install requires
hughperkins Jun 29, 2025
8f38859
add seutptools and cffi to pyproject.toml
hughperkins Jun 29, 2025
823fa2a
remove wget
hughperkins Jun 29, 2025
ba64784
add pyi to wheel
hughperkins Jun 29, 2025
42a61d4
add test of typing
hughperkins Jun 29, 2025
cc94e17
pre-commit
hughperkins Jun 29, 2025
9fecadd
ruff
hughperkins Jun 29, 2025
1ea4c22
Merge remote-tracking branch 'origin/main' into hp/pdoc
hughperkins Jun 29, 2025
aa458a3
Merge branch 'hp/manylinux-wheel-add-stubs' into hp/pdoc
hughperkins Jun 29, 2025
e58378a
api doc
hughperkins Jun 29, 2025
b3276be
pre-commit
hughperkins Jun 29, 2025
374a658
enable vulkan
hughperkins Jun 29, 2025
f4b8250
-v -r 3
hughperkins Jun 29, 2025
34d8fb8
Merge branch 'hp/manylinux-wheel' into hp/manylinux-wheel-add-stubs
hughperkins Jun 29, 2025
c774057
Merge branch 'hp/manylinux-wheel-add-stubs' into hp/pdoc
hughperkins Jun 29, 2025
f0054ef
Revert "enable vulkan"
hughperkins Jun 29, 2025
f373a32
Merge branch 'hp/manylinux-wheel' into hp/manylinux-wheel-add-stubs
hughperkins Jun 30, 2025
f0a53f7
Merge branch 'hp/manylinux-wheel-add-stubs' into hp/pdoc
hughperkins Jun 30, 2025
c2e4ceb
add __init__.py so can continue to build with develop
hughperkins Jun 30, 2025
40aa8bd
use workflow_run
hughperkins Jun 30, 2025
e5cf511
dummy
hughperkins Jun 30, 2025
4144b40
comment out api_docs
hughperkins Jun 30, 2025
667a08f
re add api_docs
hughperkins Jun 30, 2025
55526db
pass in head ref
hughperkins Jun 30, 2025
9e6961e
inputs
hughperkins Jun 30, 2025
00195c3
cnotents write
hughperkins Jun 30, 2025
e91f027
Merge remote-tracking branch 'origin/main' into hp/manylinux-wheel-ad…
hughperkins Jul 1, 2025
bd765fe
Merge branch 'hp/manylinux-wheel-add-stubs' into hp/pdoc
hughperkins Jul 1, 2025
6a764a7
Merge remote-tracking branch 'origin/main' into hp/manylinux-wheel-ad…
hughperkins Jul 1, 2025
434609e
fix tset_pyi_stubs to use pyright intead of mypy
hughperkins Jul 1, 2025
6aac83c
Merge branch 'hp/manylinux-wheel-add-stubs' into hp/pdoc
hughperkins Jul 1, 2025
30a7d05
address review comments
hughperkins Jul 2, 2025
ec2ab5b
Merge branch 'hp/manylinux-wheel-add-stubs' into hp/pdoc
hughperkins Jul 2, 2025
b644906
/
hughperkins Jul 2, 2025
d4b26fe
/
hughperkins Jul 2, 2025
d29fde0
Merge branch 'hp/manylinux-wheel-add-stubs' into hp/pdoc
hughperkins Jul 2, 2025
4fb3d60
try removing contents write
hughperkins Jul 2, 2025
b96a598
Revert "try removing contents write"
hughperkins Jul 3, 2025
5b2770d
Merge branch 'main' into hp/pdoc
hughperkins Jul 7, 2025
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
58 changes: 58 additions & 0 deletions .github/workflows/api_doc.yml
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
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:
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
Copy link
Contributor

Choose a reason for hiding this comment

The 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
14 changes: 12 additions & 2 deletions .github/workflows/manylinux_wheel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ on:
branches:
- main
workflow_dispatch:
permissions:
contents: write
jobs:
build_wheel:
name: Manylinux wheel Build
Expand Down Expand Up @@ -33,7 +35,7 @@ jobs:
name: manylinux_wheel_${{ matrix.PYTHON_CP_VERSION }}
path: wheelhouse/*.whl

upload_to_storaage:
upload_to_storage:
name: Manylinux wheel upload
runs-on: ubuntu-22.04
needs: build_wheel
Expand Down Expand Up @@ -63,7 +65,7 @@ jobs:
test_wheel:
name: Manylinux wheel Test
runs-on: ubuntu-22.04
needs: upload_to_storaage
needs: upload_to_storage
environment: aws_storage
strategy:
matrix:
Expand Down Expand Up @@ -101,3 +103,11 @@ jobs:
- name: manylinux test
run: |
bash .github/workflows/scripts_new/manylinux_wheel/5_test.sh
api_docs:
uses: ./.github/workflows/api_doc.yml
needs: upload_to_storage
with:
head_ref: ${{ github.head_ref }}
secrets:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
Loading