mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-16 12:55:53 +08:00
Explicitly build and copy OpenSSL shared OS specific
Contributes to CURA-9365
This commit is contained in:
parent
ce018da48f
commit
81aa56c259
12
.github/workflows/cura-installer.yml
vendored
12
.github/workflows/cura-installer.yml
vendored
@ -167,13 +167,19 @@ jobs:
|
|||||||
# OpenSSL statically for CPython, but our Python Dependenies (such as PyQt6) require a shared library.
|
# OpenSSL statically for CPython, but our Python Dependenies (such as PyQt6) require a shared library.
|
||||||
# Because Conan won't allow for building the same library with two different options (easily) we need to install it explicitly
|
# Because Conan won't allow for building the same library with two different options (easily) we need to install it explicitly
|
||||||
# and do a manual copy to the VirtualEnv, such that Pyinstaller can find it.
|
# and do a manual copy to the VirtualEnv, such that Pyinstaller can find it.
|
||||||
- name: Install OpenSSL shared
|
- name: Install OpenSSL shared (Bash)
|
||||||
|
if: ${{ runner.os != 'Windows' }}
|
||||||
|
run: |
|
||||||
|
conan install openssl/1.1.1l@_/_ --build=missing --update -o openssl:shared=True -g deploy
|
||||||
|
cp openssl/lib/*.so* ./cura_inst/bin/ 2> /dev/null
|
||||||
|
cp openssl/lib/*.dylib* ./cura_inst/bin/ 2> /dev/null
|
||||||
|
|
||||||
|
- name: Install OpenSSL shared (Powershell)
|
||||||
|
if: ${{ runner.os == 'Windows' }}
|
||||||
run: |
|
run: |
|
||||||
conan install openssl/1.1.1l@_/_ --build=missing --update -o openssl:shared=True -g deploy
|
conan install openssl/1.1.1l@_/_ --build=missing --update -o openssl:shared=True -g deploy
|
||||||
cp openssl/bin/*.dll ./cura_inst/Scripts/
|
cp openssl/bin/*.dll ./cura_inst/Scripts/
|
||||||
cp openssl/lib/*.lib ./cura_inst/Lib/
|
cp openssl/lib/*.lib ./cura_inst/Lib/
|
||||||
cp openssl/lib/*.so* ./cura_inst/bin/
|
|
||||||
cp openssl/lib/*.dylib* ./cura_inst/bin/
|
|
||||||
|
|
||||||
- name: Create the Cura dist
|
- name: Create the Cura dist
|
||||||
run: pyinstaller ./cura_inst/Ultimaker-Cura.spec
|
run: pyinstaller ./cura_inst/Ultimaker-Cura.spec
|
||||||
|
Loading…
x
Reference in New Issue
Block a user