From 49dc34bd0b5e179555f09a50ec6eba1f8a26d4ae Mon Sep 17 00:00:00 2001 From: yannickreiss Date: Mon, 4 Mar 2024 09:18:02 +0100 Subject: [PATCH] Testing pipeline with manual build --- .gitea/workflows/ghdl_example.yaml | 33 ------------------------------ .gitea/workflows/test.yaml | 13 ++++++++++-- 2 files changed, 11 insertions(+), 35 deletions(-) delete mode 100644 .gitea/workflows/ghdl_example.yaml diff --git a/.gitea/workflows/ghdl_example.yaml b/.gitea/workflows/ghdl_example.yaml deleted file mode 100644 index 1cbd285..0000000 --- a/.gitea/workflows/ghdl_example.yaml +++ /dev/null @@ -1,33 +0,0 @@ -name: Test - -on: - [push] - -jobs: - - - ubuntu: - strategy: - fail-fast: false - matrix: - backend: [ '', mcode, llvm, gcc ] - version: [ 20.04, 22.04, latest ] - runs-on: ubuntu-latest - name: '🐧 Ubuntu latest · llvm' - steps: - - - name: '🧰 Checkout' - uses: actions/checkout@v4 - - - name: Run Action - uses: ./ - with: - backend: llvm - - - name: Test - run: | - echo "GHDL_PREFIX: $GHDL_PREFIX" - echo "GHDL: $GHDL" - echo "GHDL_LIBS: $GHDL_LIBS" - ghdl --version - $GHDL --version diff --git a/.gitea/workflows/test.yaml b/.gitea/workflows/test.yaml index ec6eeb4..17886b2 100644 --- a/.gitea/workflows/test.yaml +++ b/.gitea/workflows/test.yaml @@ -11,7 +11,16 @@ jobs: uses: actions/checkout@v2 - name: Setup GHDL - uses: ghdl/setup-ghdl-ci@nightly + run: | + apt update && apt upgrade -y + apt install gcc gnat clang git llvm llvm-dev make zlib1g-dev -y + git clone https://github.com/ghdl/ghdl + cd ghdl + mkdir build + cd build + ../configure --with-llvm-config + make + make install - name: Verification of ghdl installation run: | @@ -20,4 +29,4 @@ jobs: - name: build test and run test run: | - make | grep Error + make