mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-20 11:36:10 +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
2 changed files with 15 additions and 4 deletions
11
.travis.yml
11
.travis.yml
|
@ -23,16 +23,19 @@ notifications:
|
|||
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 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/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:
|
||||
- export SERENITY_ROOT=$(pwd)
|
||||
- cd Toolchain
|
||||
- TRY_USE_LOCAL_TOOLCHAIN=y ./BuildIt.sh
|
||||
- cd ../Kernel
|
||||
- ./makeall.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
Reference in a new issue