From fd40dac272f30141d6b3c4245095e2034b578ea5 Mon Sep 17 00:00:00 2001 From: spol Date: Sat, 25 Jan 2025 10:22:59 +0100 Subject: [PATCH] v --- .github/workflows/customized-win-shells.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/customized-win-shells.yml b/.github/workflows/customized-win-shells.yml index 418d340..d34238d 100644 --- a/.github/workflows/customized-win-shells.yml +++ b/.github/workflows/customized-win-shells.yml @@ -18,24 +18,24 @@ jobs: - name: Install minimal packages shell: bash -el {0} run: | - conda install cuda-nvcc make vs2022_win-64 - - - name: Run x64 Native Tools Command Prompt for VS 2022 - shell: cmd /k "{0}" -arch=amd64 -host_arch=x64 - working-directory: ${{ github.workspace }}/source/MagTenseFortranCuda/cuda - run: | - call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\Common7\Tools\VsDevCmd.bat" - ls -al && LIB /VERBOSE && nvcc --version && make cuda && ls -al && make && ls -al + conda install cuda-nvcc libcusparse-dev libcublas-dev cuda-cudart-dev make vs2022_win-64 - name: Run Command Prompt shell: bash -el {0} working-directory: ${{ github.workspace }}/source/MagTenseFortranCuda/cuda run: | - conda list nvcc -c MagTenseCudaBlas.cu -ccbin "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.42.34433\bin\Hostx64\x64" + ls -al + make clean make cuda ls -al - make wrap + + - name: Run x64 Native Tools Command Prompt for VS 2022 + shell: cmd /k "{0}" -arch=amd64 -host_arch=x64 + working-directory: ${{ github.workspace }}/source/MagTenseFortranCuda/cuda + run: | + call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\Common7\Tools\VsDevCmd.bat" + nvcc && make cuda # - name: Run Developer PowerShell for VS 2022 # shell: pwsh -NoExit -ExecutionPolicy ByPass -File {0}