Disabled meson builds from the ci.
This commit is contained in:
parent
4e4a9d799a
commit
49bf8f3d04
@ -1,7 +1,15 @@
|
|||||||
|
stages:
|
||||||
|
# meson uses cargo to do the build
|
||||||
|
# so it's ok to have the tests first.
|
||||||
|
- test
|
||||||
|
# - build
|
||||||
|
- lint
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
- apt-get update -yqq
|
- apt-get update -yqq
|
||||||
- apt-get install -yqq --no-install-recommends build-essential
|
- apt-get install -yqq --no-install-recommends build-essential
|
||||||
- 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
|
||||||
|
|
||||||
# kcov
|
# kcov
|
||||||
# - apt-get install -y libcurl4-openssl-dev libelf-dev libdw-dev cmake gcc binutils-dev libiberty-dev
|
# - apt-get install -y libcurl4-openssl-dev libelf-dev libdw-dev cmake gcc binutils-dev libiberty-dev
|
||||||
@ -9,24 +17,25 @@ before_script:
|
|||||||
# variables:
|
# variables:
|
||||||
# RUSTFLAGS: "-C link-dead-code"
|
# RUSTFLAGS: "-C link-dead-code"
|
||||||
|
|
||||||
# Build with meson
|
# Currently doesnt work.
|
||||||
build:stable:
|
# # Build with meson
|
||||||
# Stable img
|
# build:stable:
|
||||||
# https://hub.docker.com/_/rust/
|
# # Stable img
|
||||||
image: "rust"
|
# # https://hub.docker.com/_/rust/
|
||||||
script:
|
# image: "rust"
|
||||||
- rustc --version && cargo --version
|
# script:
|
||||||
- ./configure --prefix=/usr/local
|
# - rustc --version && cargo --version
|
||||||
- make && sudo make install
|
# - ./configure --prefix=/usr/local
|
||||||
|
# - make && sudo make install
|
||||||
|
|
||||||
build:nightly:
|
# build:nightly:
|
||||||
# Nightly
|
# # Nightly
|
||||||
# https://hub.docker.com/r/rustlang/rust/
|
# # https://hub.docker.com/r/rustlang/rust/
|
||||||
image: "rustlang/rust:nightly"
|
# image: "rustlang/rust:nightly"
|
||||||
script:
|
# script:
|
||||||
- rustc --version && cargo --version
|
# - rustc --version && cargo --version
|
||||||
- ./configure --prefix=/usr/local
|
# - ./configure --prefix=/usr/local
|
||||||
- make && sudo make install
|
# - make && sudo make install
|
||||||
|
|
||||||
test:stable:
|
test:stable:
|
||||||
# Stable img
|
# Stable img
|
||||||
@ -49,7 +58,7 @@ test:nightly:
|
|||||||
|
|
||||||
# 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
|
||||||
rustfmt:
|
lint:rustfmt:
|
||||||
image: "rustlang/rust:nightly"
|
image: "rustlang/rust:nightly"
|
||||||
before_script:
|
before_script:
|
||||||
- apt-get update -yqq
|
- apt-get update -yqq
|
||||||
@ -63,7 +72,7 @@ rustfmt:
|
|||||||
|
|
||||||
# Configure and run clippy on nightly
|
# Configure and run clippy on nightly
|
||||||
# Only fails on errors atm.
|
# Only fails on errors atm.
|
||||||
clippy:
|
lint:clippy:
|
||||||
image: "rustlang/rust:nightly"
|
image: "rustlang/rust:nightly"
|
||||||
before_script:
|
before_script:
|
||||||
- apt-get update -yqq
|
- apt-get update -yqq
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user