201 Commits

Author SHA1 Message Date
Jelle Spijker
5dbef74e22 Merge branch '5.1' into CURA-9342_add_missing_openssl_1_1_1l_shared_library 2022-07-15 15:46:10 +02:00
j.spijker@ultimaker.com
0793572dc3 Limit the number of commits to checkout to 3000
Should speed up this workflow

Seems like a reasonable number (for Cura) at the
time of writing that would include up until 4.13.1

Contributes to CURA-9459
2022-07-15 13:52:21 +02:00
j.spijker@ultimaker.com
c01410146d Checkout the repo, needed by setup python
Contributes to CURA-9459
2022-07-15 13:44:12 +02:00
j.spijker@ultimaker.com
b2531c851f Run unit tests as a composite action
To avoid conflicts between the Cura Python modules and the
EnricoMi/publish-unit-test-result-action

Contributes to CURA-9459
2022-07-15 13:39:36 +02:00
j.spijker@ultimaker.com
a0d775b90e Update workflows
Contributes to CURA-9365
2022-07-15 10:03:37 +02:00
Jelle Spijker
4093e1e808
Merge branch '5.1' into CURA-9342_add_missing_openssl_1_1_1l_shared_library 2022-07-14 17:39:28 +02:00
j.spijker@ultimaker.com
e0c7259149
Notify on success
Contributes to CURA-9365
2022-07-14 16:28:08 +02:00
j.spijker@ultimaker.com
77979c384d
Lowercase username
Contributes to CURA-9365

(cherry picked from commit f5a559179bac2e638e62c6a41adf22dcb3ec3bdf)
2022-07-14 15:47:24 +02:00
j.spijker@ultimaker.com
7068c87130
Add copied openssl 1.1.1l binaries to pyinstall binaries
Contributes to CURA-9342
2022-07-14 10:38:59 +02:00
j.spijker@ultimaker.com
57a0c214d1
Add option for additional conan install args
Contributes to CURA-9365
2022-07-14 09:25:24 +02:00
j.spijker@ultimaker.com
7f1e17b820
Add option for additional conan install args
Contributes to CURA-9365

(cherry picked from commit 0d4a8796328769a57746248cc8449eb56882d4c6)
2022-07-14 09:25:05 +02:00
Jelle Spijker
9cb8e4d742
Merge branch '5.1' into CURA-9342_add_missing_openssl_1_1_1l_shared_library 2022-07-14 09:20:42 +02:00
j.spijker@ultimaker.com
b3cc3818b5
various fixes to workflow
Contributes to CURA-9365
2022-07-14 09:18:37 +02:00
Jelle Spijker
7dc378fb4c
remove reference to curaengine
copy-paste left over
2022-07-13 19:31:01 +02:00
Jelle Spijker
8492b2f11f
Use workflow from main 2022-07-13 18:57:46 +02:00
Jelle Spijker
771856fd60
Use workflow from main 2022-07-13 18:56:24 +02:00
Jelle Spijker
0140c2a601
allow copy to fail 2022-07-13 18:53:06 +02:00
j.spijker@ultimaker.com
6b31e6a776 Split up OpenSSL install and copy
Contributes to CURA-9365
2022-07-13 16:32:18 +02:00
j.spijker@ultimaker.com
81aa56c259 Explicitly build and copy OpenSSL shared OS specific
Contributes to CURA-9365
2022-07-13 15:27:57 +02:00
j.spijker@ultimaker.com
ce018da48f Explicitly build and copy OpenSSL shared
This is a workaround to ensure that we use and pack a shared library for OpenSSL 1.1.1l.
We currently compile 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 and do a manual copy
to the VirtualEnv, such that Pyinstaller can find it.

Contributes to CURA-9365
2022-07-13 15:01:26 +02:00
c.lamboo
2a2945bcfe Attempt to fix tests
Remove `gitpython` from requirements-conan-package.txt and install it manually instead
2022-07-13 09:25:16 +02:00
j.spijker@ultimaker.com
51da6ca87b remove single quotes
Contributes to CURA-9365
2022-07-12 11:49:39 +02:00
j.spijker@ultimaker.com
8ae326d7a5 use the job outputs
Contributes to CURA-9365
2022-07-12 11:45:55 +02:00
j.spijker@ultimaker.com
b3c60eb34b Get correct issue number from PR
Contributes to CURA-9365
2022-07-12 11:35:08 +02:00
Jaime van Kessel
ecee9181b9
Merge pull request #12736 from Ultimaker/CURA-9205_appimage_not_launching_on_ubuntu_2204
Cura 9205 appimage not launching on ubuntu 2204
2022-07-12 11:19:45 +02:00
j.spijker@ultimaker.com
2263407856 Count from latest tag
This can result in a strange versioning compared
to the previous 5.1.0 beta,

but it will only be cosmetic

Contributes to CURA-9365
2022-07-12 11:16:06 +02:00
j.spijker@ultimaker.com
cf9482218f fix typo
Contributes to CURA-9365
2022-07-12 11:11:26 +02:00
j.spijker@ultimaker.com
fcc1a38e3f Use the latest prerelease but count from the latest stable
Contributes to CURA-9365
2022-07-12 11:08:22 +02:00
j.spijker@ultimaker.com
5dd1798979 Use the input for the project name
Contributes to CURA-9365
2022-07-12 11:04:11 +02:00
j.spijker@ultimaker.com
fbf49221b5 Count from the latest stable release
Contributes to CURA-9365
2022-07-12 11:04:11 +02:00
j.spijker@ultimaker.com
ba1e4eb39f use the first index
Contributes to CURA-9365
2022-07-12 10:58:25 +02:00
j.spijker@ultimaker.com
36c4c56abb Use custom versioning system
We already had to customize to much, it isn't worth
the effort to continue with GitVersion

The script still has some issues when a tag is pushed

Contributes to CURA-9365
2022-07-12 10:55:05 +02:00
j.spijker@ultimaker.com
479679b018 Also add libegl-dev to Linux system req
Contributes to CURA-9205
2022-07-11 12:04:15 +02:00
j.spijker@ultimaker.com
4c6ad9f4d6 Specify Ubuntu 22.04 explicitly
The latest points to 22.04, which is the latest stable GH runner

Contributes to CURA-9205
2022-07-11 11:11:17 +02:00
j.spijker@ultimaker.com
5e40f2eaec Build an AppImage with the latest Ubuntu
Instead of trying to support multiple libstdc++ or ship or own (bad pratcice in general)
an easy solution could be to provide two different AppImage's, were one is build on the
latest Ubuntu runner.

This should fix #11856 for the 5.1.0 release, but I don't consider this a permanent and/or
sustainable solution. We should still create a ticket on the backlog to solves this issue
in a more generic way and future-proof way.

Contributes to CURA-9205
2022-07-11 10:09:18 +02:00
j.spijker@ultimaker.com
db67c1f66a Don't run with the conan config for powershell
Contributes to CURA-9365
2022-07-08 18:56:50 +02:00
j.spijker@ultimaker.com
c4d78529e0 Use conan-recipe-version from CURA-9365
Contributes to CURA-9365
2022-07-08 18:39:07 +02:00
j.spijker@ultimaker.com
1066e6a99f Add libEGL to system deps for Linux
Contributes to CURA-9365
2022-07-08 09:33:17 +02:00
j.spijker@ultimaker.com
1c77eb07a4 Use VirtualPythonEnv
Contributes to CURA-9365
2022-07-07 20:08:30 +02:00
jspijker
593ba0ec36 Revert "Also create package when unit-test workflow is changed"
This reverts commit ab4c62e46fa685b910c7fdf85302040ad4aa7bc3.
2022-07-07 19:52:00 +02:00
j.spijker@ultimaker.com
cbe8a90b35 Use local folder
Contributes to CURA-9365
2022-07-07 19:51:38 +02:00
j.spijker@ultimaker.com
ab4c62e46f Also create package when unit-test workflow is changed
needed due to the install without a dot

Contributes to CURA-9365
2022-07-07 17:20:48 +02:00
j.spijker@ultimaker.com
dea224718b Use the exported package
Since the VirtualPythonEnv seems to be broken

Contributes to CURA-9365
2022-07-07 17:19:38 +02:00
Jelle Spijker
c16e1fcf60
Use venv folder 2022-07-07 17:08:21 +02:00
j.spijker@ultimaker.com
d84133c484 Remove redundant options for conan install
Contributes to CURA-9365
2022-07-07 17:00:36 +02:00
j.spijker@ultimaker.com
7ed81f0110 Also test when unit-test workflow changes
Contributes to CURA-9365
2022-07-07 16:57:08 +02:00
j.spijker@ultimaker.com
df5446b4c6 Add unit-tests
Contributes to CURA-9365
2022-07-07 16:55:41 +02:00
j.spijker@ultimaker.com
7405b55d7d
Fix missing dash
Contributes to CURA-9365
2022-07-06 14:10:17 +02:00
j.spijker@ultimaker.com
d3b32b549a
Add libxkbcommon-x11-dev to system deps for Ubuntu
Might fix the segfault on some Linux distro's

Contributes to CURA-9365
2022-07-06 14:01:10 +02:00
j.spijker@ultimaker.com
db8ec3994e
Add conan_install_info.json to the builds
Should help with debugging, We could maybe even use it
later on to update the about page and/or logs

If you want to create a package you should also
pass the `--json <venv_path>/conan_install_info.json` to
the install command.

Contributes to CURA-9365
2022-07-06 13:54:44 +02:00