remove unnecessary after_script section
[nmigen-gf.git] / .gitlab-ci.yml
1 image: debian:10
2
3 cache:
4 paths:
5 - ccache
6
7 build:
8 stage: build
9 before_script:
10 - apt-get update
11 # one package per line to simplify sorting, git diff, etc.
12 - >-
13 apt-get -y install
14 autoconf
15 bison
16 build-essential
17 ccache
18 clang
19 cmake
20 curl
21 flex
22 gawk
23 git
24 gperf
25 graphviz
26 libboost-program-options-dev
27 libffi-dev
28 libftdi-dev
29 libgmp-dev
30 libreadline-dev
31 mercurial
32 pkg-config
33 python
34 python3
35 python3-dev
36 python3-pip
37 python3-setuptools
38 python3-wheel
39 tcl-dev
40 xdot
41 - export PATH="$HOME/.local/bin:/usr/lib/ccache:$PATH"
42 - export CCACHE_BASEDIR="$PWD"
43 - export CCACHE_DIR="$PWD/ccache"
44 - export CCACHE_COMPILERCHECK=content
45 - ccache --zero-stats || true
46 - ccache --show-stats || true
47 - python3 -m pip install --user pytest-xdist
48 script:
49 - git clone --depth 1 https://github.com/YosysHQ/yosys.git yosys
50 - pushd yosys
51 - git rev-parse HEAD
52 - make config-gcc
53 - make -j$(nproc)
54 - make install
55 - popd
56 - yosys -V
57
58 - git clone --depth 1 https://github.com/YosysHQ/SymbiYosys.git SymbiYosys
59 - pushd SymbiYosys
60 - git rev-parse HEAD
61 - make install
62 - popd
63
64 - git clone --depth 1 https://github.com/SRI-CSL/yices2.git yices2
65 - pushd yices2
66 - git rev-parse HEAD
67 - autoconf
68 - ./configure
69 - make -j$(nproc)
70 - make install
71 - popd
72
73 - git clone --depth 1 https://github.com/Z3Prover/z3.git z3
74 - pushd z3
75 - git rev-parse HEAD
76 - python scripts/mk_make.py
77 - cd build
78 - make -j$(nproc)
79 - make install
80 - popd
81
82 - git clone --depth 1 https://gitlab.com/nmigen/nmigen.git nmigen
83 - pushd nmigen
84 - git rev-parse HEAD
85 - python3 setup.py develop
86 - popd
87
88 - git clone --depth 1 https://git.libre-soc.org/git/nmutil.git nmutil
89 - pushd nmutil
90 - git rev-parse HEAD
91 - python3 setup.py develop
92 - popd
93
94 - python3 setup.py develop
95
96 - pytest -n auto