diff --git a/.github/workflows/pyinstaller.yml b/.github/workflows/pyinstaller.yml index 10f327b..2833012 100644 --- a/.github/workflows/pyinstaller.yml +++ b/.github/workflows/pyinstaller.yml @@ -65,6 +65,7 @@ jobs: pip install path - name: Run build run: | + Get-ChildItem -Path C:\ -Filter libcasadi.dll -Recurse pyinstaller pyinstaller.spec ${{ github.event.inputs.type }} - uses: actions/upload-artifact@v2 with: diff --git a/pyinstaller.spec b/pyinstaller.spec index 839a89e..cb3b0e9 100644 --- a/pyinstaller.spec +++ b/pyinstaller.spec @@ -48,10 +48,10 @@ hidden_imports_numpy = collect_submodules('numpy') hidden_imports = hidden_imports + hidden_imports_numpy if sys.platform == 'win32': - dlls = [('\\casadi\\libcasadi.dll', '.'), - ('casadi\\libcasadi_nlpsol_ipopt.dll', '.'), - ('\casadi\\libgfortran-3.dll', '.'), - ('\\casadi\\libquadmath-0.dll', '.')] + dlls = [('libcasadi.dll', '.'), + ('libcasadi_nlpsol_ipopt.dll', '.'), + ('libgfortran-3.dll', '.'), + ('libquadmath-0.dll', '.')] else: dlls = []