Commit Graph

99 Commits

Author SHA1 Message Date
Marcel Märtens
5c50ba2716 update cache image 2021-07-17 18:23:58 +02:00
Marcel Märtens
07c044f2e5 extract relevant code in a script in order to remove duplicate coding with docker-ci repo
export VELOREN_ASSETS without pwd to keep caching working
2021-07-14 20:57:08 +02:00
Marcel Märtens
d345a8f8f0 adjust cache image tag 2021-07-12 12:14:54 +02:00
Marcel Märtens
88fb4deebf allow optinal releases on master if its no merge_request to allow it on forks, also adjust the workflow rules to run on release branches
ignore Gitlab user also for releases, as all protected branches are synced
2021-07-09 19:06:39 +02:00
Joshua Barretto
68d88ea271 Switched to new CI cache image 2021-06-18 12:59:15 +01:00
Imbris
e5f23eb41a Add debug line tables and avoid building unwinding landing pads in release builds 2021-06-15 21:14:49 -04:00
Imbris
bf3ee86425 Update docker cache for CI 2021-06-04 02:27:07 -04:00
Imbris
f3cb08170c Unhack the wgpu branch CI 2021-06-03 14:24:31 -04:00
Imbris
923988da5f set SHADERC_LIB_DIR to the location in the docker image where it is cached 2021-06-03 00:10:07 -04:00
Imbris
e97d57b119 Disable CI that does not need to run for builds 2021-06-02 23:59:50 -04:00
Imbris
245e646137 Change docker tags to a wpu specific tag 2021-06-02 23:59:50 -04:00
Imbris
351327c3d0 Use native macos runner for builds 2021-06-01 16:08:47 -04:00
Imbris
1a092be2a1 Re-disable incremental for veloren-network-protocol, switch back to
`veloren-docker` tagged runners
2021-06-01 13:35:03 -04:00
Imbris
1db0e2a15c Use new multi image cache scheme in the CI and consolidate runner tag specification so that it is easier to modify 2021-06-01 13:19:12 -04:00
Marcel Märtens
a064cf4ca5 dont run CI on master on mirror 2021-05-11 08:54:10 +02:00
Marcel Märtens
a610db5cfc have a seperate stage for scheduled builds 2021-04-23 17:48:02 +02:00
Imbris
f7f584fc49 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
a3351be221 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
b9344ffeb7 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
7d9b2ff9b6 quickfix ci 2020-06-11 22:37:49 +02:00
Marcel Märtens
dcea5776c1 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
7fa71c2562 fix(ci): adjust release trigger + make sure pipelines always run 2020-05-28 18:44:31 +02:00
Songtronix
26ee5e85cc fix(ci): run pipeline for branches and tags 2020-05-24 12:26:15 +02:00
Songtronix
507086fac6 change(ci): centralise master/tag push check 2020-05-22 18:13:58 +02:00
Songtronix
ce7eced0b3 change(ci): centralise recompile check 2020-05-22 18:13:58 +02:00
Songtronix
b6135f60ed change(ci): document and add retries + fmt 2020-05-22 18:13:57 +02:00
Songtronix
07d7d17182 change(ci): take advantage of auto cancel pending pipelines 2020-05-22 18:13:57 +02:00
Songtronix
b6de531e76 change(ci): split up stages into separate files 2020-05-22 18:13:57 +02:00
Songtronix
465d4d44ee fix(ci): allow coverage test to fail temporarily
#538
2020-04-23 14:47:21 +02:00
Marcel
4ab646900a Merge branch 'xMAC94x/temp-macos' into 'master'
temp allow failure in macos

See merge request veloren/veloren!844
2020-03-20 10:27:02 +00:00
Mckol
e4a1e4d078 Made the CI fail if Cargo.lock isn't up-to-date 2020-03-10 23:32:33 +01:00
Marcel
77d2c2a253 temp allow failure in macos 2020-03-10 22:03:29 +00:00
Marcel Märtens
0cb0328c79 workaround for tests and tarpaulin 2020-02-27 22:19:51 +01:00
Marcel Märtens
bf14deb5e0 automated macos builds 2020-02-27 12:50:43 +01:00
Marcel Märtens
1fbdb9c590 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
98c37d0b28 [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
b481d3c747 Try tarpaulin 4 times before failing 2020-02-15 20:57:52 +00:00
Marcel Märtens
90bcd87007 Reactivate Failure is allowed for benchmark and coverity 2020-02-09 20:01:44 +01:00
Joshua Yanovski
3a0483e8ee Fix asset caching issue in CI. 2020-01-23 18:18:54 +01:00
Joshua Yanovski
898b5c6593 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
f840e49e72 Revert "Merge branch 'angelonfira/add-asset-separation-and-compression' into 'master'"
This reverts merge request !650
2019-12-01 22:12:26 +00:00
Forest Anderson
14eebd930d Added audio compression job for CI 2019-12-01 21:16:55 +00:00
Marcel Märtens
203d76a550 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
1093d51c41 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
e0d5376852 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
67b589b3c9 add tarpaulin coverage 2019-11-21 20:18:08 +01:00
Marcel Märtens
5609031391 simplify before-script 2019-11-21 20:18:06 +01:00
Marcel Märtens
22ec19ec55 make cargo check less verbose 2019-11-21 20:18:05 +01:00
Marcel Märtens
b08f11cfa4 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
db80ddb088 fix a ci problem if debug dir wasnt available 2019-11-14 09:33:16 +01:00