From: Jacob Lifshay Date: Thu, 26 Mar 2020 05:30:07 +0000 (-0700) Subject: add .gitlab-ci.yml X-Git-Tag: 24jan2021_ls180~77 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=af9b43168fcb7133f3f9f003c0e379f4b8599dd1;p=nmutil.git add .gitlab-ci.yml --- diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..6fce9bb --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,23 @@ +image: debian:10 + +build: + stage: build + script: + - apt-get update && apt-get -y install build-essential git python3-dev python3-pip python3-setuptools python3-wheel pkg-config tcl-dev libreadline-dev bison flex libffi-dev + + - git clone https://github.com/YosysHQ/yosys.git ../yosys + - pushd ../yosys + - make config-gcc + - make -j$(nproc) + - make install + - popd + - yosys -V + + - git clone https://github.com/m-labs/nmigen.git ../nmigen + - pushd ../nmigen + - python3 setup.py develop + - popd + + - python3 setup.py develop + + - python3 setup.py test