Skip to content

Commit

Permalink
v
Browse files Browse the repository at this point in the history
  • Loading branch information
spollok committed Jan 25, 2025
1 parent dc1485f commit fd40dac
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/customized-win-shells.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down

0 comments on commit fd40dac

Please sign in to comment.