mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-30 08:41:15 +00:00
Meta: Build Lagom js and run LibJS tests on Travis
This commit is contained in:
parent
9722cac9fe
commit
660fd04063
Notes:
sideshowbarker
2024-07-19 07:25:50 +09:00
Author: https://github.com/linusg Commit: https://github.com/SerenityOS/serenity/commit/660fd040632 Pull-request: https://github.com/SerenityOS/serenity/pull/1895
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…
Reference in a new issue