likewise replace data_o with o_data and data_i with i_data
[nmutil.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 - >-
12 apt-get -y install
13 build-essential git python3-dev python3-pip
14 python3-setuptools python3-wheel pkg-config tcl-dev
15 libreadline-dev bison flex libffi-dev ccache
16 - export PATH="/usr/lib/ccache:$PATH"
17 - export CCACHE_BASEDIR="$PWD"
18 - export CCACHE_DIR="$PWD/ccache"
19 - export CCACHE_COMPILERCHECK=content
20 - ccache --zero-stats || true
21 - ccache --show-stats || true
22 after_script:
23 - export CCACHE_DIR="$PWD/ccache"
24 - ccache --show-stats
25 script:
26 - git clone --depth 1 https://github.com/YosysHQ/yosys.git yosys
27 - pushd yosys
28 - make config-gcc
29 - make -j$(nproc)
30 - make install
31 - popd
32 - yosys -V
33
34 - git clone --depth 1 https://github.com/nmigen/nmigen.git nmigen
35 - pushd nmigen
36 - python3 setup.py develop
37 - popd
38
39 - python3 setup.py develop
40
41 - python3 setup.py test