Commit Graph

114 Commits

Author SHA1 Message Date
Ben Wallis
ec2d1b0388 Updated docker CI image to include cmake 2022-09-15 16:40:50 +01:00
Marcel Märtens
3ac8c1c833 update docker-ci-image to a newer version 2022-07-14 22:23:24 +02:00
Marcel Märtens
697673bcca update toolchain to nightly-2022-04-25 2022-05-03 15:22:28 +02:00
Marcel Märtens
618d4b2340 simply scripts alot, not the null check is necessray because gitlab ci regex with variables is weird and would contain errors otherwise.
limit pages to master run only, as we dont export scheduled pages
2022-04-24 10:41:35 +02:00
Marcel
5c18bd2b77 Merge branch 'xMAC94x/update_cache_image' into 'master'
update cache image for ci

See merge request veloren/veloren!3203
2022-02-16 21:41:29 +00:00
Marcel Märtens
5972c3ee1e undo stage renaming 2022-02-15 09:41:49 +01:00
Marcel Märtens
9787f0be1e update cache image for ci, rename linux to linux-x86_64
todo: adjust airshipper before merging this
2022-02-15 01:01:20 +01:00
Ben Wallis
6d309c2fd9 * Added macos-aarch64 builds to gitlab CI config
* Disabled incremental compilation for macos builds
* Removed cache for macos builds
* Renamed release-nightly-tmp-fix-airshipper to release-scheduled
* Renamed build-nightly to build-scheduled
2022-02-11 11:18:36 +00:00
fetsorn
338dec41ab Fix typo "incase"->"in case" 2022-01-06 18:28:05 +00:00
Imbris
bf48bd5346 update toolchain to nightly-2021-12-19 2021-12-23 13:04:24 +01:00
Marcel Märtens
dde6404af8 update cache_image_tag 2021-11-24 22:17:08 +01:00
Imbris
3bf0ac1971 Switch to new CI image set with aarch64 support and update changelog 2021-11-23 21:27:23 -05:00
Imbris
746a6efb7f Bump to fresh CI image with the new toolchain 2021-09-25 14:58:34 -04:00
Marcel Märtens
edce01c336 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
5b4a7722b1 Added veloren-publish tags and veloren-build tags to CI configuration 2021-08-19 09:08:49 +02:00
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