From 313a8ef26be8a627099f768c515b80aa005bff64 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beat=20K=C3=BCng?= Date: Sat, 4 Nov 2023 11:47:10 +0100 Subject: [PATCH] test --- .github/workflows/build-windows.yml | 22 +++++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-windows.yml b/.github/workflows/build-windows.yml index c5d874e..f4766d3 100644 --- a/.github/workflows/build-windows.yml +++ b/.github/workflows/build-windows.yml @@ -22,12 +22,28 @@ jobs: uses: actions/checkout@master with: repository: barrysteyn/scrypt-windows + path: scrypt-windows - name: Add msbuild to PATH uses: microsoft/setup-msbuild@v1.1 - - name: Build scrypt for release - run: msbuild scrypt-windows -t:rebuild -verbosity:diag -property:Configuration=Release + - name: install node + uses: actions/setup-node@master + + #- name: Update npm + # run: npm install --global npm@latest + + - name: Patch node-gyp to support Visual Studio 2019 + shell: powershell + run: | + npm install --global node-gyp@latest + + - name: Build scrypt + run: | + node-gyp configure + node-gyp build + node-gyp install + working-directory: scrypt-windows - name: Install Qt uses: jurplel/install-qt-action@v3 @@ -39,7 +55,7 @@ jobs: setup-python: false - name: Configure - run: cmake -B ${{ runner.temp }}/build . + run: cmake -B ${{ runner.temp }}/build . -DCMAKE_CXX_FLAGS=-I\ scrypt-windows/scrypt-1.1.6/lib - name: Build run: cmake --build ${{ runner.temp }}/build