Skip to content

Commit

Permalink
plugins build set PYTHONPATH
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefan-Olt committed Jul 11, 2024
1 parent fa1f579 commit 465ffe7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/build-plugins.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ jobs:
gh release list --repo '${{ github.repository }}' | grep -m1 "vapoursynth-*" | cut -f3 | xargs -i gh release download {} --repo '${{ github.repository }}' --pattern 'vapoursynth-build-linux-x86_64*'
tar xzf vapoursynth-build-linux-x86_64.tar.gz
export PLUGIN_NAME=$(git show --name-only --pretty=format: | grep -m1 json | cut -d / -f 2 | cut -d . -f 1)
export PYTHONPATH=${{ github.workspace }}/workspace/lib/python3.10/site-packages
./vsp-build.py ${PLUGIN_NAME}
cd output
export PLUGIN_FILE=$(find *.zip | grep -m1 zip)
Expand Down
2 changes: 1 addition & 1 deletion plugins/nnedi3.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"tests": [
{
"name" : "process-blank",
"create_files" : ["nnedi3-test.vpy" ],
"create_files" : ["nnedi3-test.vpy"],
"commands": [
{ "cmd": [ "cp", "{BUILDDIR}/vapoursynth-nnedi3-12/src/nnedi3_weights.bin", "{TESTDIR}/nnedi3_weights.bin" ] },
{ "cwd": "{TESTDIR}", "cmd": ["{VSPIPE}", "nnedi3-test.vpy", "--"] }
Expand Down

0 comments on commit 465ffe7

Please sign in to comment.