File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4545 shell : wsl-bash {0}
4646 run : chmod +x zwave_stack/bin/*.elf
4747
48+ - name : Copy Z-Wave storage to WSL native filesystem
49+ shell : wsl-bash {0}
50+ run : |
51+ # Create storage in WSL native filesystem
52+ rm -rf ~/zwave_storage
53+ mkdir -p ~/zwave_storage
54+
55+ # Copy extracted storage files to WSL native filesystem
56+ if [ -d "./zwave_stack/storage" ]; then
57+ cp -r ./zwave_stack/storage/* ~/zwave_storage/ 2>/dev/null || true
58+ fi
59+
60+ # Get list of storage subdirectories, then replace with symlinks
61+ if [ -d "./zwave_stack/storage" ]; then
62+ STORAGE_DIRS=$(find ./zwave_stack/storage -mindepth 1 -maxdepth 1 -type d -exec basename {} \;)
63+ rm -rf ./zwave_stack/storage
64+ mkdir -p ./zwave_stack/storage
65+ for dir in $STORAGE_DIRS; do
66+ ln -sf ~/zwave_storage/$dir ./zwave_stack/storage/$dir
67+ done
68+ fi
69+
70+ echo "Storage symlinks created:"
71+ ls -la ./zwave_stack/storage/
72+
4873 - name : Run CTT tests
4974 run : npm start
5075 env :
You can’t perform that action at this time.
0 commit comments