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 5050
5151 build-test :
5252 name : Build & test 🛠️
53- runs-on : ubuntu-latest
53+ runs-on : windows-2022
5454 if : ${{ !github.event.pull_request.draft && !contains(github.event.pull_request.labels.*.name , 'release') }}
5555 steps :
5656 - name : Checkout
@@ -60,15 +60,28 @@ jobs:
6060
6161 - name : Create env file
6262 run : |
63- touch .env
6463 echo NAVIGATION_DATA_SIGNED_URL=${{ secrets.NAVIGATION_DATA_SIGNED_URL }} >> .env
6564 echo NAVIGATION_DATA_SIGNED_URL_V2=${{ secrets.NAVIGATION_DATA_SIGNED_URL_V2 }} >> .env
6665
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+
6780 - name : Build WASM module
6881 run : npm run build:wasm-workflow
6982
7083 - name : Test
71- run : npm run test-workflow
84+ run : npm run test
7285
7386 - name : Upload WASM module to GitHub
7487 uses : actions/upload-artifact@v4
Original file line number Diff line number Diff line change 55rmdir /s /q ..\test_work
66mkdir ..\test_work
77
8+ :: Docker is a must for now, WASI preopens don't exist on windows.
89call .\run_docker_cmd.bat npm run jest
You can’t perform that action at this time.
0 commit comments