Skip to content

Commit

Permalink
Merge pull request #40 from hebasto/250202-windows-imports
Browse files Browse the repository at this point in the history
Windows: Print DLL imports
  • Loading branch information
hebasto authored Feb 2, 2025
2 parents 8234c61 + b676fac commit b7cea24
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 4 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/windows-ucrt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,15 @@ jobs:
with:
name: ${{ env.CI_HOST }}-executables-${{ github.run_id }}

- name: Run bitcoind.exe
run: .\src\bitcoind.exe -version
- name: Configure Developer Command Prompt for Microsoft Visual C++
uses: ilammy/msvc-dev-cmd@v1
with:
arch: x64

- name: Check 'bitcoind.exe' executable
run: |
dumpbin.exe /imports .\src\bitcoind.exe | Select-String -Pattern "\S+\.dll" -CaseSensitive:$false
.\src\bitcoind.exe -version
- name: Run unit tests
run: |
Expand Down
12 changes: 10 additions & 2 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ jobs:
run: >
cmake -B build \
--toolchain depends/x86_64-w64-mingw32/toolchain.cmake \
-DREDUCE_EXPORTS=ON \
-DBUILD_BENCH=ON \
-DBUILD_FUZZ_BINARY=ON \
-DWERROR=ON \
Expand Down Expand Up @@ -78,8 +79,15 @@ jobs:
with:
name: x86_64-w64-mingw32-executables-${{ github.run_id }}

- name: Run bitcoind.exe
run: .\src\bitcoind.exe -version
- name: Configure Developer Command Prompt for Microsoft Visual C++
uses: ilammy/msvc-dev-cmd@v1
with:
arch: x64

- name: Check 'bitcoind.exe' executable
run: |
dumpbin.exe /imports .\src\bitcoind.exe | Select-String -Pattern "\S+\.dll" -CaseSensitive:$false
.\src\bitcoind.exe -version
- name: Run unit tests
run: |
Expand Down

0 comments on commit b7cea24

Please sign in to comment.