402 Commits

Author SHA1 Message Date
Jelle Spijker
18b3eb8f2b Use echo to write to GITHUB_OUTPUT
Contributes to CURA-8607
2023-01-06 09:50:09 +01:00
Jelle Spijker
b88f7b87b7 Use env file instead of deprecated set-output
Contributes to CURA-8607
2023-01-06 09:31:33 +01:00
Jelle Spijker
992aff17ab Use full path of signtool
Contributes to CURA-8607
2023-01-06 09:31:05 +01:00
Jelle Spijker
a748c9c618 Sign the Windows installer
Contributes to CURA-8607
2023-01-06 08:50:03 +01:00
Jelle Spijker
ce191611f7 Only run on relevant changes 2022-12-16 08:36:14 +01:00
jelle Spijker
8117087664 Revert "Fix multiline printer-linter PR suggestions"
This reverts commit 7820cc98
2022-12-13 11:30:13 +01:00
Jelle Spijker
9f3490893a
use master for clang-tidy-pr-comments 2022-12-10 16:05:07 +01:00
Joey de l'Arago
140285c0c1
Run workflow an all branches & Forks 2022-12-09 10:48:48 +01:00
jspijker
333f0e8282 Show OS in run-name 2022-12-07 10:09:42 +01:00
jspijker
d876317df6 Show OS in run-name 2022-12-07 10:08:24 +01:00
jspijker
e9136f654d Show OS in run-name 2022-12-07 10:06:45 +01:00
jspijker
7820cc9840 Fix multiline printer-linter PR suggestions 2022-12-02 10:28:42 +01:00
jspijker
fac2aeb28f Use checkout v3 2022-11-30 20:28:17 +01:00
jspijker
9f58381480 Restore GH action workspace on PR 2022-11-30 20:27:54 +01:00
jspijker
c0fe1c9924 Use correct workflow name 2022-11-30 20:12:25 +01:00
jspijker
13c00dd496 Request changes if printer-linter finds issues 2022-11-30 20:07:48 +01:00
jspijker
9c4935f5d7 Run posting UT results in seperate workflow 2022-11-30 20:02:58 +01:00
jspijker
57b3b43096 Use different check to determine fork 2022-11-30 14:35:31 +01:00
jspijker
aadea69407 Add PR prefix to label 2022-11-30 14:24:48 +01:00
jspijker
f9623bf1c4 Add label Community Contribution 👑 to PR's 2022-11-30 14:21:26 +01:00
jspijker
58b9c06295 Only run formatting on UM repo
This should limit the changed files to only the files we allow to main.
2022-11-30 06:55:38 +01:00
Jelle Spijker
fb917a88fb
Don't format
Something seems to be broken
2022-11-29 20:36:04 +01:00
Joey de l'Arago
82f4f9ed16
Merge pull request #13856 from Ultimaker/printer_linter
Added a linting tool for Cura Printers and Profiles
2022-11-29 17:58:59 +01:00
jspijker
ae6fdfa34f Merge branch 'printer_linter' into printer_linter_pr_review 2022-11-29 14:39:37 +01:00
jspijker
ed6018d4ad Update pyinstaller scripts using UltiMaker
Contributes to CURA-9808
2022-11-28 11:22:11 +01:00
jspijker
def686e61a Remove old workflow 2022-11-21 13:32:23 +01:00
jspijker
28110f3368 Added workflow requirements 2022-11-21 13:31:54 +01:00
jspijker
32673bedea Add PR review workflows
Using the pull-request-comments-from-clang-tidy-reports GH action
https://github.com/marketplace/actions/pull-request-comments-from-clang-tidy-reports

Which is possible because the printer-linter auto
puts the suggested fixes in the same format as
clang-tidy.

It consists of two workflows, to ensure safe handling
of forks PR's. The first workflows is the analysis and
the suggested fixes, these are then upload to the
second workflow which will use the suggested fixes
to past comments on the PR
2022-11-21 13:23:04 +01:00
jspijker
db7e89815e Renamed the workflow for consistency 2022-11-21 13:16:26 +01:00
jspijker
f78fbd3edf Auto format printer/profiles with printer-linter
Runs only master and release branch, will create a
co-authored commit if formatting was applied
2022-11-20 10:51:42 +01:00
jspijker
fb69cff511 fix typo 2022-11-18 13:04:38 +01:00
jspijker
87cea8f8f4 write directly to the env file 2022-11-18 13:02:04 +01:00
jspijker
be0b2b15c7 Use quotes for output to env files 2022-11-18 11:59:36 +01:00
jspijker
55040a7040 Use Env file for workflow output 2022-11-18 11:50:10 +01:00
jspijker
cc36da86b1 Fix channel when people use - instead of _ in their branch name 2022-11-18 11:45:07 +01:00
jspijker
73ac7fa716 Fix get version form PR's 2022-11-18 11:27:41 +01:00
Remco Burema
3761f03cea Called workflow needs to inherit more information to run.
part of CURA-9880
2022-11-17 18:26:45 +01:00
Remco Burema
ccdc67712a Suddenly 'type' is required while previously it wasn't.
Also attempt to standardize the ordering somewhat (description, default, required, type).

part of CURA-9880
2022-11-17 18:04:25 +01:00
Remco Burema
6d810ccb9d Split up installer workflow per OS.
This requires a separate action to be run per OS, as there is no real way to have conditional lists within YML. The idea is that the installer can be build per OS (and also, another intent of this change is to make it so that people don't have to wait for all artifacts to be ready to download a single one).

part of CURA-9880
2022-11-17 17:52:48 +01:00
Remco Burema
b0160b2d86 Revert "Specify to build installer per-OS."
This reverts commit 957c25973b0fe57dde7bb16e960a7205e80407f4.
2022-11-16 19:36:26 +01:00
Remco Burema
957c25973b Specify to build installer per-OS.
Exclusion happens _before_ additional includes unfortunaltely, so the matrix is back to being a plain list if OS's. This also means that, if we don't want to build each OS x OS_id, we have to put that information somewhere else. OS_id didn't really belong in the matrix anyway, since it's a derivative value. It's now replaced with a named environment variable.

The way to exclude and select the 'name' used in the filename for each OS seems a little cumbersome, but I didn't find any better way so far.

(should) implement the 'easy', 'lite' version  of CURA-9880
2022-11-16 16:39:14 +01:00
Jelle Spijker
d83f11f42a Make usage of lockfile conditionally 2022-11-14 12:46:51 +01:00
jspijker
00f83dd3f8 Store the log and build artifacts 2022-11-13 13:48:46 +01:00
jspijker
b161a8ed94 install bison and flex on ubuntu 2022-11-13 13:34:23 +01:00
jspijker
fab0430966 use runs_on as cache key 2022-11-13 13:13:36 +01:00
jspijker
d85786c829 fix uploading buildinfo step 2022-11-13 11:05:35 +01:00
jspijker
76be83434f Use the correct project_name 2022-11-13 10:55:27 +01:00
jspijker
2e0619d647 Fix buildinfo.json generation 2022-11-13 10:47:03 +01:00
jspijker
9d690da9d5 Fix buildinfo.json generation 2022-11-13 10:29:34 +01:00
jspijker
8969e34021 update the system packages for all Linux versions 2022-11-07 17:03:54 +01:00