Experimental cuda_tile backend #13
Workflow file for this run
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: nbcc_ci | |
| on: | |
| pull_request: | |
| paths: | |
| - .github/workflows/nbcc_ci.yml | |
| - nbcc/** | |
| push: | |
| branches: | |
| - main | |
| paths: | |
| - .github/workflows/nbcc_ci.yml | |
| - nbcc/** | |
| workflow_dispatch: | |
| # Add concurrency control | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }} | |
| cancel-in-progress: true | |
| jobs: | |
| linux-64-build-conda: | |
| name: linux-64-build-conda (py 3.12) | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| shell: bash -elx {0} | |
| strategy: | |
| fail-fast: false | |
| steps: | |
| - name: Clone repository | |
| uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 | |
| with: | |
| fetch-depth: 0 | |
| - name: Setup Miniconda | |
| uses: conda-incubator/setup-miniconda@835234971496cad1653abb28a638a281cf32541f # v3.2.0 | |
| with: | |
| auto-update-conda: false | |
| auto-activate-base: true | |
| - name: Install conda-project | |
| run: conda install conda-project | |
| - name: Build | |
| run: | | |
| conda project prepare -n dev | |
| make setup-workspace | |
| conda project run build | |
| - name: Test | |
| run: | | |
| conda activate ./envs/dev | |
| conda install sklam::cuda_tile_mlir -y | |
| pytest ./nbcc | |
| - name: MyPy | |
| run: | | |
| conda activate ./envs/dev | |
| mypy ./nbcc |