Skip to content

Commit 4442600

Browse files
committed
Testing windows platform
1 parent 203b4d4 commit 4442600

4 files changed

Lines changed: 49 additions & 19 deletions

File tree

.github/workflows/build.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,7 @@
11
name: Tests
22

33
on:
4-
push:
5-
branches:
6-
- '**'
7-
pull_request:
8-
branches:
9-
- main
4+
workflow_dispatch:
105

116
jobs:
127
build_wheels:

.github/workflows/cibuildwheels.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,7 @@
11
name: Python wheels
22

33
on:
4-
# Trigger the workflow only for tags and PRs to the main branch
5-
push:
6-
tags:
7-
- '*'
8-
pull_request:
9-
branches:
10-
- main
4+
workflow_dispatch:
115

126
env:
137
CIBW_BUILD_VERBOSITY: 1

.github/workflows/wasm.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,6 @@
11
name: Python wheels for WASM upload
22
on:
3-
push:
4-
tags:
5-
- '*'
6-
pull_request:
7-
branches:
8-
- main
3+
workflow_dispatch:
94

105
env:
116
CIBW_BUILD_VERBOSITY: 1

.github/workflows/win.yml

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
name: Windows DSL Trace
2+
3+
on:
4+
push:
5+
branches:
6+
- "**"
7+
pull_request:
8+
branches:
9+
- "**"
10+
workflow_dispatch:
11+
12+
jobs:
13+
windows_dsl_trace:
14+
name: Build + run bench/b2nd/jit-dsl.py on Windows
15+
runs-on: windows-latest
16+
env:
17+
CMAKE_GENERATOR: Ninja
18+
steps:
19+
- name: Checkout repo
20+
uses: actions/checkout@v6
21+
22+
- name: Set up Python
23+
uses: actions/setup-python@v6
24+
with:
25+
python-version: "3.12"
26+
27+
- name: Install Ninja
28+
uses: seanmiddleditch/gha-setup-ninja@master
29+
30+
- name: Add LLVM to PATH (Windows)
31+
run: echo "C:\\Program Files\\LLVM\\bin" >> $env:GITHUB_PATH
32+
33+
- name: Build package
34+
run: |
35+
python -m pip install --upgrade pip
36+
pip install -e .
37+
env:
38+
CC: clang-cl
39+
CXX: clang-cl
40+
CMAKE_BUILD_PARALLEL_LEVEL: 8
41+
SKBUILD_PARALLEL_LEVEL: 8
42+
43+
- name: Run DSL JIT bench with trace
44+
run: |
45+
$env:ME_DSL_TRACE = "1"
46+
python bench/b2nd/jit-dsl.py

0 commit comments

Comments
 (0)