Commit Graph

30 Commits

Author SHA1 Message Date
Simon Richter 5cdf03ff6d Do not fail formatting test when reusing a build env 2023-07-08 00:18:18 +00:00
Ian McInerney 17c27d1176 Fix GitLab URLs to point to the correct project page
GitLab 16.0 removes support for URLs that don't contain /-/ after the
repository name, so the report bug feature and various links we had in
the source (including the git-fixes script) would lead to a 404 error.

See GitLab docs for deprecation/removal notice:
https://docs.gitlab.com/ee/update/deprecations.html?removal_milestone=16.0#legacy-urls-replaced-or-removed

(Cherry-picked from 20ec8ed303)

Fixes: https://gitlab.com/kicad/code/kicad/-/issues/14759
2023-05-17 13:42:48 +01:00
Mark Roszko a1617e7c82 Update .gitlab-ci.yml 2022-12-03 13:17:03 +00:00
Mark Roszko 23e4ed488a Restore windows ci 2022-12-03 13:14:48 +00:00
Mark Roszko 79cfe004ed Disable windows CI until its fixed 2022-12-01 20:45:03 +00:00
Mark Roszko 5a1e5ecf38 Re-enable the MSVC CI job 2022-07-17 18:11:43 +00:00
Marek Roszko b8e2278b86 Update two more fedora:34 references 2022-07-10 23:26:07 -04:00
Marek Roszko a883704379 Add the initial doxygen Dockerfile 2022-07-10 15:10:04 -04:00
Mark Roszko 36b2e10b8e Disable windows ci for now 2022-04-29 01:23:36 +00:00
Mark Roszko 8d00802fce Restore windows ci 2022-01-10 02:25:41 +00:00
Mark Roszko 9b569e4739 Disable windows ci 2022-01-09 14:52:02 +00:00
Simon Richter 894c279e15 Fix builds on older Docker
The Fedora image doesn't have an entrypoint defined, and while bleeding
edge Docker implements a fallback, older versions don't.
2021-10-28 15:28:04 +00: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
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
Jon Evans a959adf740 Add Ubuntu 20.04 CI config 2021-03-31 20:16:16 -04:00
Mark Roszko e09aeeb189 Restore windows ci 2021-03-17 02:21:29 +00:00
Mark Roszko b7bde07287 Disable windows ci for now 2021-03-14 00:22:08 +00:00
Mark Roszko 9a74dcd33d Enable windows ci again 2020-12-30 17:36:26 +00:00
Mark Roszko 797175e0f2 Remove windows ci until the runner can be registered 2020-12-30 02:43:38 +00:00
Mark Roszko d252adf255 Enable windows msvc ci for testing 2020-12-30 02:29:41 +00:00
Ian McInerney b479dabad9 Move CI to Fedora 33 container since Fedora 31 is EOL 2020-12-21 13:50:08 +00:00
Ian McInerney f9819a004a Fix test formatting CI and change pipeline ordering
Gitlab 13.3 changed so now pipelines started by developers run
inside the main repo, even for MRs. So we must explicitly add
the source repo to the git environment and use it.

Also, explictily say the formatting test doesn't need any other jobs
so that it will run in parallel with the main build, otherwise it
won't run until the test stage starts.
2020-07-31 20:58:30 +00:00
Ian McInerney 6a2a4643d1 Refactor CI and include a Coverity scan build 2020-07-18 16:17:55 +01:00
Ian McInerney 8c3374398a Don't interrupt compilation pipelines
Don't interrupt the compilation pipelines, instead let
them finish. That will ensure the author of the change
gets notified if their push breaks something.
2020-05-17 00:12:49 +01:00
Ian McInerney 1ba4710ab0 Shorten build artifact lifetime
These are large artifacts, so we shouldn't keep them around
for too long (they are only needed for the tests that run
immediately after build).
2020-04-18 00:50:51 +01:00
Ian McInerney c093807077 Add compilation CI 2020-03-07 23:49:33 +00:00
Ian McInerney 4ebb591a5c Allow the formatting test to fail
By allowing to to fail, we won't block the rest
of the CI tests, and also won't block the merge.
2019-12-04 20:10:23 +00:00
Ian McInerney f0c386f5dd Update GitLab CI script
Changes SHA detection to find the start of the MR and makes check_coding return non-zero when formatting changes needed
2019-12-03 18:51:59 +00:00
Ian McInerney edf23dc5a9 Fix GitLab CI format hook
The variable CI_COMMIT_BEFORE_SHA is not available in
normal merge requests
2019-12-03 15:28:30 +00:00
Seth Hillbrand 2ce7d9a708 Adding merge CI
Adds GitLab merge CI for code formatting.
2019-11-29 21:55:36 -08:00