This repository was archived by the owner on Feb 24, 2026. It is now read-only.
Update tilelang&cutlass to newest #414
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: CI | |
| on: [pull_request] | |
| jobs: | |
| format-check: | |
| runs-on: self-hosted | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v2 | |
| with: | |
| fetch-depth: 0 | |
| - name: Set up Python | |
| uses: actions/setup-python@v2 | |
| with: | |
| python-version: '3.9' | |
| - name: Create virtual environment | |
| run: python -m venv bitblas_ci | |
| - name: Activate virtual environment and install dependencies | |
| run: | | |
| source bitblas_ci/bin/activate | |
| python -m pip install --upgrade pip | |
| if [ -f requirements-dev.txt ]; then python -m pip install -r requirements-dev.txt; fi | |
| - name: Update submodules recursively | |
| run: git submodule update --init --recursive | |
| - name: Run format check | |
| run: | | |
| source bitblas_ci/bin/activate | |
| ./format.sh | |
| build-test: | |
| runs-on: self-hosted | |
| needs: format-check | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v2 | |
| with: | |
| fetch-depth: 0 | |
| - name: Set up Python | |
| uses: actions/setup-python@v2 | |
| with: | |
| python-version: '3.9' | |
| - name: Create virtual environment | |
| run: python -m venv bitblas_ci | |
| - name: Activate virtual environment and install dependencies | |
| run: | | |
| source bitblas_ci/bin/activate | |
| python -m pip install --upgrade pip | |
| if [ -f requirements-test.txt ]; then python -m pip install -r requirements-test.txt; fi | |
| if [ -f bitblas_ci/bin/cmake ]; then | |
| rm bitblas_ci/bin/cmake | |
| hash -r | |
| fi | |
| - name: Install project in wheel mode | |
| run: | | |
| source bitblas_ci/bin/activate | |
| export PATH="/usr/bin:$PATH" | |
| bash install.sh | |
| python -m pip install . | |
| - name: Run tests | |
| run: | | |
| source bitblas_ci/bin/activate | |
| cd testing/python | |
| python -m pytest |