Skip to content

Commit

Permalink
chore(dev): GitHub Actions Windows dumpbin.exe test
Browse files Browse the repository at this point in the history
  • Loading branch information
danielweck committed Dec 9, 2024
1 parent e153c86 commit 9bec70e
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,16 @@ jobs:
run: >
dir "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.42.34433\bin\Hostx64\x64"
shell: cmd
- name: Windows ARCH 1
if: startsWith(matrix.osarch, 'windows-')
run: >
("C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.42.34433\bin\Hostx64\x64\dumpbin.exe" /headers "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.42.34433\bin\Hostx64\x64\dumpbin.exe" | findstr /i machine)
shell: cmd
- name: Windows ARCH 2
if: startsWith(matrix.osarch, 'windows-')
run: >
("C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.42.34433\bin\Hostx64\x64\dumpbin.exe" /headers "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.42.34433\bin\Hostx64\arm64\dumpbin.exe" | findstr /i machine)
shell: cmd
- run: echo 'RELEASE_TAG:' ${{ env.RELEASE_TAG }}
- run: 'echo "GITHUB_RUN_NUMBER: ${{ github.run_number }}"'
- run: 'echo "GITHUB_RUN_ID: ${{ github.run_id }}"'
Expand Down Expand Up @@ -216,7 +226,7 @@ jobs:
#if: ${{ matrix.osarch == 'windows-intel' || matrix.osarch == 'windows-arm' }}
if: startsWith(matrix.osarch, 'windows-')
run: >
(dumpbin /headers node_modules\\electron\\dist\\electron.exe | findstr /i machine) && (node_modules\\electron\\dist\\electron.exe --no-sandbox --version) && (node_modules\\electron\\dist\\electron.exe --no-sandbox --abi)
("C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.42.34433\bin\Hostx64\x64\dumpbin.exe" /headers "node_modules\electron\dist\electron.exe" | findstr /i machine) && (node_modules\\electron\\dist\\electron.exe --no-sandbox --version) && (node_modules\\electron\\dist\\electron.exe --no-sandbox --abi)
shell: cmd
- name: Electron version + arch (Linux)
#if: ${{ matrix.osarch == 'linux-intel' || matrix.osarch == 'linux-arm' }}
Expand Down

0 comments on commit 9bec70e

Please sign in to comment.