From de1745311a24c54327feebc602225eeb8249d27d Mon Sep 17 00:00:00 2001 From: jmake Date: Tue, 3 May 2022 20:04:53 +0200 Subject: [PATCH 01/21] Create windowns_test01a.yml --- .github/workflows/windowns_test01a.yml | 36 ++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 .github/workflows/windowns_test01a.yml diff --git a/.github/workflows/windowns_test01a.yml b/.github/workflows/windowns_test01a.yml new file mode 100644 index 0000000..315d7e8 --- /dev/null +++ b/.github/workflows/windowns_test01a.yml @@ -0,0 +1,36 @@ +name: MSBuild + +on: + push: + branches: [ main ] + pull_request: + branches: [ main ] + +env: + # Path to the solution file relative to the root of the project. + SOLUTION_FILE_PATH: . + + # Configuration type to build. + # You can convert this to a build matrix if you need coverage of multiple configuration types. + # https://docs.github.com/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix + BUILD_CONFIGURATION: Release + +permissions: + contents: read + +jobs: + build: + runs-on: windows-latest + + steps: + + - name: Enviromental + shell: powershell + run: | + cmake --version + ls + ls C:\Miniconda + + - uses: actions/checkout@v3 + + From 66b9ebe0533e02650f167004acc4c704e8edfa51 Mon Sep 17 00:00:00 2001 From: jmake Date: Tue, 3 May 2022 20:14:50 +0200 Subject: [PATCH 02/21] Update windowns_test01a.yml --- .github/workflows/windowns_test01a.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/windowns_test01a.yml b/.github/workflows/windowns_test01a.yml index 315d7e8..bb45305 100644 --- a/.github/workflows/windowns_test01a.yml +++ b/.github/workflows/windowns_test01a.yml @@ -20,7 +20,7 @@ permissions: jobs: build: - runs-on: windows-latest + runs-on: windows-2019 steps: @@ -28,8 +28,11 @@ jobs: shell: powershell run: | cmake --version - ls - ls C:\Miniconda + ls -la + ls -la C:\Miniconda + + cl.exe + - uses: actions/checkout@v3 From a0dd86c6a9f0e5161dc779beffc800ae31e74c2b Mon Sep 17 00:00:00 2001 From: jmake Date: Tue, 3 May 2022 20:16:07 +0200 Subject: [PATCH 03/21] Update windowns_test01a.yml --- .github/workflows/windowns_test01a.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/windowns_test01a.yml b/.github/workflows/windowns_test01a.yml index bb45305..de11f64 100644 --- a/.github/workflows/windowns_test01a.yml +++ b/.github/workflows/windowns_test01a.yml @@ -28,8 +28,8 @@ jobs: shell: powershell run: | cmake --version - ls -la - ls -la C:\Miniconda + ls + ls C:\Miniconda cl.exe From 75369c4995dcfefa6174bf8d1e124f195eac727b Mon Sep 17 00:00:00 2001 From: jmake Date: Tue, 3 May 2022 20:26:29 +0200 Subject: [PATCH 04/21] Update windowns_test01a.yml --- .github/workflows/windowns_test01a.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/windowns_test01a.yml b/.github/workflows/windowns_test01a.yml index de11f64..e9b7c0c 100644 --- a/.github/workflows/windowns_test01a.yml +++ b/.github/workflows/windowns_test01a.yml @@ -24,6 +24,9 @@ jobs: steps: + - name: Add MSBuild to PATH + uses: microsoft/setup-msbuild@v1.0.2 + - name: Enviromental shell: powershell run: | @@ -31,6 +34,10 @@ jobs: ls ls C:\Miniconda + ## + ## https://docs.microsoft.com/en-us/cpp/build/building-on-the-command-line?view=msvc-170 + ## + msbuild.exe cl.exe From 6363a8e213b0d327c39c719f8817f3af17df835b Mon Sep 17 00:00:00 2001 From: jmake Date: Tue, 3 May 2022 20:33:11 +0200 Subject: [PATCH 05/21] Update windowns_test01a.yml --- .github/workflows/windowns_test01a.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/windowns_test01a.yml b/.github/workflows/windowns_test01a.yml index e9b7c0c..84f10a0 100644 --- a/.github/workflows/windowns_test01a.yml +++ b/.github/workflows/windowns_test01a.yml @@ -38,7 +38,13 @@ jobs: ## https://docs.microsoft.com/en-us/cpp/build/building-on-the-command-line?view=msvc-170 ## msbuild.exe - cl.exe + + ## https://code.visualstudio.com/docs/cpp/config-msvc#_run-vs-code-outside-the-developer-command-prompt + ls C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/Common7/Tools/ + + ls %programfiles(x86)%\Microsoft Visual Studio\2019\Enterprise\MSBuild\Current\Bin\ + + #cl.exe - uses: actions/checkout@v3 From 894d6f6001bcabca34e18fce41192ae85bcdbde2 Mon Sep 17 00:00:00 2001 From: jmake Date: Tue, 3 May 2022 20:39:57 +0200 Subject: [PATCH 06/21] Update windowns_test01a.yml --- .github/workflows/windowns_test01a.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/windowns_test01a.yml b/.github/workflows/windowns_test01a.yml index 84f10a0..2f4d19b 100644 --- a/.github/workflows/windowns_test01a.yml +++ b/.github/workflows/windowns_test01a.yml @@ -26,6 +26,10 @@ jobs: - name: Add MSBuild to PATH uses: microsoft/setup-msbuild@v1.0.2 + + - name: clexe + run: | + C:\ProgramData\Chocolatey\bin\vswhere.exe -products * -requires Component.Linux.CMake -property installationPath -latest - name: Enviromental shell: powershell From b0cabe04ba338d27f9f6f259cbdf8fec14a01f18 Mon Sep 17 00:00:00 2001 From: jmake Date: Tue, 3 May 2022 20:48:06 +0200 Subject: [PATCH 07/21] Update windowns_test01a.yml --- .github/workflows/windowns_test01a.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/windowns_test01a.yml b/.github/workflows/windowns_test01a.yml index 2f4d19b..63bfa67 100644 --- a/.github/workflows/windowns_test01a.yml +++ b/.github/workflows/windowns_test01a.yml @@ -27,9 +27,15 @@ jobs: - name: Add MSBuild to PATH uses: microsoft/setup-msbuild@v1.0.2 - - name: clexe + - name: cmake ? run: | C:\ProgramData\Chocolatey\bin\vswhere.exe -products * -requires Component.Linux.CMake -property installationPath -latest + cmake --version + + - name: clexe + run: | + C:\ProgramData\Chocolatey\bin\vswhere.exe -products * -requires Microsoft.VisualStudio.Component.VC.14.25.x86.x64 -property installationPath -latest + cl.exe - name: Enviromental shell: powershell @@ -44,7 +50,7 @@ jobs: msbuild.exe ## https://code.visualstudio.com/docs/cpp/config-msvc#_run-vs-code-outside-the-developer-command-prompt - ls C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/Common7/Tools/ + #ls C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/Common7/Tools/ ls %programfiles(x86)%\Microsoft Visual Studio\2019\Enterprise\MSBuild\Current\Bin\ From f3aa3772fde01a0abe58500e3ad07a5b8561d4b4 Mon Sep 17 00:00:00 2001 From: jmake Date: Tue, 3 May 2022 20:50:56 +0200 Subject: [PATCH 08/21] Update windowns_test01a.yml --- .github/workflows/windowns_test01a.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/windowns_test01a.yml b/.github/workflows/windowns_test01a.yml index 63bfa67..3494e7e 100644 --- a/.github/workflows/windowns_test01a.yml +++ b/.github/workflows/windowns_test01a.yml @@ -35,6 +35,9 @@ jobs: - name: clexe run: | C:\ProgramData\Chocolatey\bin\vswhere.exe -products * -requires Microsoft.VisualStudio.Component.VC.14.25.x86.x64 -property installationPath -latest + + ls "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise" + cl.exe - name: Enviromental From a0c46a7b2abb1d82d27eaf76f4da182cd5ac256e Mon Sep 17 00:00:00 2001 From: jmake Date: Tue, 3 May 2022 20:54:15 +0200 Subject: [PATCH 09/21] Update windowns_test01a.yml --- .github/workflows/windowns_test01a.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/windowns_test01a.yml b/.github/workflows/windowns_test01a.yml index 3494e7e..78e6521 100644 --- a/.github/workflows/windowns_test01a.yml +++ b/.github/workflows/windowns_test01a.yml @@ -36,9 +36,9 @@ jobs: run: | C:\ProgramData\Chocolatey\bin\vswhere.exe -products * -requires Microsoft.VisualStudio.Component.VC.14.25.x86.x64 -property installationPath -latest - ls "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise" + ls "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC" - cl.exe + #cl.exe - name: Enviromental shell: powershell From 905d0382f4354226dbffda9a3dfab5db288e030f Mon Sep 17 00:00:00 2001 From: jmake Date: Tue, 3 May 2022 20:58:15 +0200 Subject: [PATCH 10/21] Update windowns_test01a.yml --- .github/workflows/windowns_test01a.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/windowns_test01a.yml b/.github/workflows/windowns_test01a.yml index 78e6521..e6f3aea 100644 --- a/.github/workflows/windowns_test01a.yml +++ b/.github/workflows/windowns_test01a.yml @@ -36,7 +36,7 @@ jobs: run: | C:\ProgramData\Chocolatey\bin\vswhere.exe -products * -requires Microsoft.VisualStudio.Component.VC.14.25.x86.x64 -property installationPath -latest - ls "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC" + ls "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools" #cl.exe @@ -55,7 +55,7 @@ jobs: ## https://code.visualstudio.com/docs/cpp/config-msvc#_run-vs-code-outside-the-developer-command-prompt #ls C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/Common7/Tools/ - ls %programfiles(x86)%\Microsoft Visual Studio\2019\Enterprise\MSBuild\Current\Bin\ + ls "%programfiles(x86)%\Microsoft Visual Studio\2019\Enterprise\MSBuild\Current\Bin" #cl.exe From d31feb2c5bff8d54f6d7696f982daf3cc7bfdf5e Mon Sep 17 00:00:00 2001 From: jmake Date: Tue, 3 May 2022 21:02:43 +0200 Subject: [PATCH 11/21] Update windowns_test01a.yml --- .github/workflows/windowns_test01a.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/windowns_test01a.yml b/.github/workflows/windowns_test01a.yml index e6f3aea..4fd3a65 100644 --- a/.github/workflows/windowns_test01a.yml +++ b/.github/workflows/windowns_test01a.yml @@ -36,9 +36,14 @@ jobs: run: | C:\ProgramData\Chocolatey\bin\vswhere.exe -products * -requires Microsoft.VisualStudio.Component.VC.14.25.x86.x64 -property installationPath -latest - ls "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools" + ls "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC" #cl.exe + + -name: gcc + C:\ProgramData\Chocolatey\bin\vswhere.exe -products * -requires Component.MDD.Linux.GCC.arm -property installationPath -latest + + gcc.exe --version - name: Enviromental shell: powershell @@ -50,12 +55,12 @@ jobs: ## ## https://docs.microsoft.com/en-us/cpp/build/building-on-the-command-line?view=msvc-170 ## - msbuild.exe + #msbuild.exe ## https://code.visualstudio.com/docs/cpp/config-msvc#_run-vs-code-outside-the-developer-command-prompt #ls C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/Common7/Tools/ - ls "%programfiles(x86)%\Microsoft Visual Studio\2019\Enterprise\MSBuild\Current\Bin" + #ls "%programfiles(x86)%\Microsoft Visual Studio\2019\Enterprise\MSBuild\Current\Bin" #cl.exe From 0a5f469335e1cc03b217a9b9d3c5f9f57fb03102 Mon Sep 17 00:00:00 2001 From: jmake Date: Tue, 3 May 2022 21:05:36 +0200 Subject: [PATCH 12/21] Update windowns_test01a.yml --- .github/workflows/windowns_test01a.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/windowns_test01a.yml b/.github/workflows/windowns_test01a.yml index 4fd3a65..b3ae2c3 100644 --- a/.github/workflows/windowns_test01a.yml +++ b/.github/workflows/windowns_test01a.yml @@ -40,11 +40,12 @@ jobs: #cl.exe - -name: gcc + - name: gcc + run: | C:\ProgramData\Chocolatey\bin\vswhere.exe -products * -requires Component.MDD.Linux.GCC.arm -property installationPath -latest - gcc.exe --version + - name: Enviromental shell: powershell run: | From 6b3fe6bd0a4295c69887e0ab19f9b926cf784bda Mon Sep 17 00:00:00 2001 From: jmake Date: Tue, 3 May 2022 21:14:44 +0200 Subject: [PATCH 13/21] Update windowns_test01a.yml --- .github/workflows/windowns_test01a.yml | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/.github/workflows/windowns_test01a.yml b/.github/workflows/windowns_test01a.yml index b3ae2c3..ca810ce 100644 --- a/.github/workflows/windowns_test01a.yml +++ b/.github/workflows/windowns_test01a.yml @@ -26,23 +26,26 @@ jobs: - name: Add MSBuild to PATH uses: microsoft/setup-msbuild@v1.0.2 - - - name: cmake ? - run: | - C:\ProgramData\Chocolatey\bin\vswhere.exe -products * -requires Component.Linux.CMake -property installationPath -latest - cmake --version + - name: clexe run: | C:\ProgramData\Chocolatey\bin\vswhere.exe -products * -requires Microsoft.VisualStudio.Component.VC.14.25.x86.x64 -property installationPath -latest - ls "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC" + ls "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.29.30133" + + ls "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliar" #cl.exe - - name: gcc + - name: cmake ?? + run: | + C:\ProgramData\Chocolatey\bin\vswhere.exe -products * -requires Microsoft.VisualStudio.Component.VC.Llvm.Clang -property installationPath -latest + clang --help + + - name: gccexe run: | - C:\ProgramData\Chocolatey\bin\vswhere.exe -products * -requires Component.MDD.Linux.GCC.arm -property installationPath -latest + #C:\ProgramData\Chocolatey\bin\vswhere.exe -products * -requires Component.MDD.Linux.GCC.arm -property installationPath -latest gcc.exe --version From 792b9fda2e8bd07fee48e9012ee875012ca2cd6f Mon Sep 17 00:00:00 2001 From: jmake Date: Tue, 3 May 2022 21:17:15 +0200 Subject: [PATCH 14/21] Update windowns_test01a.yml --- .github/workflows/windowns_test01a.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/windowns_test01a.yml b/.github/workflows/windowns_test01a.yml index ca810ce..e35a38c 100644 --- a/.github/workflows/windowns_test01a.yml +++ b/.github/workflows/windowns_test01a.yml @@ -32,9 +32,9 @@ jobs: run: | C:\ProgramData\Chocolatey\bin\vswhere.exe -products * -requires Microsoft.VisualStudio.Component.VC.14.25.x86.x64 -property installationPath -latest - ls "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.29.30133" + ls "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.29.30133\Auxiliary" - ls "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliar" + ls "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\" #cl.exe From 4c6ae84c19446d82fc35e7a5a325c46c432f9db1 Mon Sep 17 00:00:00 2001 From: jmake Date: Tue, 3 May 2022 21:20:19 +0200 Subject: [PATCH 15/21] Update windowns_test01a.yml --- .github/workflows/windowns_test01a.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/windowns_test01a.yml b/.github/workflows/windowns_test01a.yml index e35a38c..37f50bc 100644 --- a/.github/workflows/windowns_test01a.yml +++ b/.github/workflows/windowns_test01a.yml @@ -30,11 +30,13 @@ jobs: - name: clexe run: | - C:\ProgramData\Chocolatey\bin\vswhere.exe -products * -requires Microsoft.VisualStudio.Component.VC.14.25.x86.x64 -property installationPath -latest + #C:\ProgramData\Chocolatey\bin\vswhere.exe -products * -requires Microsoft.VisualStudio.Component.VC.14.25.x86.x64 -property installationPath -latest - ls "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.29.30133\Auxiliary" + #ls "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.29.30133\Auxiliary" - ls "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\" + ls "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary" + + ls "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build" #cl.exe From f7a707a38f82cbcdb953a642b4438f149232ef8b Mon Sep 17 00:00:00 2001 From: jmake Date: Tue, 3 May 2022 21:55:50 +0200 Subject: [PATCH 16/21] Update windowns_test01a.yml --- .github/workflows/windowns_test01a.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/windowns_test01a.yml b/.github/workflows/windowns_test01a.yml index 37f50bc..65bb92a 100644 --- a/.github/workflows/windowns_test01a.yml +++ b/.github/workflows/windowns_test01a.yml @@ -38,6 +38,8 @@ jobs: ls "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build" + "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" x64 + #cl.exe - name: cmake ?? From bb4eb9a2f52f8352de5f67c42a17994968e3a4af Mon Sep 17 00:00:00 2001 From: jmake Date: Tue, 3 May 2022 21:58:21 +0200 Subject: [PATCH 17/21] Update windowns_test01a.yml --- .github/workflows/windowns_test01a.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/windowns_test01a.yml b/.github/workflows/windowns_test01a.yml index 65bb92a..5add1c8 100644 --- a/.github/workflows/windowns_test01a.yml +++ b/.github/workflows/windowns_test01a.yml @@ -38,9 +38,9 @@ jobs: ls "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build" - "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" x64 + "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvarsamd64_x86.bat" - #cl.exe + cl.exe - name: cmake ?? run: | From cca48c1d11eb7e51f8d54def7fb58b72ec6f0e87 Mon Sep 17 00:00:00 2001 From: jmake Date: Tue, 3 May 2022 22:02:37 +0200 Subject: [PATCH 18/21] Update windowns_test01a.yml --- .github/workflows/windowns_test01a.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/windowns_test01a.yml b/.github/workflows/windowns_test01a.yml index 5add1c8..1d8e378 100644 --- a/.github/workflows/windowns_test01a.yml +++ b/.github/workflows/windowns_test01a.yml @@ -40,7 +40,10 @@ jobs: "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvarsamd64_x86.bat" - cl.exe + #cl.exe + + dir "\VsDevCmd*" /s + - name: cmake ?? run: | From dc8b389c8f2cce48d47844a5846719fd6270557a Mon Sep 17 00:00:00 2001 From: jmake Date: Tue, 3 May 2022 22:23:02 +0200 Subject: [PATCH 19/21] Update windowns_test01a.yml --- .github/workflows/windowns_test01a.yml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/.github/workflows/windowns_test01a.yml b/.github/workflows/windowns_test01a.yml index 1d8e378..0c2bd8a 100644 --- a/.github/workflows/windowns_test01a.yml +++ b/.github/workflows/windowns_test01a.yml @@ -42,9 +42,20 @@ jobs: #cl.exe - dir "\VsDevCmd*" /s + #dir "\VsDevCmd*" /s + C:\ProgramData\Chocolatey\bin\vswhere.exe -products * -requires Microsoft.VisualStudio.Component.VC.v141.x86.x64 -property installationPath -latest + + C:\ProgramData\Chocolatey\bin\vswhere.exe -products * -requires Microsoft.VisualStudio.Component.Windows10SDK.19041 -property installationPath -latest + C:\ProgramData\Chocolatey\bin\vswhere.exe -products * -requires Microsoft.VisualStudio.Component.VC.CMake.Project -property installationPath -latest + C:\ProgramData\Chocolatey\bin\vswhere.exe -products * -requires Microsoft.VisualStudio.Component.VC.ASAN -property installationPath -latest + #C:\ProgramData\Chocolatey\bin\vswhere.exe -products * -requires Microsoft.VisualStudio.ComponentGroup.NativeDesktop.Core -property installationPath -latest + #C:\ProgramData\Chocolatey\bin\vswhere.exe -products * -requires -property installationPath -latest + + cl.exe + + - name: cmake ?? run: | C:\ProgramData\Chocolatey\bin\vswhere.exe -products * -requires Microsoft.VisualStudio.Component.VC.Llvm.Clang -property installationPath -latest From 28d149c87234f16e7136553613b8d72a7a145fe9 Mon Sep 17 00:00:00 2001 From: jmake Date: Tue, 3 May 2022 22:27:34 +0200 Subject: [PATCH 20/21] Update windowns_test01a.yml --- .github/workflows/windowns_test01a.yml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/.github/workflows/windowns_test01a.yml b/.github/workflows/windowns_test01a.yml index 0c2bd8a..ae66cde 100644 --- a/.github/workflows/windowns_test01a.yml +++ b/.github/workflows/windowns_test01a.yml @@ -34,25 +34,32 @@ jobs: #ls "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.29.30133\Auxiliary" - ls "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary" + #ls "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary" - ls "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build" + #ls "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build" - "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvarsamd64_x86.bat" + #"C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvarsamd64_x86.bat" #cl.exe #dir "\VsDevCmd*" /s + echo "VC.v141.x86.x64" C:\ProgramData\Chocolatey\bin\vswhere.exe -products * -requires Microsoft.VisualStudio.Component.VC.v141.x86.x64 -property installationPath -latest + echo "Windows10SDK " C:\ProgramData\Chocolatey\bin\vswhere.exe -products * -requires Microsoft.VisualStudio.Component.Windows10SDK.19041 -property installationPath -latest + + echo "CMake" C:\ProgramData\Chocolatey\bin\vswhere.exe -products * -requires Microsoft.VisualStudio.Component.VC.CMake.Project -property installationPath -latest + + echo "ASAN " C:\ProgramData\Chocolatey\bin\vswhere.exe -products * -requires Microsoft.VisualStudio.Component.VC.ASAN -property installationPath -latest #C:\ProgramData\Chocolatey\bin\vswhere.exe -products * -requires Microsoft.VisualStudio.ComponentGroup.NativeDesktop.Core -property installationPath -latest #C:\ProgramData\Chocolatey\bin\vswhere.exe -products * -requires -property installationPath -latest + echo "clexe" cl.exe From 7ccc5ec0a5a41e43420281f5a482f57da17e2b88 Mon Sep 17 00:00:00 2001 From: jmake Date: Wed, 4 May 2022 17:10:13 +0200 Subject: [PATCH 21/21] Update windowns_test01a.yml --- .github/workflows/windowns_test01a.yml | 38 ++++++++++++++++++-------- 1 file changed, 26 insertions(+), 12 deletions(-) diff --git a/.github/workflows/windowns_test01a.yml b/.github/workflows/windowns_test01a.yml index ae66cde..8716b72 100644 --- a/.github/workflows/windowns_test01a.yml +++ b/.github/workflows/windowns_test01a.yml @@ -29,6 +29,7 @@ jobs: - name: clexe + shell: powershell run: | #C:\ProgramData\Chocolatey\bin\vswhere.exe -products * -requires Microsoft.VisualStudio.Component.VC.14.25.x86.x64 -property installationPath -latest @@ -43,22 +44,35 @@ jobs: #cl.exe #dir "\VsDevCmd*" /s - - - echo "VC.v141.x86.x64" - C:\ProgramData\Chocolatey\bin\vswhere.exe -products * -requires Microsoft.VisualStudio.Component.VC.v141.x86.x64 -property installationPath -latest - echo "Windows10SDK " - C:\ProgramData\Chocolatey\bin\vswhere.exe -products * -requires Microsoft.VisualStudio.Component.Windows10SDK.19041 -property installationPath -latest - - echo "CMake" - C:\ProgramData\Chocolatey\bin\vswhere.exe -products * -requires Microsoft.VisualStudio.Component.VC.CMake.Project -property installationPath -latest - - echo "ASAN " - C:\ProgramData\Chocolatey\bin\vswhere.exe -products * -requires Microsoft.VisualStudio.Component.VC.ASAN -property installationPath -latest + #echo "VC.v141.x86.x64" + #C:\ProgramData\Chocolatey\bin\vswhere.exe -products * -requires Microsoft.VisualStudio.Component.VC.v141.x86.x64 -property installationPath -latest + # + #echo "Windows10SDK " + #C:\ProgramData\Chocolatey\bin\vswhere.exe -products * -requires Microsoft.VisualStudio.Component.Windows10SDK.19041 -property installationPath -latest + # + #echo "CMake" + #C:\ProgramData\Chocolatey\bin\vswhere.exe -products * -requires Microsoft.VisualStudio.Component.VC.CMake.Project -property installationPath -latest + # + #echo "ASAN " + #C:\ProgramData\Chocolatey\bin\vswhere.exe -products * -requires Microsoft.VisualStudio.Component.VC.ASAN -property installationPath -latest #C:\ProgramData\Chocolatey\bin\vswhere.exe -products * -requires Microsoft.VisualStudio.ComponentGroup.NativeDesktop.Core -property installationPath -latest #C:\ProgramData\Chocolatey\bin\vswhere.exe -products * -requires -property installationPath -latest + $VSWHERE="C:\ProgramData\Chocolatey\bin\vswhere.exe" + $VSInstanceDir = &($VSWHERE) -products * -requires Microsoft.VisualStudio.Component.VC.Tools.x86.x64 -property installationPath -latest + Write-Output "[VSInstanceDir]:'$VSInstanceDir' " + + $path = &($VSWHERE) -latest -products * -requires Microsoft.VisualStudio.Component.VC.Tools.x86.x64 -property installationPath + if ($path) { + $path = join-path $path 'Common7\Tools\vsdevcmd.bat' + if (test-path $path) { + cmd /s /c """$path"" $args && set" | where { $_ -match '(\w+)=(.*)' } | foreach { + $null = new-item -force -path "Env:\$($Matches[1])" -value $Matches[2] + } + } + } + echo "clexe" cl.exe