37
37
id : set-matrix
38
38
run : |
39
39
$matrix = @{
40
- 'os' = @('windows-latest ')
40
+ 'os' = @('windows-2019 ')
41
41
'pyver' = @("3.10")
42
42
'cuda' = @("11.8.0")
43
43
'releasetag' = @("basic")
78
78
- name : Setup Mamba
79
79
uses : conda-incubator/setup-miniconda@v3.0.4
80
80
with :
81
- activate-environment : ${{ github.event.inputs.target_folder }}\${{ github.event.inputs.env_name }}
81
+ activate-environment : ${{ github.event.inputs.target_folder }}\${{ github.event.inputs.env_name }}
82
82
python-version : ${{ matrix.pyver }}
83
83
miniforge-variant : Mambaforge
84
84
miniforge-version : latest
89
89
- name : VS Integration Cache
90
90
id : vs-integration-cache
91
91
if : runner.os == 'Windows'
92
- uses : actions/cache@v4
92
+ uses : actions/cache@v4.0.2
93
93
with :
94
94
path : ./MSBuildExtensions
95
95
key : cuda-${{ matrix.cuda }}-vs-integration
@@ -111,16 +111,16 @@ jobs:
111
111
(gi 'C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Microsoft\VC\*\BuildCustomizations').fullname.foreach({cp $y $_})
112
112
$cupath = 'CUDA_PATH_V' + $env:CUDAVER.Remove($env:CUDAVER.LastIndexOf('.')).Replace('.','_')
113
113
echo "$cupath=$env:CONDA_PREFIX" >> $env:GITHUB_ENV
114
-
114
+
115
115
- name : Install Dependencies
116
116
env :
117
117
MAMBA_DOWNLOAD_FAILFAST : " 0"
118
118
MAMBA_NO_LOW_SPEED_LIMIT : " 1"
119
+
119
120
run : |
120
121
$cudaVersion = $env:CUDAVER
121
122
mamba install -y 'cuda' -c nvidia/label/cuda-$cudaVersion
122
123
python -m pip install build wheel
123
-
124
124
- name : Build Wheel
125
125
run : |
126
126
$cudaVersion = $env:CUDAVER.Remove($env:CUDAVER.LastIndexOf('.')).Replace('.','')
@@ -146,13 +146,13 @@ jobs:
146
146
# write the build tag to the output
147
147
Write-Output "CUDA_VERSION=$cudaVersion" >> $env:GITHUB_ENV
148
148
149
- - uses : softprops/action-gh-release@v2
150
- with :
151
- files : dist/*
152
- # Set tag_name to <tag>-cu<cuda_version>
153
- tag_name : ${{ github.ref_name }}-cu${{ env.CUDA_VERSION }}
154
- env :
155
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
149
+ # - uses: softprops/action-gh-release@v2
150
+ # with:
151
+ # files: dist/*
152
+ # # Set tag_name to <tag>-cu<cuda_version>
153
+ # tag_name: ${{ github.ref_name }}-cu${{ env.CUDA_VERSION }}
154
+ # env:
155
+ # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
156
156
157
157
- name : Check for 7-Zip installation
158
158
run : |
0 commit comments