From 6369b701725e12c0ea3a47129a856bb264ed49d7 Mon Sep 17 00:00:00 2001 From: stnolting <22944758+stnolting@users.noreply.github.com> Date: Fri, 4 Oct 2024 17:01:36 +0200 Subject: [PATCH] [.github] setup simulation workflow --- .github/workflows/main.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..1cffe94 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,27 @@ +name: neoTRNG simulation + +on: + push: + workflow_dispatch: + +jobs: + + neoTRNG-sim: + runs-on: ubuntu-latest + + steps: + + - name: '📂 Repository checkout' + uses: actions/checkout@v4 + with: + fetch-depth: 0 + submodules: recursive + + - name: '📦 Install GHDL' + uses: ghdl/setup-ghdl-ci@nightly + + - name: '🔍 Check tools' + run: ghdl -v + + - name: '⚙️ Run neoTRNG simulation' + run: /bin/bash -c "chmod u+x $GITHUB_WORKSPACE/sim/ghdl.sh && $GITHUB_WORKSPACE/sim/ghdl.sh"