File tree Expand file tree Collapse file tree 1 file changed +14
-8
lines changed Expand file tree Collapse file tree 1 file changed +14
-8
lines changed Original file line number Diff line number Diff line change 8
8
9
9
jobs :
10
10
test-with-zephyr :
11
- runs-on : ubuntu -latest
11
+ runs-on : windows -latest
12
12
13
13
steps :
14
14
- uses : actions/checkout@v4
@@ -19,12 +19,20 @@ jobs:
19
19
node-version : " 18"
20
20
cache : " npm"
21
21
22
+ - name : Add Winget to PATH
23
+ shell : powershell
24
+ run : |
25
+ $wingetPath = (Get-ChildItem -Path "$env:ProgramFiles\WindowsApps\Microsoft.DesktopAppInstaller*_x64*\winget.exe").DirectoryName
26
+ if ($wingetPath) {
27
+ echo "::add-path::$wingetPath"
28
+ } else {
29
+ Write-Error "Winget path not found!"
30
+ }
31
+
22
32
- name : Install system dependencies
33
+ shell : powershell
23
34
run : |
24
- sudo apt-get update
25
- sudo apt-get install -y python3-pip python3-venv cmake ninja-build gperf \
26
- ccache dfu-util device-tree-compiler wget file make gcc gcc-multilib \
27
- g++-multilib libsdl2-dev libmagic1
35
+ winget install Kitware.CMake Ninja-build.Ninja oss-winget.gperf python Git.Git oss-winget.dtc wget 7zip.7zip
28
36
29
37
- name : Install dependencies
30
38
run : npm ci
36
44
run : npm run lint
37
45
38
46
- name : Run real integration tests
39
- run : |
40
- xvfb-run -a node scripts/run-integration-tests.js
47
+ run : node scripts/run-integration-tests.js
41
48
env :
42
49
NODE_ENV : test
43
- ZEPHYR_BASE : /tmp/zephyr
You can’t perform that action at this time.
0 commit comments