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
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
Marcel Märtens
81dc34ec68
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
7bac7a99c7
make sure that all CI jobs run always and not only in branch
2021-07-09 11:19:20 +02:00
juliancoffee
5157b84f2f
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
7a5388b8bb
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
f8dc0e3a2c
Added default-publish feature and updated build scripts.
2021-06-26 17:48:48 +01:00
Marcel
1104dfc983
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
1d5c35a48b
add asset_tweaks to unittests on CI
2021-06-08 23:00:59 +03:00
Avi Weinstock
e9202024d7
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
8c28e29056
place asset_tweak behind a feature
2021-06-08 13:34:41 +03:00
Marcel Märtens
c339c57fa3
--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
2ffeaab2fe
Make docker-nightly job depend on the nightly air-linux job
2021-06-04 03:24:57 -04:00
Imbris
03a89bbfcf
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
57637f3f0a
Merge branch 'imbris/wgpu-master-rebased' into 'master'
...
wgpu
See merge request veloren/veloren!1947
2021-06-03 19:58:48 +00:00
Imbris
72bc86f5cb
Unhack the wgpu branch CI
2021-06-03 14:24:31 -04:00
Marcel Märtens
afeedb412e
change cidb settings
2021-06-03 17:26:09 +02:00
Imbris
d98420cd3b
Avoid extra jobs on nightly builds
2021-06-03 04:10:22 -04:00
Imbris
0fbad9c961
CI tweaks, make windows build use posix mingw and copy necessary DLL files
2021-06-02 23:59:50 -04:00
Imbris
17a3bebbfe
Disable CI that does not need to run for builds
2021-06-02 23:59:50 -04:00
Imbris
857eb98632
Add missing userdata strategy env var to macos builds
2021-06-02 16:50:42 -04:00
Imbris
92c6ea9017
Fix benchmarks by removing the rest of the incremental folder
2021-06-01 17:32:31 -04:00
Imbris
18a064c855
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
988f2eae25
Fix pages by specifying a docker image
2021-06-01 16:26:41 -04:00
Imbris
82788716e0
Use native macos runner for builds
2021-06-01 16:08:47 -04:00
Imbris
72136103d7
delete all incremental things for clippy CI
2021-06-01 14:15:01 -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
juliancoffee
333754b2e6
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
e157c81671
have a seperate stage for scheduled builds
2021-04-23 17:48:02 +02:00
Marcel
8fb27f3d6d
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
a4e836bf9b
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
bbaf8280fa
fix upload of benchmarks
2021-04-18 20:01:26 +02:00
Sam
2a860d1baf
Moved coverage and benchmarks to only run post-merge.
2021-04-17 18:50:31 -04:00
Songtronix
0307cab21f
change(ci): only create artifacts triggered by schedule
2021-03-31 17:02:47 +02:00
Marcel Märtens
cb23ab95f3
unittest fix
2021-03-23 11:51:00 +01:00
Marcel Märtens
c395577339
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
9092e65c2c
fix ci, which was broken by merging unittests and check
2021-01-23 23:05:24 +01:00
Imbris
e818403dcb
Update winit and iced
2021-01-23 01:09:33 -05:00
Ben Wallis
1801548824
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
37d4f7b62d
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
a7957db824
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
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
6257961664
it seems like that the TAGUUID must start with a Alphabetic char
2020-12-12 00:20:57 +01:00
Marcel Märtens
0e19b48a48
fix sql injection
2020-12-11 19:09:11 +01:00
Marcel Märtens
b9c23d7d21
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
e55db9c936
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
be62873bcf
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
34a1e016a9
Don't drop wayland clipboard
2020-12-01 19:35:32 -05:00
Marcel Märtens
77bbc44051
ci cleanup, dependency update
2020-11-06 14:34:42 +01:00
Marcel Märtens
b02f8428fb
fix clippy after toolchain update
2020-10-26 22:30:51 +01:00