From 1d6486f9579dd497c515adca2119208e279e3bab Mon Sep 17 00:00:00 2001 From: chick Date: Thu, 1 Jul 2021 10:55:18 -0700 Subject: [PATCH 1/2] Use github actions for testing - Stripped down version from treadle - commented out several sections - delete travis test - fix run-tests.yml - Let's make this 3. --- .github/workflows/run-ci.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/run-ci.yml diff --git a/.github/workflows/run-ci.yml b/.github/workflows/run-ci.yml new file mode 100644 index 00000000..492f417a --- /dev/null +++ b/.github/workflows/run-ci.yml @@ -0,0 +1,26 @@ +name: Test + +on: + pull_request: + push: + branches: + - master + +jobs: + test: + name: Unit Tests + runs-on: ubuntu-latest + strategy: + matrix: + scala: [ 2.12.14 ] + steps: + - name: Checkout + uses: actions/checkout@v2 + - name: Setup Scala + uses: olafurpg/setup-scala@v10 + - name: Cache + uses: coursier/cache-action@v5 + - name: Get submodules + run: git submodule update --init + - name: Test + run: sbt test From 3d571b2d2ae0b3ac8a3d7257cf2c34fb4f725307 Mon Sep 17 00:00:00 2001 From: chick Date: Thu, 1 Jul 2021 11:05:03 -0700 Subject: [PATCH 2/2] Use github actions for testing - Stripped down version from treadle - commented out several sections - delete travis test - fix run-tests.yml - Let's make this 3. --- .travis.yml | 12 ------------ README.md | 10 ++++++++-- 2 files changed, 8 insertions(+), 14 deletions(-) delete mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 0e6fa811..00000000 --- a/.travis.yml +++ /dev/null @@ -1,12 +0,0 @@ -git: - submodules: true -language: scala -# run on new infrastructure -sudo: false - -cache: - directories: - $HOME/.ivy2 - -script: - - sbt test diff --git a/README.md b/README.md index ae5f0482..01e263c3 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,11 @@ -# barstools -Useful utilities for BAR projects +Barstools +================== + +--- + +![Test](https://github.com/freechipsproject/ucb-bar/barstools/Test/badge.svg) + +**Barstools** is a coolection of useful utilities for BAR projects Passes/Transforms that could be useful if added here: * Check that a module was de-duplicated. Useful for MIM CAD flows and currently done in python.