haiku/lgtm.yml
Murai Takashi 159ed479f8 lgtm.yml: Fix build
lgtm build requires HAIKU_REVISION for DetermineHaikuRevision1.

Change-Id: Ie458080b82bdd5d32936393758aab6626bab8018
Reviewed-on: https://review.haiku-os.org/c/haiku/+/3868
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
2021-04-17 19:53:06 +00:00

36 lines
968 B
YAML

extraction:
cpp:
prepare:
packages:
- git
- nasm
- autoconf
- automake
- texinfo
- flex
- bison
- gawk
- build-essential
- unzip
- wget
- zip
- less
- zlib1g-dev
- xorriso
- libtool
- mtools
- gcc-multilib
- python3
after_prepare:
- curl https://codeload.github.com/haiku/buildtools/zip/master -o master.zip
- mkdir $LGTM_WORKSPACE/buildtools
- unzip -qq master.zip -d $LGTM_WORKSPACE/buildtools
- cd $LGTM_WORKSPACE/buildtools/buildtools-master/jam && make && BINDIR=$LGTM_WORKSPACE/bin ./jam0 install
configure:
command:
- ./configure --cross-tools-source $LGTM_WORKSPACE/buildtools/buildtools-master --build-cross-tools x86_64 --use-gcc-pipe -j2
index:
build_command:
- HAIKU_REVISION=hrev90000 $LGTM_WORKSPACE/bin/jam -j2 @nightly-raw