Skip to content

Commit 89b0ceb

Browse files
committed
github-actions: minimal check that Pythran works
1 parent 594e667 commit 89b0ceb

2 files changed

Lines changed: 20 additions & 1 deletion

File tree

.github/minimal_pythran.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
2+
# pythran export func(int)
3+
4+
def func(arg):
5+
return arg

.github/workflows/ci-windows.yml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,23 @@ jobs:
1717
with:
1818
pixi-version: v0.47.0
1919
cache: false
20-
- name: Tests
20+
21+
- name: Setup
2122
run: |
2223
pixi run install-editable
24+
pixi list
25+
26+
- name: Checks
27+
run: |
28+
echo $CC
29+
echo $CXX
30+
31+
- name: Minimal Pythran check
32+
run: |
33+
pixi run pythran .github/minimal_pythran.py
34+
35+
- name: Tests
36+
run: |
2337
pixi run pytest tests
2438
pixi run mpirun -np 2 pytest tests
2539
echo "TRANSONIC_BACKEND=python" >> $GITHUB_ENV

0 commit comments

Comments
 (0)