Skip to content

Commit 6982795

Browse files
committed
Change win to self-hosted
1 parent 3665622 commit 6982795

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/linux-python-package-conda.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ jobs:
105105
# - run: echo "${{steps.get-id.outputs.id}}"
106106

107107
- name: Setup Miniforge for python 3.12
108-
if: ${{ matrix.py-version }} == 312
108+
if: ${{ matrix.py-version == 312 }}
109109
uses: conda-incubator/setup-miniconda@v3
110110
with:
111111
miniforge-version: latest
@@ -114,7 +114,7 @@ jobs:
114114
activate-environment: true
115115

116116
- name: Setup Miniforge for python 3.13
117-
if: ${{ matrix.py-version }} == 313
117+
if: ${{ matrix.py-version == 313 }}
118118
uses: conda-incubator/setup-miniconda@v3
119119
with:
120120
miniforge-version: latest

.github/workflows/win-python-package-conda.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on: [push]
44

55
jobs:
66
build-win:
7-
runs-on: windows-latest
7+
runs-on: [ENRGK-PW11TEST1]
88
env:
99
build_file: python/.build/environment_win.yml
1010

@@ -46,7 +46,7 @@ jobs:
4646
working-directory: ${{ github.workspace }}/source/MagTenseFortranCuda/cuda
4747
run: |
4848
call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\Common7\Tools\VsDevCmd.bat"
49-
nvcc -c MagTenseCudaBlas.cu -ccbin "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.42.34438\bin\Hostx64\x64" -o MagTenseCudaBlas.o
49+
nvcc -c MagTenseCudaBlas.cu -o MagTenseCudaBlas.o
5050
5151
- name: Link Cuda wrapper in Developer PowerShell for VS 2022
5252
shell: pwsh -NoExit -ExecutionPolicy ByPass -File {0}

0 commit comments

Comments
 (0)