From af9b43168fcb7133f3f9f003c0e379f4b8599dd1 Mon Sep 17 00:00:00 2001 From: Jacob Lifshay Date: Wed, 25 Mar 2020 22:30:07 -0700 Subject: [PATCH] add .gitlab-ci.yml --- .gitlab-ci.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .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 -- 2.30.2