84 Commits

Author SHA1 Message Date
Marcel Märtens
e157c81671 have a seperate stage for scheduled builds 2021-04-23 17:48:02 +02:00
Imbris
c7d37d6280 Update the ci cache image with image from https://gitlab.com/veloren/veloren-docker-ci/-/merge_requests/38 2021-04-11 19:16:00 +00:00
Marcel Märtens
f9233c1fba running cargo check with -D warnings seems to trigger a complete cache invalidation.
AND cargo check was implicitly run in clippy. In order to be future save we now ALWAYS run all CI with -D warnings.
(i verified that this works in a test pipeline)
2021-01-12 01:15:13 +01:00
Marcel Märtens
ce8980228e CI cleanup
- switching more to rules syntax
  - clean up some templates
  - EITHER optional builds or build builds
  - ordering
2020-06-16 12:45:35 +02:00
Marcel Märtens
26bd0e5ea0 quickfix ci 2020-06-11 22:37:49 +02:00
Marcel Märtens
b978dd68f4 Different Jobs now have different target directorys, as cargo seems to have some weird behavior, see more in MR25 of veloren-docker-ci:
https://gitlab.com/veloren/veloren-docker-ci/-/merge_requests/25
2020-05-29 15:50:23 +02:00
Songtronix
9021648bf6 fix(ci): adjust release trigger + make sure pipelines always run 2020-05-28 18:44:31 +02:00
Songtronix
1684a22682 fix(ci): run pipeline for branches and tags 2020-05-24 12:26:15 +02:00
Songtronix
94eba0acb4 change(ci): centralise master/tag push check 2020-05-22 18:13:58 +02:00
Songtronix
589b8e62fb change(ci): centralise recompile check 2020-05-22 18:13:58 +02:00
Songtronix
e5fc212da4 change(ci): document and add retries + fmt 2020-05-22 18:13:57 +02:00
Songtronix
064ce8f24d change(ci): take advantage of auto cancel pending pipelines 2020-05-22 18:13:57 +02:00
Songtronix
6630fce8aa change(ci): split up stages into separate files 2020-05-22 18:13:57 +02:00
Songtronix
9595eca0be fix(ci): allow coverage test to fail temporarily
2020-04-23 14:47:21 +02:00
Marcel
8524e780c2 Merge branch 'xMAC94x/temp-macos' into 'master'
temp allow failure in macos

See merge request 
2020-03-20 10:27:02 +00:00
Mckol
665795d1c9 Made the CI fail if Cargo.lock isn't up-to-date 2020-03-10 23:32:33 +01:00
Marcel
77c946d834 temp allow failure in macos 2020-03-10 22:03:29 +00:00
Marcel Märtens
66e7c7f338 workaround for tests and tarpaulin 2020-02-27 22:19:51 +01:00
Marcel Märtens
6ba112f318 automated macos builds 2020-02-27 12:50:43 +01:00
Marcel Märtens
8ecdb53076 auto-generated docker image for server-cli based on kaniko like i researched for torvus and correct release branch detection:
- ade4d37575
2020-02-26 17:08:46 +01:00
Rémy PHELIPOT
355a86438c [i18n] Configurable fonts
- Add font configuration in internationalization files
- Scale font size using a configurable ratio
- Add a script to identify translation item statuses using Git metadata
- Execute the i18n script in a new gitlab-ci step (delayed)
- Clone haxrcorp_4089_cyrillic_altgr font (haxrcorp_4089_cyrillic_altgr_extended)
  to add some additional latin characters (mainly for French)
2020-02-16 16:02:38 +01:00
Forest Anderson
1ad4e79f48 Try tarpaulin 4 times before failing 2020-02-15 20:57:52 +00:00
Marcel Märtens
5ba185d718 Reactivate Failure is allowed for benchmark and coverity 2020-02-09 20:01:44 +01:00
Joshua Yanovski
26dccdb544 Fix asset caching issue in CI. 2020-01-23 18:18:54 +01:00
Joshua Yanovski
93c953a989 Fix benchmarks and profile overrides.
This was necessary because Cargo recently deprecated the "overrides"
keyword in favor of "package", and Criterion changed its interface.

This commit also now lists more configurable keys, so if they aren't set
to their defaults the user will be able to find them.  This includes the
roll key, which wasn't listed earlier and is different on Windows and
Mac.  It does *not* include the respawn key because that key is already
shown when you die.
2020-01-20 14:16:28 +01:00
Forest Anderson
18309d3dcc Revert "Merge branch 'angelonfira/add-asset-separation-and-compression' into 'master'"
This reverts merge request 
2019-12-01 22:12:26 +00:00
Forest Anderson
18767f926e Added audio compression job for CI 2019-12-01 21:16:55 +00:00
Marcel Märtens
0ab8b8095c remove option to build debug builds, because they are not needed and to reduce caches 2019-11-25 01:10:06 +01:00
Marcel Märtens
1066764ea0 tarpaulin fails because it cannot parse Cargo.toml, somehow removing these lines makes tarpaulin run again, so we use it as a workaround/quickfix 2019-11-21 20:18:13 +01:00
Marcel Märtens
6c9dcefbb0 Simplyfy builds and checks,
when doing 2 builds, rust recompiles alot files and doesnt cache them, this is avoided by just call cargo build instead
2019-11-21 20:18:12 +01:00
Marcel Märtens
6babd428a7 add tarpaulin coverage 2019-11-21 20:18:08 +01:00
Marcel Märtens
5c83a2969b simplify before-script 2019-11-21 20:18:06 +01:00
Marcel Märtens
ecca47a7b7 make cargo check less verbose 2019-11-21 20:18:05 +01:00
Marcel Märtens
2617146512 switch to new caching inside docker, described at: https://gitlab.com/veloren/veloren-docker-ci/merge_requests/8
we need to ln target to /dockercache/veloren/target in order for the cace to take affect, the old caching info is no longer needed inside .gitlab-ci.yml
2019-11-18 12:11:54 +01:00
Marcel Märtens
81f61eff7c fix a ci problem if debug dir wasnt available 2019-11-14 09:33:16 +01:00
Marcel Märtens
51758a263d more debug stuff in ci 2019-11-14 01:24:08 +01:00
Acrimon
a75b2da491 Strip linux executables. 2019-11-11 12:52:27 -05:00
Acrimon
bf7e157726 Fix . 2019-10-29 23:48:15 +01:00
Acrimon
6b6f81de47 Fix ci job. 2019-10-28 19:23:27 +01:00
Acrimon
3a82aa384f Added basic security job that just runs audit. 2019-10-28 19:18:02 +01:00
Songtronix
2bc9dd815a fix(CI): remove unneeded copy 2019-10-17 15:35:14 +02:00
Songtronix
9dcb855937 change(CI): include LICENSE in artifacts 2019-10-17 15:06:20 +02:00
Forest
5326fb7d54 rename all caches to prevent busting 2019-10-10 16:53:26 -04:00
Forest Anderson
d20f1dd304 Fixed target 2019-10-10 20:47:40 +00:00
Forest Anderson
07e8bf841e Don't copy assets 2019-10-09 19:18:59 -04:00
Forest Anderson
87b4ceccb4 md5sum assets 2019-10-09 22:42:39 +00:00
Forest Anderson
f57afdd509 Angelonfira/ci hotfixes arifacts 2019-10-08 17:03:00 +00:00
Acrimon
0830e01389 Fixed ci artifact placement. 2019-10-08 14:39:52 +02:00
Acrimon
3367715eaf Fixed a typo on the ci config. Fixes master pipelines. 2019-10-08 12:46:40 +02:00
Acrimon
04c5747583 Update dockerimage. 2019-10-08 11:14:46 +02:00