mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 06:27:45 +00:00
Meta: Build Lagom js and run LibJS tests on Travis
This commit is contained in:
parent
9722cac9fe
commit
660fd04063
2 changed files with 15 additions and 4 deletions
11
.travis.yml
11
.travis.yml
|
@ -23,16 +23,19 @@ notifications:
|
||||||
before_install:
|
before_install:
|
||||||
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
|
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
|
||||||
- sudo apt-get update -qq
|
- sudo apt-get update -qq
|
||||||
- sudo apt-get install g++-8 libstdc++-8-dev shellcheck
|
- sudo apt-get install -y g++-8 libstdc++-8-dev cmake shellcheck libmpfr-dev libmpc-dev libgmp-dev e2fsprogs qemu-system-i386 qemu-utils
|
||||||
- sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-8 90
|
- 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 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:
|
script:
|
||||||
|
- export SERENITY_ROOT=$(pwd)
|
||||||
- cd Toolchain
|
- cd Toolchain
|
||||||
- TRY_USE_LOCAL_TOOLCHAIN=y ./BuildIt.sh
|
- TRY_USE_LOCAL_TOOLCHAIN=y ./BuildIt.sh
|
||||||
- cd ../Kernel
|
- cd ../Kernel
|
||||||
- ./makeall.sh
|
- ./makeall.sh
|
||||||
- ../Meta/lint-shell-scripts.sh
|
- ../Meta/lint-shell-scripts.sh
|
||||||
- du -ch ../Toolchain/Cache/* || true
|
- ../Meta/Lagom/build-js.sh
|
||||||
|
- cd ../Libraries/LibJS/Tests
|
||||||
|
- ./run-tests
|
||||||
|
- cd ../../../Toolchain/Cache
|
||||||
|
- du -ch * || true
|
||||||
|
|
8
Meta/Lagom/build-js.sh
Executable file
8
Meta/Lagom/build-js.sh
Executable file
|
@ -0,0 +1,8 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
script_path=$(cd -P -- "$(dirname -- "$0")" && pwd -P)
|
||||||
|
cd "$script_path" || exit 1
|
||||||
|
mkdir -p build
|
||||||
|
cd build || exit 1
|
||||||
|
cmake ..
|
||||||
|
make js
|
Loading…
Add table
Add a link
Reference in a new issue