Skip to content

Build on Windows

Build on Windows #15

name: Build on Windows
on:
workflow_dispatch:
pull_request:
branches:
- main
push:
branches:
- main
permissions: read-all
jobs:
build:
name: Build
runs-on: avc336
steps:
- name: Enable long paths
run: |
git config --system core.longPaths true
- name: Checkout repository
uses: actions/checkout@v4
with:
ref: gregory/windows-support
- name: Install Python
uses: actions/setup-python@v5
with:
python-version: '3.9'
- name: Build Triton
run: |
cd python
pip install -U wheel pybind11 certifi cython ninja cmake
python -m certifi
pip install --no-build-isolation '.[build]'