mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 04:07:35 +00:00
Travis: Switch to Ubuntu Focal
This commit is contained in:
parent
bb22b143d5
commit
f067fb0aef
1 changed files with 9 additions and 13 deletions
22
.travis.yml
22
.travis.yml
|
@ -1,5 +1,5 @@
|
||||||
os: linux
|
os: linux
|
||||||
dist: bionic
|
dist: focal
|
||||||
|
|
||||||
language: cpp
|
language: cpp
|
||||||
|
|
||||||
|
@ -9,7 +9,6 @@ compiler:
|
||||||
cache:
|
cache:
|
||||||
ccache: true
|
ccache: true
|
||||||
directories:
|
directories:
|
||||||
- /var/cache/apt/archives/*.deb
|
|
||||||
- Toolchain/Cache/
|
- Toolchain/Cache/
|
||||||
|
|
||||||
notifications:
|
notifications:
|
||||||
|
@ -23,18 +22,16 @@ notifications:
|
||||||
- "Details: %{build_url}"
|
- "Details: %{build_url}"
|
||||||
|
|
||||||
before_install:
|
before_install:
|
||||||
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
|
|
||||||
- sudo apt-get update -qq
|
- sudo apt-get update -qq
|
||||||
- sudo apt-get install -y g++-8 libstdc++-8-dev shellcheck libmpfr-dev libmpc-dev libgmp-dev e2fsprogs qemu-system-i386 qemu-utils
|
# These packages are already part of the Travis image:
|
||||||
- sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-8 90
|
#- sudo apt-get install -y g++-9 libstdc++-9-dev cmake shellcheck
|
||||||
- sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-8 90
|
# These aren't:
|
||||||
# Travis ships an old cmake 3.12.4. We need cmake >= 3.16.
|
- sudo apt-get install -y libmpfr-dev libmpc-dev libgmp-dev
|
||||||
# Why would you put binaries there?!
|
# If we ever do any qemu-emulation on Travis, we should re-enable this:
|
||||||
- sudo rm -rf /usr/local/cmake-*
|
#- e2fsprogs qemu-system-i386 qemu-utils
|
||||||
- which cmake || true
|
- g++ --version
|
||||||
- curl -sSf --proto =https --retry 3 --retry-delay 60 https://cmake.org/files/v3.18/cmake-3.18.1-Linux-x86_64.sh > /tmp/cmake-install.sh
|
|
||||||
- sudo sh /tmp/cmake-install.sh --skip-license --prefix=/usr
|
|
||||||
- cmake --version
|
- cmake --version
|
||||||
|
- shellcheck --version
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- export SERENITY_ROOT="$(pwd)"
|
- export SERENITY_ROOT="$(pwd)"
|
||||||
|
@ -57,4 +54,3 @@ script:
|
||||||
- cd "$SERENITY_ROOT"/Toolchain/Cache
|
- cd "$SERENITY_ROOT"/Toolchain/Cache
|
||||||
- du -ch * || true
|
- du -ch * || true
|
||||||
- du -sch /home/travis/.ccache/* || true
|
- du -sch /home/travis/.ccache/* || true
|
||||||
- du -sch /var/cache/apt/archives/*.deb || true
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue