Skip to content

Commit

Permalink
chore(dev): GitHub Actions Windows dumpbin works, checking ARM64 cros…
Browse files Browse the repository at this point in the history
…s-compiler toolchain
  • Loading branch information
danielweck committed Dec 10, 2024
1 parent 9bec70e commit 245acfc
Showing 1 changed file with 67 additions and 61 deletions.
128 changes: 67 additions & 61 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,66 +74,66 @@ jobs:
env:
RELEASE_TAG: ${{ matrix.release_tag }}
steps:
- name: Microsoft Windows msbuild to PATH
if: startsWith(matrix.osarch, 'windows-')
uses: microsoft/setup-msbuild@v2
- name: Windows msbuild check1
if: startsWith(matrix.osarch, 'windows-')
run: >
dir "C:\Program Files\Microsoft Visual Studio\2022\Enterprise"
shell: cmd
- name: Windows msbuild check2
if: startsWith(matrix.osarch, 'windows-')
run: >
dir "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild"
shell: cmd
- name: Windows msbuild check3
if: startsWith(matrix.osarch, 'windows-')
run: >
dir "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Current"
shell: cmd
- name: Windows msbuild check4
if: startsWith(matrix.osarch, 'windows-')
run: >
dir "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Current\Bin"
shell: cmd
- name: Windows msbuild check5
if: startsWith(matrix.osarch, 'windows-')
run: >
dir "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\Common7"
shell: cmd
- name: Windows msbuild check6
if: startsWith(matrix.osarch, 'windows-')
run: >
dir "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\Common7\Tools"
shell: cmd
#VsDevCmd.bat
#VsMSBuildCmd.bat
- name: Windows msbuild check7
if: startsWith(matrix.osarch, 'windows-')
run: >
dir "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\bin\amd64"
shell: cmd
- name: Windows msbuild check8
if: startsWith(matrix.osarch, 'windows-')
run: >
dir "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools"
shell: cmd
- name: Windows msbuild check9
if: startsWith(matrix.osarch, 'windows-')
run: >
dir "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC"
shell: cmd
- name: Windows msbuild check10
if: startsWith(matrix.osarch, 'windows-')
run: >
dir "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.29.30133\bin\HostX64\x64"
shell: cmd
- name: Windows msbuild check11
if: startsWith(matrix.osarch, 'windows-')
run: >
dir "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.42.34433\bin\Hostx64\x64"
shell: cmd
# - name: Microsoft Windows msbuild to PATH
# if: startsWith(matrix.osarch, 'windows-')
# uses: microsoft/setup-msbuild@v2
# - name: Windows msbuild check1
# if: startsWith(matrix.osarch, 'windows-')
# run: >
# dir "C:\Program Files\Microsoft Visual Studio\2022\Enterprise"
# shell: cmd
# - name: Windows msbuild check2
# if: startsWith(matrix.osarch, 'windows-')
# run: >
# dir "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild"
# shell: cmd
# - name: Windows msbuild check3
# if: startsWith(matrix.osarch, 'windows-')
# run: >
# dir "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Current"
# shell: cmd
# - name: Windows msbuild check4
# if: startsWith(matrix.osarch, 'windows-')
# run: >
# dir "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Current\Bin"
# shell: cmd
# - name: Windows msbuild check5
# if: startsWith(matrix.osarch, 'windows-')
# run: >
# dir "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\Common7"
# shell: cmd
# - name: Windows msbuild check6
# if: startsWith(matrix.osarch, 'windows-')
# run: >
# dir "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\Common7\Tools"
# shell: cmd
# #VsDevCmd.bat
# #VsMSBuildCmd.bat
# - name: Windows msbuild check7
# if: startsWith(matrix.osarch, 'windows-')
# run: >
# dir "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\bin\amd64"
# shell: cmd
# - name: Windows msbuild check8
# if: startsWith(matrix.osarch, 'windows-')
# run: >
# dir "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools"
# shell: cmd
# - name: Windows msbuild check9
# if: startsWith(matrix.osarch, 'windows-')
# run: >
# dir "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC"
# shell: cmd
# - name: Windows msbuild check10
# if: startsWith(matrix.osarch, 'windows-')
# run: >
# dir "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.29.30133\bin\HostX64\x64"
# shell: cmd
# - name: Windows msbuild check11
# if: startsWith(matrix.osarch, 'windows-')
# 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: >
Expand All @@ -142,8 +142,14 @@ jobs:
- 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)
("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\arm64\arm64\dumpbin.exe" | findstr /i machine)
shell: cmd
- name: Windows ARCH 3
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\arm64\x64\dumpbin.exe" | findstr /i machine)
shell: cmd
- run: ls
- 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

0 comments on commit 245acfc

Please sign in to comment.