102 Commits

Author SHA1 Message Date
Imbris
22f4a73fa8 Bump to fresh CI image with the new toolchain 2021-09-25 14:58:34 -04:00
Marcel Märtens
9ad423488f implement a new tag system for all veloren runners, including
- project tag:
   - `veloren/veloren`: for the veloren repo only
   - `veloren/*`: for projects thats are in the veloren namespace, e.g. usefull for smaller projects that dont have their own tag
   - `*/*` for projects by 3rd parties, e.g. personal projects
 - trusted tag:
   - `owned`:  The runner is hosted on veloren hardware
   - `trusted`: The runner is hosted by a private person, trusted by the veloren devs
   - NONE: if no special trust is given in a runner
 - check/build tag:
   - `check`: a job only performs a check and NO executable is build for users
   - `build`: the job contains atleast 1 executable that can be run by users
   - NONE: neither a check nor a executable is build, e.g. usefull for pages or meta jobs
 - publish tag:
   - `publish`: this job produces a artifact that is automatically pushed to users
   - NONE: no artifact is pushed automatically to users
 - pin tags:
   - `benchmark`: pin a runner to a specific job for the cause of benchmarks
   - `veloren/*:macos`: runs on a native macos runner ONLY, this needs to be a modified project tag, as otherwise also normal checks would run on this runner.
   - NONE: no runner is pinned
2021-08-19 09:23:31 +02:00
Ben Wallis
6935d0f6cd Added veloren-publish tags and veloren-build tags to CI configuration 2021-08-19 09:08:49 +02:00
Marcel Märtens
a757fe3d2f update cache image 2021-07-17 18:23:58 +02:00
Marcel Märtens
6cb502c229 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
851b9ae5ec adjust cache image tag 2021-07-12 12:14:54 +02:00
Marcel Märtens
fb8e5efe87 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
570ad841c8 Switched to new CI cache image 2021-06-18 12:59:15 +01:00
Imbris
e89c6a80e2 Add debug line tables and avoid building unwinding landing pads in release builds 2021-06-15 21:14:49 -04:00
Imbris
4a1218ecdd Update docker cache for CI 2021-06-04 02:27:07 -04:00
Imbris
72bc86f5cb Unhack the wgpu branch CI 2021-06-03 14:24:31 -04:00
Imbris
898a267763 set SHADERC_LIB_DIR to the location in the docker image where it is cached 2021-06-03 00:10:07 -04:00
Imbris
17a3bebbfe Disable CI that does not need to run for builds 2021-06-02 23:59:50 -04:00
Imbris
27131dc670 Change docker tags to a wpu specific tag 2021-06-02 23:59:50 -04:00
Imbris
82788716e0 Use native macos runner for builds 2021-06-01 16:08:47 -04:00
Imbris
e9940371b7 Re-disable incremental for veloren-network-protocol, switch back to
`veloren-docker` tagged runners
2021-06-01 13:35:03 -04:00
Imbris
1cc565a32f 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
3c863c9a9a dont run CI on master on mirror 2021-05-11 08:54:10 +02:00
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