mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-21 17:25:36 +00:00
7be35fc71a
<!-- 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. --> Source-Repo: https://github.com/servo/servo Source-Revision: 2eb1512c22e7d79a4c6af70af7aec53f4b18cac2 --HG-- extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear extra : subtree_revision : dbac199ced6f23c0e3c360d9c814585837e1389d
67 lines
1.9 KiB
YAML
67 lines
1.9 KiB
YAML
language: python
|
|
|
|
matrix:
|
|
fast_finish: true
|
|
include:
|
|
- sudo: false
|
|
script:
|
|
- ./mach test-tidy --no-progress --all
|
|
- ./mach test-tidy --no-progress --self-test
|
|
- bash etc/ci/check_no_panic.sh
|
|
- bash etc/ci/manifest_changed.sh
|
|
cache: false
|
|
- sudo: 9000
|
|
dist: trusty
|
|
before_install:
|
|
- sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
|
|
- sudo add-apt-repository 'deb http://apt.llvm.org/precise/ llvm-toolchain-precise-3.9 main' -y
|
|
- sudo apt-get update -q
|
|
- sudo apt-get install clang-3.9 llvm-3.9 llvm-3.9-runtime -y
|
|
- export LLVM_CONFIG=/usr/lib/llvm-3.9/bin/llvm-config
|
|
- export CC=gcc-5 CXX=g++-5
|
|
script:
|
|
- RUSTFLAGS='-D warnings' ./mach build -d --verbose
|
|
- RUSTFLAGS='-D warnings' ./mach test-unit
|
|
- ./mach clean
|
|
- RUSTFLAGS='-D warnings' ./mach build-geckolib
|
|
- RUSTFLAGS='-D warnings' ./mach test-stylo
|
|
- bash etc/ci/lockfile_changed.sh
|
|
cache:
|
|
directories:
|
|
- .cargo
|
|
- .servo
|
|
- $HOME/.ccache
|
|
before_cache:
|
|
- ./mach clean-nightlies --keep 2 --force
|
|
- ./mach clean-cargo-cache --keep 2 --force
|
|
env: CCACHE=/usr/bin/ccache
|
|
addons:
|
|
apt:
|
|
sources:
|
|
- ubuntu-toolchain-r-test
|
|
- sourceline: 'ppa:jonathonf/ffmpeg-3'
|
|
packages:
|
|
- cmake
|
|
- dbus-x11
|
|
- freeglut3-dev
|
|
- gcc-5
|
|
- g++-5
|
|
- gperf
|
|
- libavcodec-dev
|
|
- libavformat-dev
|
|
- libosmesa6-dev
|
|
- libpulse-dev
|
|
- libgles2-mesa-dev
|
|
- libswscale-dev
|
|
- libswresample-dev
|
|
- pulseaudio
|
|
- python-virtualenv
|
|
- xorg-dev
|
|
- ccache
|
|
- libdbus-glib-1-dev
|
|
- libedit-dev
|
|
|
|
branches:
|
|
only:
|
|
- master
|