gitlab-ci: Disable nightly builds and clippy.
This commit is contained in:
parent
95ff3715a3
commit
88a4c2d9f0
@ -11,9 +11,6 @@ before_script:
|
|||||||
- apt-get install -yqq --no-install-recommends libgtk-3-dev
|
- apt-get install -yqq --no-install-recommends libgtk-3-dev
|
||||||
# - apt-get install -yqq --no-install-recommends meson
|
# - apt-get install -yqq --no-install-recommends meson
|
||||||
|
|
||||||
# kcov
|
|
||||||
# - apt-get install -y libcurl4-openssl-dev libelf-dev libdw-dev cmake gcc binutils-dev libiberty-dev
|
|
||||||
|
|
||||||
.cargo_test_template: &cargo_test
|
.cargo_test_template: &cargo_test
|
||||||
stage: test
|
stage: test
|
||||||
script:
|
script:
|
||||||
@ -34,10 +31,10 @@ stable:test:
|
|||||||
image: "rust"
|
image: "rust"
|
||||||
<<: *cargo_test
|
<<: *cargo_test
|
||||||
|
|
||||||
nightly:test:
|
# nightly:test:
|
||||||
# https://hub.docker.com/r/rustlang/rust/
|
# # https://hub.docker.com/r/rustlang/rust/
|
||||||
image: "rustlang/rust:nightly"
|
# image: "rustlang/rust:nightly"
|
||||||
<<: *cargo_test
|
# <<: *cargo_test
|
||||||
|
|
||||||
# Configure and run rustfmt on nightly
|
# Configure and run rustfmt on nightly
|
||||||
# Exits and builds fails if on bad format
|
# Exits and builds fails if on bad format
|
||||||
@ -53,12 +50,12 @@ rustfmt:
|
|||||||
|
|
||||||
# Configure and run clippy on nightly
|
# Configure and run clippy on nightly
|
||||||
# Only fails on errors atm.
|
# Only fails on errors atm.
|
||||||
clippy:
|
# clippy:
|
||||||
image: "rustlang/rust:nightly"
|
# image: "rustlang/rust:nightly"
|
||||||
stage: lint
|
# stage: lint
|
||||||
script:
|
# script:
|
||||||
- rustc --version && cargo --version
|
# - rustc --version && cargo --version
|
||||||
- cargo install clippy --force
|
# - cargo install clippy --force
|
||||||
# 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 ../../
|
||||||
- cargo clippy --all
|
# - cargo clippy --all
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user