File tree 1 file changed +8
-4
lines changed
1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change 18
18
19
19
steps :
20
20
- uses : actions/checkout@v4
21
- with :
22
- fetch-depth : 0
23
- submodules : true
24
21
25
22
- name : Use Node.js ${{ matrix.node-version }}
26
23
uses : actions/setup-node@v4
34
31
35
32
- name : install vcpkg
36
33
run : |
34
+ git submodule update --init --recursive
37
35
.\vcpkg\bootstrap-vcpkg.bat
38
36
shell : cmd
39
37
48
46
49
47
- name : Build
50
48
run : |
51
- node_modules/.bin/prebuild -r napi --arch arm64 --backend cmake-js -- --CDCMAKE_TOOLCHAIN_FILE:FILEPATH=${{ github.workspace }}/vcpkg/scripts/buildsystems/vcpkg.cmake --CDVCPKG_TARGET_TRIPLET:STRING=arm64-windows-static
49
+ node_modules/.bin/prebuild -r napi --arch arm64 --backend cmake-js
52
50
env :
51
+ CMAKE_TOOLCHAIN_FILE : ${{ github.workspace }}/vcpkg/scripts/buildsystems/vcpkg.cmake
52
+ VCPKG_TARGET_TRIPLET : arm64-windows-static
53
+ OPENSSL_ROOT_DIR : ${{ github.workspace }}/vcpkg/installed/arm64-windows-static
54
+ OPENSSL_LIBRARIES : ${{ github.workspace }}/vcpkg/installed/arm64-windows-static/lib
55
+ OPENSSL_INCLUDE_DIR : ${{ github.workspace }}/vcpkg/installed/arm64-windows-static/include
53
56
CI : true
57
+
54
58
- name : Upload
55
59
run : node_modules/.bin/prebuild -r napi --upload -u ${{ secrets.GITHUB_TOKEN }}
56
60
env :
You can’t perform that action at this time.
0 commit comments