@@ -3,7 +3,7 @@ name: Build
3
3
on : [push, pull_request]
4
4
5
5
jobs :
6
- build_wheels :
6
+ build_browser_batteries_wheels :
7
7
name : Build wheels on ${{ matrix.os }}
8
8
runs-on : ${{ matrix.os }}
9
9
strategy :
16
16
target-platform : linux-aarch64
17
17
- os : windows-latest
18
18
target-platform : win-64
19
- - os : windows-11-arm
20
19
- os : macos-latest
21
20
target-platform : osx-intel
22
21
- os : macos-latest
57
56
name : cibw-wheels-${{ matrix.os }}-${{ strategy.job-index }}
58
57
path : browser_batteries/dist/*.whl
59
58
if-no-files-found : error
59
+
60
+ build_browser_wheel :
61
+ runs-on : ubuntu-latest
62
+ steps :
63
+ - uses : actions/checkout@v5
64
+ - name : Use Node.js
65
+ uses : actions/setup-node@v5
66
+ with :
67
+ node-version : 22.x
68
+ - name : Set up Python 3.13
69
+ uses : actions/setup-python@v6
70
+ with :
71
+ python-version : 3.13
72
+ - name : Install dependencies
73
+ run : |
74
+ python -m pip install --upgrade pip
75
+ pip install uv
76
+ uv pip install wheel invoke --python 3.13 --system --verbose
77
+ inv deps
78
+ - name : Build Protos and check with tsc
79
+ run : |
80
+ inv node-build
81
+ python -m Browser.gen_stub
82
+ - name : Create Distributable Browser Package
83
+ run : |
84
+ inv docs
85
+ inv create-package
86
+ - uses : actions/upload-artifact@v4
87
+ name : Upload rfbrowser-wheel
88
+ with :
89
+ name : rfbrowser-wheel
90
+ path : dist/robotframework_browser-*-py3-none-any.whl
91
+ if-no-files-found : error
92
+ - name : Build test app
93
+ run : |
94
+ inv create-test-app
95
+ - name : Package demoapp
96
+ run : |
97
+ inv demo-app
98
+ - uses : actions/upload-artifact@v4
99
+ with :
100
+ name : demoapp
101
+ path : zip_results/demoapp
102
+ if-no-files-found : error
0 commit comments