From 691813df02f6ebdff9f5e9f6691099a349ccd3c6 Mon Sep 17 00:00:00 2001 From: yannickreiss Date: Mon, 4 Mar 2024 08:23:22 +0100 Subject: [PATCH] Trying out the ghdl example ci --- .gitea/workflows/ghdl_example.yaml | 33 ++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 .gitea/workflows/ghdl_example.yaml diff --git a/.gitea/workflows/ghdl_example.yaml b/.gitea/workflows/ghdl_example.yaml new file mode 100644 index 0000000..01c12be --- /dev/null +++ b/.gitea/workflows/ghdl_example.yaml @@ -0,0 +1,33 @@ +name: Test + +on: + [push] + +jobs: + + + ubuntu: + strategy: + fail-fast: false + matrix: + backend: [ '', mcode, llvm, gcc ] + version: [ 20.04, 22.04, latest ] + runs-on: ubuntu-${{ matrix.version }} + name: '🐧 Ubuntu ${{ matrix.version }} · ${{ matrix.backend }}' + steps: + + - name: '🧰 Checkout' + uses: actions/checkout@v4 + + - name: Run Action + uses: ./ + with: + backend: ${{ matrix.backend }} + + - name: Test + run: | + echo "GHDL_PREFIX: $GHDL_PREFIX" + echo "GHDL: $GHDL" + echo "GHDL_LIBS: $GHDL_LIBS" + ghdl --version + $GHDL --version