Marcel Märtens
32de827e61
add linux-aarch64 on master builds to be consistent
2022-03-03 10:33:19 +01:00
Ben Wallis
bbe8f9db8b
Fixed artifact paths for mac builds
2022-02-18 14:10:11 +00: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
juliancoffee
43b5af2980
Create asset_migrate bin from entity_migrate
2022-01-28 00:02:34 +02:00
juliancoffee
79a04c3533
fmt
2022-01-28 00:02:34 +02:00
juliancoffee
d5b927602a
Loadout Udpate: NpcData part
...
Actually implement creating npc with new EntitytInfo by chaning
CreateNpc.loadout to CreateNpc.inventory and cleaning code in
NpcData::from_entity_info.
2022-01-28 00:02:34 +02:00
fetsorn
338dec41ab
Fix typo "incase"->"in case"
2022-01-06 18:28:05 +00:00
Imbris
a54e4c5dd0
Make sure to copy binaries from the right location in aarch CI
2021-11-23 21:27:23 -05:00
Imbris
0816624d23
Try with: export PKG_CONFIG
2021-11-23 21:27:23 -05:00
Imbris
30df174c3d
Fix order of env var and time command in aarch CI script, remove duplicate release flag, reorder target flag to be in the same order as the target flag for windows
2021-11-23 21:27:23 -05:00
Imbris
d137623dba
Add aarch64 build to the gitlab CI yml
2021-11-23 21:27:23 -05:00
Imbris
4bbf5c7483
Apply Add-CI-build-script-for-cross-compiling-Aarch64.patch from @linux4kix
2021-11-23 21:27:21 -05:00
Imbris
79128e1e4b
Remove deletion of incremental folder from the CI scripts, the rustc incremental issue should be fixed
2021-11-22 02:04:19 -05:00
Ben Wallis
c00bca7e93
Added cargo cmd-doc-gen to auto-generate the table of commands in the new players/commands.md page in the book
2021-08-21 13:36:55 +01: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
ee704e171d
move translation check to seperate ci step
...
note: TAGUUID is used to avoid sqlinjections by choosing a branch name
2021-08-02 20:11:02 +02:00
Snowram
a3851c9214
Retry release jobs on failure
2021-07-31 00:09:54 +02:00
Marcel Märtens
4c0b74150d
remove some reexports
2021-07-29 22:18:34 +02:00
Marcel Märtens
5e21430204
execute jobs only if all previous jobs in previous stages succeded, e.g. in case of error in windows job dont push the linux docker container or change the tag yet
2021-07-22 12:05:43 +02:00
Marcel Märtens
8285b1d6e0
create a nightly tag that always point to the released nightly version of veloren in the respective schedule so that others can consume it
2021-07-21 08:43:48 +02:00
Marcel Märtens
9227390531
quickfix to avoid kaniko stopping with
...
"kaniko should only be run inside of a container, run with the --force flag if you are sure you want to continue" error
applied as described here https://github.com/GoogleContainerTools/kaniko/issues/1542
its also done in veloren-docker-cli: c8aa8ac857
We didnt had that problem in veloren repo until now.
2021-07-19 13:33:19 +02:00
Marcel Märtens
f11b6a09d6
now fix tarpaulin target cleanup, hopefully
2021-07-19 10:39:22 +02:00
Marcel Märtens
67cc5f07a2
set CI to also check a MR if it only modifies shell scripts
2021-07-18 18:53:52 +02:00
Marcel Märtens
2b6519baa2
choose correct path for tarpaulin
2021-07-18 18:52:08 +02:00
Marcel Märtens
eeafdfed3a
Revert "no longer incremental builds in CI"
...
This reverts commit b3983c5451
.
2021-07-17 21:53:32 +02:00
Marcel Märtens
26d32d1273
fix scripts that ended with && and correct the ASSETS variable for tests
2021-07-16 15:32:39 +02:00
Marcel Märtens
7c2cf9f707
only build once, dont build multiple targets. save time
...
Profiles:
(all are build, all are release, all are --no-default-features --features="default-publish" )
A) -p veloren-voxygen AND -p veloren-server-cli
B) NONE AND -p veloren-server-cli
C) NONE
D) NONE but server-cli/Cargo.toml has a default-publish feature
Timings
A)
> time cargo build -p veloren-voxygen --release --no-default-features --features default-publish
Compiling veloren-client v0.10.0 (/mnt/nfs/marcel/Entw/Rust/veloren/client)
Compiling refinery v0.5.0 (https://gitlab.com/veloren/refinery.git?rev=8ecf4b4772d791e6c8c0a3f9b66a7530fad1af3e#8ecf4b47 )
Compiling gfx-auxil v0.9.0 (https://github.com/gfx-rs/gfx?rev=27a1dae3796d33d23812f2bb8c7e3b5aea18b521#27a1dae3 )
Compiling gfx-backend-gl v0.8.1 (https://github.com/gfx-rs/gfx?rev=27a1dae3796d33d23812f2bb8c7e3b5aea18b521#27a1dae3 )
Compiling veloren-server v0.10.0 (/mnt/nfs/marcel/Entw/Rust/veloren/server)
Compiling wgpu v0.8.0 (https://github.com/gfx-rs/wgpu.git?rev=a92b8549a8e2cb9dac781bafc5ed32828f3caf46#a92b8549 )
Compiling wgpu-profiler v0.4.0 (https://github.com/Imberflur/wgpu-profiler?tag=wgpu-0.8#b156eb14 )
Finished release [optimized] target(s) in 16m 19s
cargo build -p veloren-voxygen --release --no-default-features --features 3091.78s user 71.80s system 322% cpu 16:19.44 total
> time cargo build --release -p veloren-server-cli
Compiling veloren-world v0.10.0 (/mnt/nfs/marcel/Entw/Rust/veloren/world)
Compiling refinery v0.5.0 (https://gitlab.com/veloren/refinery.git?rev=8ecf4b4772d791e6c8c0a3f9b66a7530fad1af3e#8ecf4b47 )
Compiling veloren-server v0.10.0 (/mnt/nfs/marcel/Entw/Rust/veloren/server)
Compiling veloren-server-cli v0.10.0 (/mnt/nfs/marcel/Entw/Rust/veloren/server-cli)
Finished release [optimized] target(s) in 6m 06s
cargo build --release -p veloren-server-cli 1024.29s user 18.42s system 284% cpu 6:06.62 total
B)
> time cargo build --release --no-default-features --features default-publish
Compiling veloren-client v0.10.0 (/mnt/nfs/marcel/Entw/Rust/veloren/client)
Compiling veloren-voxygen-egui v0.9.0 (/mnt/nfs/marcel/Entw/Rust/veloren/voxygen/egui)
Compiling gfx-auxil v0.9.0 (https://github.com/gfx-rs/gfx?rev=27a1dae3796d33d23812f2bb8c7e3b5aea18b521#27a1dae3 )
Compiling gfx-backend-gl v0.8.1 (https://github.com/gfx-rs/gfx?rev=27a1dae3796d33d23812f2bb8c7e3b5aea18b521#27a1dae3 )
Compiling refinery v0.5.0 (https://gitlab.com/veloren/refinery.git?rev=8ecf4b4772d791e6c8c0a3f9b66a7530fad1af3e#8ecf4b47 )
Compiling veloren-server v0.10.0 (/mnt/nfs/marcel/Entw/Rust/veloren/server)
Compiling wgpu v0.8.0 (https://github.com/gfx-rs/wgpu.git?rev=a92b8549a8e2cb9dac781bafc5ed32828f3caf46#a92b8549 )
Compiling wgpu-profiler v0.4.0 (https://github.com/Imberflur/wgpu-profiler?tag=wgpu-0.8#b156eb14 )
Compiling veloren-voxygen-anim-dyn v0.10.0 (/mnt/nfs/marcel/Entw/Rust/veloren/voxygen/anim/dyn)
Compiling veloren-voxygen-egui-dyn v0.9.0 (/mnt/nfs/marcel/Entw/Rust/veloren/voxygen/egui/dyn)
Compiling veloren-server-cli v0.10.0 (/mnt/nfs/marcel/Entw/Rust/veloren/server-cli)
Finished release [optimized] target(s) in 17m 10s
cargo build --release --no-default-features --features default-publish 4415.58s user 91.10s system 437% cpu 17:10.66 total
> time cargo build --release -p veloren-server-cli
Compiling veloren-world v0.10.0 (/mnt/nfs/marcel/Entw/Rust/veloren/world)
Compiling refinery v0.5.0 (https://gitlab.com/veloren/refinery.git?rev=8ecf4b4772d791e6c8c0a3f9b66a7530fad1af3e#8ecf4b47 )
Compiling veloren-server v0.10.0 (/mnt/nfs/marcel/Entw/Rust/veloren/server)
Compiling veloren-server-cli v0.10.0 (/mnt/nfs/marcel/Entw/Rust/veloren/server-cli)
Finished release [optimized] target(s) in 6m 08s
cargo build --release -p veloren-server-cli 1123.93s user 23.01s system 311% cpu 6:08.14 total
C)
> time cargo build --release --no-default-features --features default-publish
Compiling prometheus-hyper v0.1.2
Compiling authc v1.0.0 (https://gitlab.com/veloren/auth.git?rev=fb3dcbc4962b367253f8f2f92760ef44d2679c9a#fb3dcbc4 )
Compiling veloren-common-net v0.10.0 (/mnt/nfs/marcel/Entw/Rust/veloren/common/net)
Compiling veloren-plugin-api v0.1.0 (/mnt/nfs/marcel/Entw/Rust/veloren/plugin/api)
Compiling veloren-voxygen-anim v0.10.0 (/mnt/nfs/marcel/Entw/Rust/veloren/voxygen/anim)
Compiling veloren-plugin-rt v0.1.0 (/mnt/nfs/marcel/Entw/Rust/veloren/plugin/rt)
Compiling veloren-common-systems v0.10.0 (/mnt/nfs/marcel/Entw/Rust/veloren/common/systems)
Compiling veloren-common-state v0.10.0 (/mnt/nfs/marcel/Entw/Rust/veloren/common/state)
Compiling veloren-world v0.10.0 (/mnt/nfs/marcel/Entw/Rust/veloren/world)
Compiling veloren-world v0.10.0 (/mnt/nfs/marcel/Entw/Rust/veloren/world)
Compiling veloren-client v0.10.0 (/mnt/nfs/marcel/Entw/Rust/veloren/client)
Compiling veloren-voxygen-egui v0.9.0 (/mnt/nfs/marcel/Entw/Rust/veloren/voxygen/egui)
Compiling refinery v0.5.0 (https://gitlab.com/veloren/refinery.git?rev=8ecf4b4772d791e6c8c0a3f9b66a7530fad1af3e#8ecf4b47 )
Compiling veloren-server v0.10.0 (/mnt/nfs/marcel/Entw/Rust/veloren/server)
Compiling gfx-auxil v0.9.0 (https://github.com/gfx-rs/gfx?rev=27a1dae3796d33d23812f2bb8c7e3b5aea18b521#27a1dae3 )
Compiling gfx-backend-gl v0.8.1 (https://github.com/gfx-rs/gfx?rev=27a1dae3796d33d23812f2bb8c7e3b5aea18b521#27a1dae3 )
Compiling wgpu v0.8.0 (https://github.com/gfx-rs/wgpu.git?rev=a92b8549a8e2cb9dac781bafc5ed32828f3caf46#a92b8549 )
Compiling wgpu-profiler v0.4.0 (https://github.com/Imberflur/wgpu-profiler?tag=wgpu-0.8#b156eb14 )
Compiling veloren-voxygen-anim-dyn v0.10.0 (/mnt/nfs/marcel/Entw/Rust/veloren/voxygen/anim/dyn)
Compiling veloren-voxygen-egui-dyn v0.9.0 (/mnt/nfs/marcel/Entw/Rust/veloren/voxygen/egui/dyn)
Compiling veloren-server-cli v0.10.0 (/mnt/nfs/marcel/Entw/Rust/veloren/server-cli)
Finished release [optimized] target(s) in 16m 41s
cargo build --release --no-default-features --features default-publish 4349.71s user 90.02s system 443% cpu 16:41.58 total
D)
> time cargo build --release --no-default-features --features default-publish
Compiling prometheus-hyper v0.1.2
Compiling authc v1.0.0 (https://gitlab.com/veloren/auth.git?rev=fb3dcbc4962b367253f8f2f92760ef44d2679c9a#fb3dcbc4 )
Compiling veloren-common-net v0.10.0 (/mnt/nfs/marcel/Entw/Rust/veloren/common/net)
Compiling veloren-plugin-api v0.1.0 (/mnt/nfs/marcel/Entw/Rust/veloren/plugin/api)
Compiling veloren-voxygen-anim v0.10.0 (/mnt/nfs/marcel/Entw/Rust/veloren/voxygen/anim)
Compiling veloren-plugin-rt v0.1.0 (/mnt/nfs/marcel/Entw/Rust/veloren/plugin/rt)
Compiling veloren-common-state v0.10.0 (/mnt/nfs/marcel/Entw/Rust/veloren/common/state)
Compiling veloren-common-systems v0.10.0 (/mnt/nfs/marcel/Entw/Rust/veloren/common/systems)
Compiling veloren-world v0.10.0 (/mnt/nfs/marcel/Entw/Rust/veloren/world)
Compiling veloren-client v0.10.0 (/mnt/nfs/marcel/Entw/Rust/veloren/client)
Compiling veloren-voxygen-egui v0.9.0 (/mnt/nfs/marcel/Entw/Rust/veloren/voxygen/egui)
Compiling refinery v0.5.0 (https://gitlab.com/veloren/refinery.git?rev=8ecf4b4772d791e6c8c0a3f9b66a7530fad1af3e#8ecf4b47 )
Compiling veloren-server v0.10.0 (/mnt/nfs/marcel/Entw/Rust/veloren/server)
Compiling gfx-auxil v0.9.0 (https://github.com/gfx-rs/gfx?rev=27a1dae3796d33d23812f2bb8c7e3b5aea18b521#27a1dae3 )
Compiling gfx-backend-gl v0.8.1 (https://github.com/gfx-rs/gfx?rev=27a1dae3796d33d23812f2bb8c7e3b5aea18b521#27a1dae3 )
Compiling wgpu v0.8.0 (https://github.com/gfx-rs/wgpu.git?rev=a92b8549a8e2cb9dac781bafc5ed32828f3caf46#a92b8549 )
Compiling wgpu-profiler v0.4.0 (https://github.com/Imberflur/wgpu-profiler?tag=wgpu-0.8#b156eb14 )
Compiling veloren-voxygen-egui-dyn v0.9.0 (/mnt/nfs/marcel/Entw/Rust/veloren/voxygen/egui/dyn)
Compiling veloren-voxygen-anim-dyn v0.10.0 (/mnt/nfs/marcel/Entw/Rust/veloren/voxygen/anim/dyn)
Compiling veloren-server-cli v0.10.0 (/mnt/nfs/marcel/Entw/Rust/veloren/server-cli)
Finished release [optimized] target(s) in 17m 30s
cargo build --release --no-default-features --features default-publish 4462.34s user 92.17s system 433% cpu 17:31.00 total
Hashes
A)
veloren-voxygen: e9de69144b4d459dc0da2775b2b87ac9
veloren-server-cli: 8c131c1b1daaa6efd0f83d95d9b5dad9
B)
veloren-voxygen: 415e14ec1c14a6a559d2908b843d88d5
veloren-server-cli: 8c131c1b1daaa6efd0f83d95d9b5dad9
C)
veloren-voxygen: 415e14ec1c14a6a559d2908b843d88d5
veloren-server-cli: 3bf56d0d0a76191a578ed5e71389f512
D)
veloren-voxygen: 415e14ec1c14a6a559d2908b843d88d5
veloren-server-cli: c9dc4fb0bfcbd831150eebac788e2f71
Binary Sizes:
A)
veloren-voxygen: 156667288
veloren-server-cli: 85136736
B)
veloren-voxygen: 162860552
veloren-server-cli: 85136736
C)
veloren-voxygen: 162860552
veloren-server-cli: 95597304
D)
veloren-voxygen: 162860552
veloren-server-cli: 95586360
Total Cache Size:
A) 4.1G
B) 5G
C) 4.1G
D) 4.1G
2021-07-15 10:56:32 +02:00
Marcel Märtens
b3983c5451
no longer incremental builds in CI
2021-07-14 21:55:12 +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
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
Marcel Märtens
6efe3523d5
test on merge event rather than branch name master as a fork could also have a branch master
2021-07-09 11:19:22 +02:00
Marcel Märtens
fcc6bb819b
make sure that all CI jobs run always and not only in branch
2021-07-09 11:19:20 +02:00
juliancoffee
33a37a8857
Run asset_tweak tests separately
...
+ Make parse_all_ron_files_to_value panic-friendly. Remove unwraps
to unwrap_or_else with panic message.
2021-07-04 19:31:57 +03:00
Avi Weinstock
957ba5d218
Use new dungeons in dungeon_voxel_export, remove old dungeon sampling function, and add more of world/examples to CI.
2021-06-27 15:35:43 -04:00
Ben Wallis
da319e71ec
Added default-publish feature and updated build scripts.
2021-06-26 17:48:48 +01:00
Marcel
875b26a93a
Merge branch 'aweinstock/recipe-graphviz' into 'master'
...
Add graphviz diagram generator for crafting recipes.
See merge request veloren/veloren!2401
2021-06-09 09:14:13 +00:00
juliancoffee
44e4fd874f
add asset_tweaks to unittests on CI
2021-06-08 23:00:59 +03:00
Avi Weinstock
b5ae6227c0
Run clippy for graphviz target in CI and add instructions on how to consume the output.
2021-06-08 15:08:14 -04:00
juliancoffee
8f86f474e8
place asset_tweak behind a feature
2021-06-08 13:34:41 +03:00
Marcel Märtens
846df3a18a
--all-targets does not run targets that needs some features which are not provided. --all-features is NOT possible as we have some features which are conflicting.
...
The only possibility is to manually add the features we need to check in CI to the clippy query
2021-06-07 12:29:08 +02:00
Imbris
aa127a9df6
Make docker-nightly job depend on the nightly air-linux job
2021-06-04 03:24:57 -04:00
Imbris
61cec869c1
Merge branch 'imbris/nightly-ci-improvement' into 'master'
...
Avoid extra jobs on nightly builds
See merge request veloren/veloren!2367
2021-06-03 20:54:16 +00:00
Imbris
e7a766b310
Merge branch 'imbris/wgpu-master-rebased' into 'master'
...
wgpu
See merge request veloren/veloren!1947
2021-06-03 19:58:48 +00:00
Imbris
f3cb08170c
Unhack the wgpu branch CI
2021-06-03 14:24:31 -04:00
Marcel Märtens
44d04aa074
change cidb settings
2021-06-03 17:26:09 +02:00
Imbris
2154893501
Avoid extra jobs on nightly builds
2021-06-03 04:10:22 -04:00
Imbris
7f8877988d
CI tweaks, make windows build use posix mingw and copy necessary DLL files
2021-06-02 23:59:50 -04:00
Imbris
e97d57b119
Disable CI that does not need to run for builds
2021-06-02 23:59:50 -04:00
Imbris
f07c2e8dab
Add missing userdata strategy env var to macos builds
2021-06-02 16:50:42 -04:00
Imbris
a8ced7b959
Fix benchmarks by removing the rest of the incremental folder
2021-06-01 17:32:31 -04:00
Imbris
d256dae29e
Merge branch 'imbris/fix-pages' into 'master'
...
Fix pages by specifying a docker image
See merge request veloren/veloren!2363
2021-06-01 21:07:57 +00:00
Imbris
659541d463
Fix pages by specifying a docker image
2021-06-01 16:26:41 -04:00
Imbris
351327c3d0
Use native macos runner for builds
2021-06-01 16:08:47 -04:00
Imbris
32ab0860ca
delete all incremental things for clippy CI
2021-06-01 14:15:01 -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
juliancoffee
5573fc33b9
Extract voxygen/src/i18n.rs into own crate
...
- New crate (i18n), currently under voxygen directory
- Updated CI to run localization test from i18n, not from voxygen
2021-05-09 13:12:26 +03:00
Marcel Märtens
a610db5cfc
have a seperate stage for scheduled builds
2021-04-23 17:48:02 +02:00
Marcel
ea16fa10ab
use different docker tags for master and nightly runs,
...
This allow us to decouple our test-ci from the release-ci and is necessary for multiple release channels in the future.
E.g. we can run a master build without it directly beeing pushed to watchtower and airshipper (config setting requiered on airshipper)
Adjust Tags for server-cli
2021-04-22 21:38:29 +02:00
Marcel
fab9d1c899
Merge branch 'xMAC94x/fix_benchmarks' into 'master'
...
fix upload of benchmarks
See merge request veloren/veloren!2149
2021-04-18 20:55:05 +00:00
Marcel Märtens
6f46d20aee
fix upload of benchmarks
2021-04-18 20:01:26 +02:00
Sam
48158a98c5
Moved coverage and benchmarks to only run post-merge.
2021-04-17 18:50:31 -04:00
Songtronix
6c8c649d3d
change(ci): only create artifacts triggered by schedule
2021-03-31 17:02:47 +02:00
Marcel Märtens
63dc2ea551
unittest fix
2021-03-23 11:51:00 +01:00
Marcel Märtens
c58eb1cf50
ci fails sporadically, remove file so it doesnt fail that often till we have a bettter toolchain
2021-03-23 10:30:29 +01:00
Marcel Märtens
3d195348d2
fix ci, which was broken by merging unittests and check
2021-01-23 23:05:24 +01:00
Imbris
adaea096d2
Update winit and iced
2021-01-23 01:09:33 -05:00
Ben Wallis
a590595149
Merged check and unit tests into single step
...
Reordered commands to run quickest first in order to tie up least CI resource
Fixed some clippy errors in examples
2021-01-19 19:58:51 +01:00
Marcel
0826707b0d
use --all-targets
which is the same as before AND --lib
.
...
Just to be future proof, lib should not matter ATM, but might in the future when we produce libs that are not used in any binary target
2021-01-14 08:16:25 +00:00
Marcel Märtens
68be467138
After some discussion with XVar, Song and Yakei we found out that cargo clippy
is a superset of cargo check
.
...
There are multiple hints:
- one guy in discord https://discord.gg/nWGhnbRb https://discord.com/channels/273534239310479360/335502067432947748/798886188923617290
- a old stackoverflow https://stackoverflow.com/questions/57449356/is-cargo-clippy-a-superset-of-cargo-check which lead us to the source code:
7fa1d78c89/src/main.rs (L73)
which either uses `check` or `fix`.
cargo fix is documented in the docs with (https://doc.rust-lang.org/cargo/commands/cargo-fix.html )
"executing cargo fix will under the hood execute cargo-check(1)."
- `cargo clippy` fails after running `cargo check` prob as there is nothing to do.
- `cargo clippy --help` points us to `cargo check --help`
Thus we are removing `cargo check` from the CI as a seperate check.
However `cargo check --examples` did check the examples.
In order to have them covered we are also running clippy now for examples, benches and all bins.
Also we moved `--locked` from cargo check to clippy.
2021-01-13 14:22:54 +01: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
58bda48bf0
it seems like that the TAGUUID must start with a Alphabetic char
2020-12-12 00:20:57 +01:00
Marcel Märtens
9dae7f1cf6
fix sql injection
2020-12-11 19:09:11 +01:00
Marcel Märtens
d46271f052
switch host to mac94.de, because song is affraid of sql injection into a public db which doesn't cause any harm
2020-12-11 15:58:41 +01:00
Marcel Märtens
9ec2a602e6
escape ENV variables with a randomly generated 16 char tag. remove installation of postgres client and move it to docker container
2020-12-11 13:26:04 +01:00
Marcel Märtens
dad5bf3aff
upload benchmark to central ci db
...
```sql
CREATE TABLE benchmarks(
"timestamp" timestamptz NOT NULL DEFAULT (current_setting('veloren.timestamp')::timestamptz),
branch text NOT NULL DEFAULT current_setting('veloren.branch'),
sha text NOT NULL DEFAULT current_setting('veloren.sha'),
"group" text NULL,
"function" text NULL,
"value" text NULL,
throughput_num numeric NULL,
throughput_type text NULL,
sample_measured_value numeric NOT NULL,
unit text NULL,
iteration_count numeric NULL
);
```
2020-12-10 16:19:41 +01:00
Imbris
d7f506cf71
Don't drop wayland clipboard
2020-12-01 19:35:32 -05:00
Marcel Märtens
40f5afc2b0
ci cleanup, dependency update
2020-11-06 14:34:42 +01:00
Marcel Märtens
1b47913835
fix clippy after toolchain update
2020-10-26 22:30:51 +01:00
Marcel Märtens
153c6c3b13
Fixing Tarpaulin isn't easy.
...
So first off all we had to update the toolchain, i think everything in september is okay, but we got with this current version.
Then we had to update several dependencies, which broke:
- need a specific fix of winit, i think we want to get rid of this with iced, hopefully, because its buggy as hell. update wayland client to 0.27
- use a updated version of glutin which has wayland-client 0.27 and no longer the broke version 0.23
- update conrod to use modern copypasta 0.7
- use `packed_simd_2` instead of `packed_simd` as the owner of the create abandoned the project.
- adjust all the coding to work with the newer glutin and winit version. that also includes fixing a macro in one of the dependencies that did some crazy conversion from 1 event type to another event type.
It was called `convert_event`
- make a `simd` feature which is default and introduce conditional compiling.
AS I HAVE NO IDEA OF SIMD AND THE CODE. AND I DIDN'T INTRODUCE THE ERROR IN THE FIRST PLACE, WE PANIC FOR NON SIMD CASE FOR NOW. BUT IT WORKS FOR TESTS.
- tarpaulin doesnt support no-default-features. so we have to `sed` them away. semms fair.
2020-10-26 17:04:20 +01:00
Imbris
522880a0ab
Update CI and docker files to work with changes to data folder structure
2020-10-10 02:10:32 -04:00
Marcel Märtens
b12af1d00c
partially fix pages
2020-09-17 12:03:50 +02:00
Joshua Yanovski
45030530b8
Update recompile.yml
2020-09-02 18:33:36 +00:00
Marcel Märtens
8c883c200d
Switch veloren_network over to use the official example layout.
...
adjusted those examples to run again
created a CI TEST to always `check` examples
fixed fmt in examples so that pipeline gets green
2020-08-26 10:07:22 +02:00
Forest Anderson
8e70bc4a3e
Disable coverage for merge
2020-08-20 14:41:15 -04:00
Marcel Märtens
30bd570b8f
put optional builds in check like imbris suggested in order to test macOS and other builds easily
2020-07-17 12:17:34 +02:00
Marcel Märtens
5d60fb2e1d
move i18n test to i18n file to reduce compile time && merge gitlab jobs to only have 1 cargo test job
2020-07-13 09:50:55 +02:00
Yusuf Bera Ertan
72ec565678
fix localization test
2020-07-12 05:38:11 +03:00
Marcel Märtens
d44128ac7a
remove the strip of the linux binaries in CI, this will prob make it a few MB bigger but help to provide a backtrace in case we panic!
in our builds or docker server
2020-07-10 16:03:06 +02:00
Marcel Märtens
e1b27c51f5
fix clippy issues in tests and add it to CI
2020-07-01 00:37:15 +02:00
Songtronix
44d68d27da
fix(ci): pages document default features only
...
related to !1094
2020-06-19 09:39:53 +02:00
Marcel Märtens
0d34c2a10b
first rule evaluated to never, switched that
2020-06-17 10:41:17 +02: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
Forest Anderson
053721ba40
Fix pages stage to publish
2020-06-14 14:03:26 -04:00
Forest Anderson
d8a8cc7032
Test pages
...
Added stage
Move files to public
Move folder instead
Make if already exists
Move filees
Finished cleaning
2020-06-12 09:41:09 -04:00
Marcel Märtens
0e59ee901e
dependency reduction:
...
- authc no longer uses reqwest
- image only supports PNG
- replace routille with tiny_http
- several other dependencies
- cargo upgrade
- following improvement was measured on R7 1700X:
before:
- cargo build: 3076.73s user / 4:45 total / 589 dependencies
- cargo test: 6118.38s user / 7:30 total / 959 dependencies
after:
- cargo build: 2680.54s user / 4:05 total / 480 dependencies
- cargo test: 5351.81s user / 7:04 total / 791 dependencies
- added xMAC94x to CODEOWNERS for Cargo.toml, he will protect them from now on and hit people with evil looks ;)
2020-06-11 20:55:34 +02:00
Ben Wallis
950c62efc6
Suppressed all existing clippy warnings in preparation for fixes as part of #587
2020-06-10 22:01:42 +01:00