You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
amethyst/.gitlab-ci.yml

25 lines
556 B
YAML

2 years ago
image: "archlinux:latest"
cargo:version:
before_script:
- pacman -Sy rustup base-devel --noconfirm
- rustup default stable
script:
- rustc --version && cargo --version
cargo:clippy:
before_script:
- pacman -Sy rustup base-devel --noconfirm
- rustup default stable
- rustup component add clippy
script:
- cargo clippy --no-deps -- -D clippy::all
cargo:fmt:
before_script:
- pacman -Sy rustup base-devel --noconfirm
- rustup default stable
- rustup component add rustfmt
script:
- cargo fmt --check