mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-12-12 01:10:42 +00:00
26956db5ac
It seems like the newest Ubuntu supported by Travis is 16.04. The bundled gcc is unable to compile the trendy and modern Serenity code, so let's try to install a newer GCC on the CI bot. :^)
30 lines
672 B
YAML
30 lines
672 B
YAML
sudo: require
|
|
dist: xenial
|
|
|
|
language: cpp
|
|
|
|
compiler:
|
|
- gcc
|
|
|
|
cache:
|
|
directories:
|
|
- /var/cache/apt/archives/*.deb
|
|
|
|
notifications:
|
|
irc: "chat.freenode.net#serenityos"
|
|
|
|
before_install:
|
|
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
|
|
- sudo apt-get update -qq
|
|
- sudo apt-get install g++-8 libstdc++-8-dev
|
|
- sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-8 90
|
|
- sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-8 90
|
|
- sudo apt-get install -y libmpfr-dev libmpc-dev libgmp-dev
|
|
- sudo apt-get install -y e2fsprogs qemu-system-i386 qemu-utils
|
|
|
|
script:
|
|
- cd Toolchain
|
|
- ./BuildIt.sh
|
|
- source ./UseIt.sh
|
|
- cd ../Kernel
|
|
- ./makeall.sh
|