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
S Handley
370ef80db4
Replace audio files
2020-06-08 16:26:48 +00:00
Songtronix
030f1050a4
change(ci): run coverage on branch and master
2020-06-03 10:31:05 +02:00
Songtronix
8f01e35746
fix(ci): avoid unneeded jobs on master
2020-05-30 11:08:05 +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
7963cfeade
fix(ci): avoid running redundant jobs on master
2020-05-28 20:22:49 +02:00
Songtronix
7fa71c2562
fix(ci): adjust release trigger + make sure pipelines always run
2020-05-28 18:44:31 +02:00
Songtronix
bb80bb256a
fix(ci): create artifacts on merge to master
2020-05-27 07:12:54 +02:00
Songtronix
f71b317589
change(ci): adjust docs + fix release template
2020-05-23 10:02:39 +02:00
Songtronix
5b7f93e14e
change(ci): trigger CI if changes were made to it
2020-05-22 18:13:58 +02:00
Songtronix
e8ba1b9767
fix(ci): make release branches work
2020-05-22 18:13:58 +02:00
Songtronix
69c65808dd
add(ci): optional macos build
2020-05-22 18:13:58 +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
93db252df6
change(ci): only run jobs if necessary
2020-05-22 18:13:57 +02:00
Songtronix
b6135f60ed
change(ci): document and add retries + fmt
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
1fc613d137
remove code owners as it's not being used
2020-05-22 18:13:57 +02:00
Songtronix
556c69de88
add issue template for bugs
2020-05-22 18:13:57 +02:00
Songtronix
c433e5e64d
add: CODEOWNERS file
...
introduces the need of approval by a specific group/person for the MR to be merged based on which part of the codebase is being touched
2020-03-06 19:10:27 +01:00