Skip to content

Commit 51f06ae

Browse files
committedMar 9, 2025
try
1 parent fdc16de commit 51f06ae

File tree

1 file changed

+9
-14
lines changed

1 file changed

+9
-14
lines changed
 

‎.github/workflows/build-win-arm64-test.yml

+9-14
Original file line numberDiff line numberDiff line change
@@ -31,31 +31,26 @@ jobs:
3131

3232
- name: install vcpkg
3333
run: |
34-
git submodule update --init --recursive
34+
git submodule update --init --recursive vcpkg
3535
.\vcpkg\bootstrap-vcpkg.bat
3636
shell: cmd
3737

38-
- name: Setup vcpkg
39-
run: |
40-
.\vcpkg\vcpkg install --triplet arm64-windows-static
41-
shell: cmd
38+
# - name: Setup vcpkg
39+
# run: |
40+
# .\vcpkg\vcpkg install --triplet arm64-windows-static
41+
# shell: cmd
4242

4343
- name: Install npm
4444
run: |
4545
npm install --ignore-scripts
4646
4747
- name: Build
4848
run: |
49-
node_modules/.bin/prebuild -r napi --arch arm64 --backend cmake-js
49+
node_modules/.bin/prebuild -r napi --backend cmake-js --arch arm64 --upload -u ${{ secrets.GITHUB_TOKEN }}
5050
env:
5151
CMAKE_TOOLCHAIN_FILE: ${{ github.workspace }}/vcpkg/scripts/buildsystems/vcpkg.cmake
5252
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
56-
CI: true
57-
58-
- name: Upload
59-
run: node_modules/.bin/prebuild -r napi --upload -u ${{ secrets.GITHUB_TOKEN }}
60-
env:
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
6156
CI: true

0 commit comments

Comments
 (0)