Skip to content

Commit

Permalink
s
Browse files Browse the repository at this point in the history
  • Loading branch information
spollok committed Jan 25, 2025
1 parent 86290a7 commit e4e8393
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions .github/workflows/customized-win-shells.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ jobs:
activate-environment: magtense-env
auto-update-conda: true
python-version: 3.12
channels: conda-forge,nvidia/label/cuda-12.6.3

- name: Install minimal packages
shell: bash -el {0}
run: |
conda install -y -c nvidia/label/cuda-12.6.3 cuda-nvcc
conda install -y -c conda-forge make
conda install cuda-nvcc make
- name: Run x64 Native Tools Command Prompt for VS 2022
shell: cmd /k "{0}" -arch=amd64 -host_arch=x64
Expand All @@ -27,13 +27,22 @@ jobs:
call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\Common7\Tools\VsDevCmd.bat"
ls -al
LIB /VERBOSE
conda deactivate
conda activate magtense-env
nvcc --version
make cuda
ls -al
make
ls -al
- name: Run Command Prompt
shell: cmd
working-directory: ${{ github.workspace }}/source/MagTenseFortranCuda/cuda
run: |
nvcc -c MagTenseCudaBlas.cu -ccbin "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.42.34433\bin\Hostx64\x64"
make cuda
ls -al
make wrap
# - name: Run Developer PowerShell for VS 2022
# shell: pwsh -NoExit -ExecutionPolicy ByPass -File {0}
# run: |
Expand Down

0 comments on commit e4e8393

Please sign in to comment.