From 10ce6d9d7404b9a49a7ac379aca3fa9cd64fd402 Mon Sep 17 00:00:00 2001 From: tmeissner Date: Sat, 20 Mar 2021 01:32:43 +0100 Subject: [PATCH] Add GHA workflow for simulation of VHDL design --- .github/workflows/test.yml | 11 +++++++++++ README.md | 2 ++ 2 files changed, 13 insertions(+) create mode 100644 .github/workflows/test.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..5e9ca8b --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,11 @@ +name: 'tests' + +on: [ push, pull_request ] + +jobs: + + test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + - run: docker run --rm -tv $(pwd):/src -w /src/vhdl -e BUILD_NAME=ACCEPTANCE ghdl/vunit:llvm make sim \ No newline at end of file diff --git a/README.md b/README.md index fa5516b..d7729fc 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,5 @@ +[![tests](https://github.com/tmeissner/lfd111x_building_a_risc-v-cpu_core/workflows/tests/badge.svg?branch=master)](https://github.com/tmeissner/lfd111x_building_a_risc-v-cpu_core/actions?query=workflow%3Atests) + The original repository is located on my own git-server at [https://git.goodcleanfun.de/tmeissner/lfd111x_building_a_risc-v-cpu_core](https://git.goodcleanfun.de/tmeissner/lfd111x_building_a_risc-v-cpu_core) It is mirrored to github with every push, so both should be in sync.