Skip to content

Commit bc613f5

Browse files
committed
Build Browser wheel
No Windows ARM BrowserBatteries build Also build test app
1 parent 3681095 commit bc613f5

File tree

1 file changed

+45
-2
lines changed

1 file changed

+45
-2
lines changed

.github/workflows/build.yml

Lines changed: 45 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Build
33
on: [push, pull_request]
44

55
jobs:
6-
build_wheels:
6+
build_browser_batteries_wheels:
77
name: Build wheels on ${{ matrix.os }}
88
runs-on: ${{ matrix.os }}
99
strategy:
@@ -16,7 +16,6 @@ jobs:
1616
target-platform: linux-aarch64
1717
- os: windows-latest
1818
target-platform: win-64
19-
- os: windows-11-arm
2019
- os: macos-latest
2120
target-platform: osx-intel
2221
- os: macos-latest
@@ -57,3 +56,47 @@ jobs:
5756
name: cibw-wheels-${{ matrix.os }}-${{ strategy.job-index }}
5857
path: browser_batteries/dist/*.whl
5958
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

Comments
 (0)