Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
61 changes: 61 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
version: 2

jobs:
ubuntu22:
# Ubuntu 22
docker:
- image: ubuntu:22.04
steps:
- checkout
- run:
name: Dependencies
command: |
apt-get -q update -y
DEBIAN_FRONTEND=noninteractive apt-get -q install -y libedit-dev zlib1g-dev m4 build-essential git terminfo
- run:
name: Install act base
command: |
git clone https://github.com/asyncvlsi/act --depth 1
mkdir install
export ACT_HOME=`pwd`/install
cd act
echo "===== build act base ====="
export VLSI_TOOLS_SRC=`pwd`
./configure $ACT_HOME
./build
echo "===== install act base ====="
make install
cd ..
- run:
name: Install act stdlib
command: |
git clone https://github.com/asyncvlsi/stdlib --depth 1
export ACT_HOME=`pwd`/install
export PATH=$ACT_HOME/bin:$PATH
export VLSI_TOOLS_SRC=`pwd`/act
cd stdlib
echo "===== install act stdlib ====="
make install
cd ..
- run:
name: Build install and test
command: |
export ACT_HOME=`pwd`/install
export PATH=$ACT_HOME/bin:$PATH
export VLSI_TOOLS_SRC=`pwd`/act
echo "===== build act addon ====="
make
echo "===== install act addon ====="
make install
echo "===== test act addon ====="
export ACT_TEST_VERBOSE=1
make runtest
export ACT_TEST_INSTALL=1
make runtest

workflows:
version: 2
build:
jobs:
- ubuntu22