forked from wecode-ai/Wegent
-
Notifications
You must be signed in to change notification settings - Fork 0
45 lines (37 loc) · 1.17 KB
/
Copy pathtest-windows-executor.yml
File metadata and controls
45 lines (37 loc) · 1.17 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# Temporary workflow to test Windows executor build on feature branch
# Remove this file after testing is complete
name: Test Windows Executor Build
on:
push:
branches:
- 'feature/windows-executor-support'
jobs:
build-executor-local-windows-amd64:
runs-on: windows-latest
permissions:
contents: write
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install uv
uses: astral-sh/setup-uv@v4
- name: Install dependencies and build
working-directory: executor
shell: pwsh
run: |
uv sync --group build
uv run python scripts/build_local.py
- name: Rename binary with platform suffix
shell: pwsh
run: |
Move-Item executor/dist/wegent-executor.exe executor/dist/wegent-executor-windows-amd64.exe
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: wegent-executor-windows-amd64-test
path: executor/dist/wegent-executor-windows-amd64.exe
retention-days: 7