File tree Expand file tree Collapse file tree 4 files changed +131
-87
lines changed Expand file tree Collapse file tree 4 files changed +131
-87
lines changed Original file line number Diff line number Diff line change 50
50
51
51
build-test :
52
52
name : Build & test 🛠️
53
- runs-on : ubuntu-latest
53
+ runs-on : windows-2022
54
54
if : ${{ !github.event.pull_request.draft && !contains(github.event.pull_request.labels.*.name , 'release') }}
55
55
steps :
56
56
- name : Checkout
@@ -60,15 +60,28 @@ jobs:
60
60
61
61
- name : Create env file
62
62
run : |
63
- touch .env
64
63
echo NAVIGATION_DATA_SIGNED_URL=${{ secrets.NAVIGATION_DATA_SIGNED_URL }} >> .env
65
64
echo NAVIGATION_DATA_SIGNED_URL_V2=${{ secrets.NAVIGATION_DATA_SIGNED_URL_V2 }} >> .env
66
65
66
+ - name : Install LLVM and Clang
67
+
68
+ with :
69
+ version : " 17.0.6"
70
+
71
+ - name : Cache cargo-msfs
72
+ uses : actions/cache@v4
73
+ with :
74
+ path : ~\.cargo\bin
75
+ key : ${{ runner.os }}-cargo-msfs
76
+
77
+ - name : Setup
78
+ run : npm run setup
79
+
67
80
- name : Build WASM module
68
81
run : npm run build:wasm-workflow
69
82
70
83
- name : Test
71
- run : npm run test-workflow
84
+ run : npm run test
72
85
73
86
- name : Upload WASM module to GitHub
74
87
uses : actions/upload-artifact@v4
Original file line number Diff line number Diff line change 5
5
rmdir /s /q ..\test_work
6
6
mkdir ..\test_work
7
7
8
+ :: Docker is a must for now, WASI preopens don't exist on windows.
8
9
call .\run_docker_cmd.bat npm run jest
You can’t perform that action at this time.
0 commit comments