File tree Expand file tree Collapse file tree 1 file changed +11
-7
lines changed Expand file tree Collapse file tree 1 file changed +11
-7
lines changed Original file line number Diff line number Diff line change @@ -29,24 +29,28 @@ jobs:
2929 with :
3030 arch : amd64_arm64 # Sets up cross-compilation from x64 to ARM64
3131
32- - name : Install vcpkg
32+ - name : Setup vcpkg
3333 run : |
34- git clone https://github.com/microsoft/vcpkg.git C:\vcpkg
35- cd C:\vcpkg
36- .\bootstrap-vcpkg.bat
34+ C:\vcpkg\bootstrap-vcpkg.bat
3735 shell : cmd
3836
3937 - name : Install OpenSSL (Static) for Windows ARM64
4038 run : |
4139 C:\vcpkg\vcpkg install openssl:arm64-windows-static
4240 shell : cmd
4341
44- - name : Build
42+ - name : NPM Install
4543 run : |
4644 npm install --ignore-scripts
47- node_modules/.bin/prebuild -r napi --backend cmake-js --arch arm64 --upload -u ${{ secrets.GITHUB_TOKEN }} -- --CDCMAKE_TOOLCHAIN_FILE=c:\vcpkg\scripts\buildsystems\vcpkg.cmake --CDVCPKG_TARGET_TRIPLET=arm64-windows-static
45+ shell : cmd
46+
47+ - name : Build
48+ run : |
49+ npx prebuild -r napi --arch arm64 --backend cmake-js -- --CDCMAKE_TOOLCHAIN_FILE="c:\vcpkg\scripts\buildsystems\vcpkg.cmake" --CDVCPKG_TARGET_TRIPLET=arm64-windows-static
50+ shell : cmd
4851
4952 - name : Upload
50- run : node_modules/.bin/ prebuild -r napi --upload -u ${{ secrets.GITHUB_TOKEN }}
53+ run : npx prebuild --backend cmake-js --arch arm64 -r napi --upload -u ${{ secrets.GITHUB_TOKEN }}
5154 env :
5255 CI : true
56+ shell : cmd
You can’t perform that action at this time.
0 commit comments