-
Notifications
You must be signed in to change notification settings - Fork 6
/
bitbucket-pipelines.yml
46 lines (39 loc) · 1.51 KB
/
bitbucket-pipelines.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
image: ubuntu:16.04
pipelines:
default:
- step:
script:
- apt-get update
- apt-get -y upgrade
# Install Fast Downward dependencies.
- apt-get -y install cmake g++ g++-multilib make mercurial python
# Install dependencies for running code tests.
- apt-get -y install clang-5.0 clang-tidy-5.0 python3 python-pip wget
- pip install -U pyflakes pytest
# Print information about environment.
- g++ --version
- python --version
- python -c "import multiprocessing; print 'CPUs:', multiprocessing.cpu_count()"
# Set up uncrustify.
- wget https://github.com/uncrustify/uncrustify/archive/uncrustify-0.67.tar.gz
- tar -xzvf uncrustify-0.67.tar.gz
- cd uncrustify-uncrustify-0.67
- mkdir build
- cd build
- cmake ../
- make -j8
- mv uncrustify ../../
- cd ../../
- rm -rf uncrustify-0.67.tar.gz uncrustify-uncrustify-0.67
# Set up VAL.
- apt-get -y install g++ git make flex bison
- git clone https://github.com/KCL-Planning/VAL.git
- cd VAL
- git checkout a5565396007eee73ac36527fbf904142b3077c74
- make clean # Remove old build artifacts and binaries.
- make -j8
- mv validate ../
- cd ../
- rm -rf VAL
- export PATH="$(pwd):$PATH" # Add uncrustify and VAL to PATH.
- ./misc/run-all-tests