Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
bkueng committed Nov 4, 2023
1 parent 256fa77 commit 313a8ef
Showing 1 changed file with 19 additions and 3 deletions.
22 changes: 19 additions & 3 deletions .github/workflows/build-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,28 @@ jobs:
uses: actions/checkout@master
with:
repository: barrysteyn/scrypt-windows
path: scrypt-windows

- name: Add msbuild to PATH
uses: microsoft/[email protected]

- 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
Expand All @@ -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

0 comments on commit 313a8ef

Please sign in to comment.