Commit Graph

47 Commits

Author SHA1 Message Date
Seth Hillbrand 980fd00933 Remove tag to allow MR CI
We need to generate a separate chain for MR validation but until that is
ready, let's keep this available and use our VM to run untagged as well
2022-01-19 11:00:47 -08:00
Seth Hillbrand e67b6bc402 Use Release builds for CI
Debug builds generate enormous QA files.  We need to test the
regressions primarily, so Release with its smaller files serves this
purpose
2022-01-10 16:17:02 -08:00
Seth Hillbrand 5fde992ed4 Forgot to build ninja files 2022-01-06 19:44:45 -08:00
Seth Hillbrand 2e232703bd Swap make for ninja in Fedora CI
Take advantage of extra cores on hetzner machine
2022-01-06 19:41:12 -08:00
Seth Hillbrand 7f81badaa7 Use KiCad builders for Fedora 2022-01-06 19:29:39 -08:00
Steven A. Falco 22ec240cb2 Several scripting options are no longer valid
Remove invalid scripting options from the yml file.
2021-12-25 15:59:37 +00:00
Seth Hillbrand a86a646eb0 Broken YAML 2021-12-14 11:00:33 -08:00
Seth Hillbrand 1ea2c88505 Remove ccache from Fedora (testing) 2021-12-14 10:40:52 -08:00
Ian McInerney e57bde6582 Remove last vestiges of the KICAD_USE_OCE build flag
This build flag was removed in a previous commit, but some last uses
remained.
2021-12-01 15:53:00 +00:00
Roberto Fernandez Bautista 5e23294bf5 Revert "Switch to gold linker for Fedora CI builds"
This reverts commit f6cac49802.

It seems the gold linker runs out of disk space...
2021-08-02 09:20:10 +01:00
Roberto Fernandez Bautista f6cac49802 Switch to gold linker for Fedora CI builds
Should help with out of memory build problems
2021-07-26 18:39:09 +00:00
Roberto Fernandez Bautista cd130be2db Fix PNS Test App and enable build option in CI 2021-06-24 11:24:50 +00:00
Ian McInerney 850444f46e Revert Coverity build to use Fedora 33
The Coverity scan app can't handle GCC 11 yet, and will complain about
things inside the stdlib headers and only compile 15 files. So we need
to switch back to Fedora 33 and use GCC 10 instead.
2021-06-16 22:45:01 +01:00
Ian McInerney e401a392c1 Bump Fedora CI images to latest version
* Try bumping Coverity up now that we should be on a newer version
  of it (so hopefully it supports GCC versions with 2 digits in their
  number).
* Allow the metadata test to fail because of an upstream bug in the
  appdata validation program that thinks the description tag isn't
  translated even though it is.
2021-06-15 22:51:37 +01:00
Mark Roszko 92c4596252 Fix cov-analysis not being updated in CI
md5sum returns 0 for match, 1 for failure, the original was not running on failure at all
2021-06-07 03:27:06 +00:00
Ian McInerney 4fc41627e9 Update and modernize linux metadata files
* Switch to using org.kicad.kicad as the main app ID
* Move the appstream file to a metainfo file
* Rename all metadata files to use the reverse DNS scheme
* Add header matching to mime type files where possible
* Add a mime type for gerber job files
* Add a QA test that verifies all the linux metadata files and
  run it in CI
* Update the visible names in the launcher entries to be more
  consistent with the internal visible names
* Update various strings and items in the metainfo file so they
  are more descriptive and easier to read
2021-04-15 16:34:12 +00:00
Ian McInerney 3a39fd5b87 Rename Windows CI to match other names 2021-04-09 15:55:43 +01:00
Ian McInerney 56938e5ca4 Remove the qa_ prefix from the job names
It is redundant since the main jobs have qa in their name now.
2021-04-09 15:55:43 +01:00
Ian McInerney 8c3d424701 Switch QA CI to matrix format and rename jobs 2021-04-09 15:55:43 +01:00
Ian McInerney e1a5d4e0ba Fixup CI config
* Don't run the Ubuntu job on schedules
* Fix Coverity job by being explicit it is for schedules only
* Separate the caches for the Ubuntu and Fedora jobs
2021-04-09 12:16:45 +01:00
stefan_test aee1475a67 fix ci 2021-04-04 21:57:04 +02:00
Jon Evans 12c04b08f4 Add more restrictions to Ubuntu CI 2021-04-04 14:12:33 -04:00
Jon Evans 49cc461ac9 Restrict Ubuntu CI to kicad project 2021-04-04 09:37:06 -04:00
Jon Evans 140f4a8d21 Use the tagged runner for running Ubuntu tests 2021-03-31 21:45:25 -04:00
Jon Evans d5d9d5641e Give the jobs unique names 2021-03-31 21:32:09 -04:00
Jon Evans 151713cdef Fix typo 2021-03-31 21:30:48 -04:00
Jon Evans 41decb0f40 Split QA test running for now
Eventually we probably want to just pick one target for it,
but for now this means we can get faster test results as long
as we have a faster Ubuntu runner.
2021-03-31 21:30:09 -04:00
Jon Evans 31b50aac76 Give this build its own name 2021-03-31 20:55:05 -04:00
Jon Evans d4950ebc42 Fix typo in image path 2021-03-31 20:18:41 -04:00
Jon Evans a959adf740 Add Ubuntu 20.04 CI config 2021-03-31 20:16:16 -04:00
Mark Roszko 059623a486 Fix vcpkg path in windows ci 2021-03-17 02:22:43 +00:00
Ian McInerney 5418e3454c Default the translations build to off and build it in CI 2021-01-18 17:43:34 +00:00
Ian McInerney 45b1a65a64 Revert Coverity CI to run on Fedora 31
Coverity is not currently supporting GCC 10, so we need
to run on GCC 9 for the time being.
2021-01-12 14:29:25 +00:00
Mark Roszko 53691585f2 Restrict windows ci further to our repo 2021-01-09 19:32:07 +00:00
Mark Roszko 326392e58c Restrict windows ci to MRs and kicad repo 2021-01-06 16:22:00 +00:00
Ian McInerney 90b193522e Fix filename in report warnings pipeline stage 2021-01-06 11:05:13 +00:00
Ian McInerney 166ba2f4e0 Fix CI report stage to handle no warnings in the code
Horray!!! We have no warnings in the code and it broke the CI.
2021-01-05 23:34:28 +00:00
Ian McInerney 1ff307d10f Save the coverity build log 2021-01-05 23:34:09 +00:00
Mark Roszko d252adf255 Enable windows msvc ci for testing 2020-12-30 02:29:41 +00:00
Marek Roszko 5d47d6995d Fix comment in windows ci file 2020-12-20 23:18:07 -05:00
Marek Roszko 7d571369cc Add windows ci config but dont use it yet 2020-12-20 23:17:32 -05:00
Ian McInerney beab46e965 Update build docs to have the correct set of CMake options
* The GitHub plugin was removed, so remove it from the docs and CI
* Add the new DPI manifest option to the build docs.
2020-11-11 00:41:03 +00:00
Ian McInerney 7067e42da7 Fix version string included in Coverity submission 2020-07-22 23:48:16 +01:00
Ian McInerney 9997c46ee4 Make Coverity use the main KiCad version string
Also create a kicad_build_version.txt file in the build directory
that only contains the version string.
2020-07-22 00:18:29 +01:00
Ian McInerney 216fd3ff9a Fix coverity pipeline
The original test didn't work if the tgz was not already in the
runner cache. This new test will fail the check if the file is missing
instead of erroring the command.
2020-07-19 03:20:33 +01:00
Ian McInerney 7b705af038 Refactor common QA components to create a single common library
This moves the program-specific code (e.g. BIU files) into
the program tests.

Also, create title_block.cpp to break a dependency that pulled
in eda_text.cpp when using the TITLE_BLOCK object.
2020-07-18 16:21:15 +01:00
Ian McInerney 6a2a4643d1 Refactor CI and include a Coverity scan build 2020-07-18 16:17:55 +01:00