Turns out debian stable meson package is kinda old.
This commit is contained in:
Jordan Petridis 2018-03-13 07:23:43 +02:00
parent cc052eb450
commit fdf3908494
No known key found for this signature in database
GPG Key ID: CEABAD9F5683B9A6

View File

@ -17,10 +17,9 @@ variables:
# Force regeneration of gresources regardless of artifacts chage # Force regeneration of gresources regardless of artifacts chage
- cd hammond-gtk/resources/ && glib-compile-resources --generate resources.xml && cd ../../ - cd hammond-gtk/resources/ && glib-compile-resources --generate resources.xml && cd ../../
- ./configure --prefix=/usr/local - cargo build
- make - cargo test -- --test-threads=1
- cargo test --release -- --test-threads=1 - cargo test -- --test-threads=1 --ignored
- cargo test --release -- --test-threads=1 --ignored
stable:test: stable:test:
# https://hub.docker.com/_/rust/ # https://hub.docker.com/_/rust/
@ -38,8 +37,9 @@ rustfmt:
image: "registry.gitlab.com/alatiera/rustfmt-oci-image/rustfmt:nightly" image: "registry.gitlab.com/alatiera/rustfmt-oci-image/rustfmt:nightly"
stage: lint stage: lint
script: script:
- rustc --version && cargo --version - rustc -Vv && cargo -Vv
- cargo fmt --all -- --write-mode=diff - cargo fmt --version
- cargo fmt --all -- --write-mode=diff
# Configure and run clippy on nightly # Configure and run clippy on nightly
# Only fails on errors atm. # Only fails on errors atm.