Skip to content

Commit

Permalink
Use normal command prompt
Browse files Browse the repository at this point in the history
  • Loading branch information
spollok committed Jan 27, 2025
1 parent 71febcb commit 458ba42
Showing 1 changed file with 14 additions and 9 deletions.
23 changes: 14 additions & 9 deletions .github/workflows/python-package-conda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,15 +42,20 @@ jobs:
cd ${{ github.workspace }}/source/MagTenseFortranCuda/cuda
make wrap
- name: Build Python wrapper in Developer PowerShell for VS 2022
shell: pwsh -NoExit -ExecutionPolicy ByPass -File {0}
run: |
cd "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\Common7\Tools\"
.\Launch-VsDevShell.ps1
cd ${{ github.workspace }}/python/src/magtense/lib/
conda deactivate
conda activate magtense-env
make cmdx64
- name: Build Python wrapper in Command Prompt
shell: cmd
working-directory: ${{ github.workspace }}/python/src/magtense/lib/
run: make cmdx64

# - name: Build Python wrapper in Developer PowerShell for VS 2022
# shell: pwsh -NoExit -ExecutionPolicy ByPass -File {0}
# run: |
# cd "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\Common7\Tools\"
# .\Launch-VsDevShell.ps1
# cd ${{ github.workspace }}/python/src/magtense/lib/
# conda deactivate
# conda activate magtense-env
# make cmdx64

# - name: Build Python wrapper in x64 Native Tools Command Prompt for VS 2022
# shell: cmd /k "{0}" -arch=amd64 -host_arch=x64
Expand Down

0 comments on commit 458ba42

Please sign in to comment.