Skip to content

Commit

Permalink
Added dlls from locally installed QT
Browse files Browse the repository at this point in the history
  • Loading branch information
nilshoffmann committed Jan 31, 2024
1 parent 8921c06 commit 7bde0db
Showing 1 changed file with 17 additions and 10 deletions.
27 changes: 17 additions & 10 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,14 +92,7 @@ jobs:
cache: "true"
cache-key-prefix: "install-qt"
set-env: "true"
dir: "${{ github.workspace }}"

- name: Attach QT directory to Build
uses: actions/upload-artifact@v4
# action zips automatically
with:
name: "Qt-${{ env.QT_VERSION }}"
path: "${{ github.workspace }}/Qt"
dir: ${{ runner.workspace }}

- uses: actions/checkout@v3
with:
Expand Down Expand Up @@ -138,8 +131,22 @@ jobs:
copy .\examples\ThreeStudies.xlsx "Build/LipidSpace/examples"
copy LICENSE* "Build/LipidSpace"
copy .\release\LipidSpace.exe "Build/LipidSpace"
ls "${{ github.workspace }}/Qt/"
powershell Copy-Item "${{ github.workspace }}/Qt/${{ env.QT_VERSION }}/${{ env.QT_ARCH }}"\* -Destination "Build/LipidSpace" -Recurse -force
powershell Copy-Item "${{ runner.workspace }}/Qt/${{ env.QT_VERSION }}/${{ env.QT_ARCH }}/plugins/platforms" -Destination "Build/LipidSpace" -Recurse -force
powershell Copy-Item "${{ runner.workspace }}/Qt/${{ env.QT_VERSION }}/${{ env.QT_ARCH }}/bin/d3dcompiler_47.dll" -Destination "Build/LipidSpace" -force
powershell Copy-Item "${{ runner.workspace }}/Qt/${{ env.QT_VERSION }}/${{ env.QT_ARCH }}/bin/libgcc_s_seh-1.dll" -Destination "Build/LipidSpace" -force
powershell Copy-Item "${{ runner.workspace }}/Qt/${{ env.QT_VERSION }}/${{ env.QT_ARCH }}/bin/libgomp-1.dll" -Destination "Build/LipidSpace" -force
powershell Copy-Item "${{ runner.workspace }}/Qt/${{ env.QT_VERSION }}/${{ env.QT_ARCH }}/bin/libstdc++-6.dll" -Destination "Build/LipidSpace" -force
powershell Copy-Item "${{ runner.workspace }}/Qt/${{ env.QT_VERSION }}/${{ env.QT_ARCH }}/bin/libwinpthread-1.dll" -Destination "Build/LipidSpace" -force
powershell Copy-Item "${{ runner.workspace }}/Qt/${{ env.QT_VERSION }}/${{ env.QT_ARCH }}/bin/opengl32sw.dll" -Destination "Build/LipidSpace" -force
powershell Copy-Item "${{ runner.workspace }}/Qt/${{ env.QT_VERSION }}/${{ env.QT_ARCH }}/bin/Qt6Core.dll" -Destination "Build/LipidSpace" -force
powershell Copy-Item "${{ runner.workspace }}/Qt/${{ env.QT_VERSION }}/${{ env.QT_ARCH }}/bin/Qt6Gui.dll" -Destination "Build/LipidSpace" -force
powershell Copy-Item "${{ runner.workspace }}/Qt/${{ env.QT_VERSION }}/${{ env.QT_ARCH }}/bin/Qt6Network.dll" -Destination "Build/LipidSpace" -force
powershell Copy-Item "${{ runner.workspace }}/Qt/${{ env.QT_VERSION }}/${{ env.QT_ARCH }}/bin/Qt6OpenGL.dll" -Destination "Build/LipidSpace" -force
powershell Copy-Item "${{ runner.workspace }}/Qt/${{ env.QT_VERSION }}/${{ env.QT_ARCH }}/bin/Qt6OpenGLWidgets.dll" -Destination "Build/LipidSpace" -force
powershell Copy-Item "${{ runner.workspace }}/Qt/${{ env.QT_VERSION }}/${{ env.QT_ARCH }}/bin/Qt6PrintSupport.dll" -Destination "Build/LipidSpace" -force
powershell Copy-Item "${{ runner.workspace }}/Qt/${{ env.QT_VERSION }}/${{ env.QT_ARCH }}/bin/Qt6Svg.dll" -Destination "Build/LipidSpace" -force
powershell Copy-Item "${{ runner.workspace }}/Qt/${{ env.QT_VERSION }}/${{ env.QT_ARCH }}/bin/Qt6SvgWidgets.dll" -Destination "Build/LipidSpace" -force
powershell Copy-Item "${{ runner.workspace }}/Qt/${{ env.QT_VERSION }}/${{ env.QT_ARCH }}/bin/Qt6Widgets.dll" -Destination "Build/LipidSpace" -force
powershell Compress-Archive "Build/LipidSpace" "Build/LipidSpace-${{ env.RELEASE_VERSION }}-${{ env.OS }}.zip" -force
shell: cmd

Expand Down

0 comments on commit 7bde0db

Please sign in to comment.