mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
Auto merge of #19612 - tigercosmos:o1, r=jdm
deny warnings <!-- Please describe your changes on the following line: --> deny warnings related to #19573 --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [ ] `./mach build -d` does not report any errors - [ ] `./mach test-tidy` does not report any errors - [ ] These changes fix #19572 (github issue number if applicable). <!-- Either: --> - [ ] There are tests for these changes OR - [ ] These changes do not require tests because _____ <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/19612) <!-- Reviewable:end -->
This commit is contained in:
commit
2eb1512c22
5 changed files with 22 additions and 19 deletions
|
@ -20,11 +20,11 @@ matrix:
|
|||
- export LLVM_CONFIG=/usr/lib/llvm-3.9/bin/llvm-config
|
||||
- export CC=gcc-5 CXX=g++-5
|
||||
script:
|
||||
- ./mach build -d --verbose
|
||||
- ./mach test-unit
|
||||
- RUSTFLAGS='-D warnings' ./mach build -d --verbose
|
||||
- RUSTFLAGS='-D warnings' ./mach test-unit
|
||||
- ./mach clean
|
||||
- ./mach build-geckolib
|
||||
- ./mach test-stylo
|
||||
- RUSTFLAGS='-D warnings' ./mach build-geckolib
|
||||
- RUSTFLAGS='-D warnings' ./mach test-stylo
|
||||
- bash etc/ci/lockfile_changed.sh
|
||||
cache:
|
||||
directories:
|
||||
|
|
|
@ -48,6 +48,8 @@ cache:
|
|||
# - ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
|
||||
|
||||
build_script:
|
||||
- mach build -d -v && mach test-unit
|
||||
- set RUSTFLAGS=-D warnings
|
||||
- mach build -d -v
|
||||
- mach test-unit
|
||||
|
||||
test: off
|
||||
|
|
|
@ -28,6 +28,7 @@ pub use self::platform::{alloc, dealloc, realloc};
|
|||
mod platform {
|
||||
extern crate libc;
|
||||
|
||||
#[cfg(not(any(target_os = "android")))]
|
||||
use std::ptr;
|
||||
|
||||
use super::MIN_ALIGN;
|
||||
|
|
|
@ -32,11 +32,11 @@ mac-rel-wpt4:
|
|||
|
||||
mac-dev-unit:
|
||||
- ./mach clean-nightlies --keep 3 --force
|
||||
- env PKG_CONFIG_PATH=/usr/local/opt/zlib/lib/pkgconfig ./mach build --dev
|
||||
- env ./mach test-unit
|
||||
- env PKG_CONFIG_PATH=/usr/local/opt/zlib/lib/pkgconfig RUSTFLAGS=-Dwarnings ./mach build --dev
|
||||
- env PKG_CONFIG_PATH=/usr/local/opt/zlib/lib/pkgconfig RUSTFLAGS=-Dwarnings ./mach test-unit
|
||||
- env ./mach package --dev
|
||||
- env ./mach build-cef
|
||||
- ./mach build-geckolib
|
||||
- env PKG_CONFIG_PATH=/usr/local/opt/zlib/lib/pkgconfig RUSTFLAGS=-Dwarnings ./mach build-cef
|
||||
- env RUSTFLAGS=-Dwarnings ./mach build-geckolib
|
||||
- bash ./etc/ci/lockfile_changed.sh
|
||||
- bash ./etc/ci/manifest_changed.sh
|
||||
|
||||
|
@ -80,13 +80,13 @@ linux-dev:
|
|||
- ./mach clean-nightlies --keep 3 --force
|
||||
- ./mach test-tidy --no-progress --all
|
||||
- ./mach test-tidy --no-progress --self-test
|
||||
- env CC=gcc-5 CXX=g++-5 ./mach build --dev
|
||||
- env ./mach test-unit
|
||||
- env CC=gcc-5 CXX=g++-5 RUSTFLAGS=-Dwarnings ./mach build --dev
|
||||
- env CC=gcc-5 CXX=g++-5 RUSTFLAGS=-Dwarnings ./mach test-unit
|
||||
- env ./mach package --dev
|
||||
- env ./mach build-cef
|
||||
- env ./mach build --dev --no-default-features --features default-except-unstable
|
||||
- ./mach build-geckolib
|
||||
- ./mach test-stylo
|
||||
- env CC=gcc-5 CXX=g++-5 RUSTFLAGS=-Dwarnings ./mach build-cef
|
||||
- env CC=gcc-5 CXX=g++-5 RUSTFLAGS=-Dwarnings ./mach build --dev --no-default-features --features default-except-unstable
|
||||
- env RUSTFLAGS=-Dwarnings ./mach build-geckolib
|
||||
- env RUSTFLAGS=-Dwarnings ./mach test-stylo
|
||||
- bash ./etc/ci/lockfile_changed.sh
|
||||
- bash ./etc/ci/manifest_changed.sh
|
||||
- bash ./etc/ci/check_no_panic.sh
|
||||
|
@ -120,7 +120,7 @@ linux-nightly:
|
|||
|
||||
android:
|
||||
- ./mach clean-nightlies --keep 3 --force
|
||||
- env ANDROID_SDK=/home/servo/android/sdk/r25.2.3 ./mach build --android --dev
|
||||
- env ANDROID_SDK=/home/servo/android/sdk/r25.2.3 RUSTFLAGS=-Dwarnings ./mach build --android --dev
|
||||
- env ANDROID_SDK=/home/servo/android/sdk/r25.2.3 ./mach package --android --dev
|
||||
- bash ./etc/ci/lockfile_changed.sh
|
||||
- bash ./etc/ci/manifest_changed.sh
|
||||
|
@ -134,18 +134,19 @@ android-nightly:
|
|||
|
||||
arm32:
|
||||
- ./mach clean-nightlies --keep 3 --force
|
||||
- env ./mach build --rel --target=arm-unknown-linux-gnueabihf
|
||||
- env RUSTFLAGS=-Dwarnings ./mach build --rel --target=arm-unknown-linux-gnueabihf
|
||||
- bash ./etc/ci/lockfile_changed.sh
|
||||
- bash ./etc/ci/manifest_changed.sh
|
||||
|
||||
arm64:
|
||||
- ./mach clean-nightlies --keep 3 --force
|
||||
- env ./mach build --rel --target=aarch64-unknown-linux-gnu
|
||||
- env RUSTFLAGS=-Dwarnings ./mach build --rel --target=aarch64-unknown-linux-gnu
|
||||
- bash ./etc/ci/lockfile_changed.sh
|
||||
- bash ./etc/ci/manifest_changed.sh
|
||||
|
||||
windows-msvc-dev:
|
||||
- mach.bat clean-nightlies --keep 3 --force
|
||||
- set RUSTFLAGS=-D warnings
|
||||
- mach.bat build --dev
|
||||
- mach.bat test-unit
|
||||
- mach.bat package --dev
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
|
||||
#[macro_use] extern crate bitflags;
|
||||
extern crate compositing;
|
||||
#[cfg(target_os = "android")] extern crate egl;
|
||||
extern crate euclid;
|
||||
extern crate gleam;
|
||||
extern crate glutin;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue