Skip to content

Commit

Permalink
.github/workflows/windows-ort.yml: separate uploading of plugin and r…
Browse files Browse the repository at this point in the history
…untime libraries
  • Loading branch information
WolframRhodium committed Apr 18, 2024
1 parent 0b3aa2b commit 444e166
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions .github/workflows/windows-ort.yml
Original file line number Diff line number Diff line change
Expand Up @@ -153,24 +153,31 @@ jobs:
run: |
cmake --install build --prefix install
mkdir artifact
mkdir artifact\vsort
mkdir libraries
mkdir libraries\vsort
copy install\bin\vsort.dll artifact\
copy onnxruntime-gpu\bin\*.dll artifact\vsort\
copy onnxruntime-gpu\lib\*.dll artifact\vsort\
copy onnxruntime-gpu\bin\*.dll libraries\vsort\
copy onnxruntime-gpu\lib\*.dll libraries\vsort\
- name: Download DirectML Library
# follows DirectML in https://github.com/AmusementClub/onnxruntime/blob/master/cmake/external/dml.cmake#L44
run: |
curl -s -o directml.nupkg -LJO https://www.nuget.org/api/v2/package/Microsoft.AI.DirectML/1.13.1
unzip -q directml.nupkg -d dml
copy dml\bin\x64-win\DirectML.dll artifact\vsort\
copy dml\bin\x64-win\DirectML.dll libraries\vsort\
- name: Upload
uses: actions/upload-artifact@v4
with:
name: VSORT-Windows-x64
path: vsort/artifact

- name: Upload runtime
uses: actions/upload-artifact@v4
with:
name: VSORT-Windows-x64
path: vsort/libraries

- name: Setup Python portable
run: |
curl -s -o python.zip -LJO https://www.python.org/ftp/python/3.9.10/python-3.9.10-embed-amd64.zip
Expand All @@ -185,7 +192,7 @@ jobs:
run: |
copy artifact\*.dll vs_portable\vapoursynth64\plugins
mkdir vs_portable\vapoursynth64\plugins\vsort\
copy artifact\vsort\*.dll vs_portable\vapoursynth64\plugins\vsort\
copy libraries\vsort\*.dll vs_portable\vapoursynth64\plugins\vsort\
- name: Install waifu2x model
run: |
Expand Down

0 comments on commit 444e166

Please sign in to comment.