From d8c327b2b1c6989b7cce6c38bcdac4ab4f06f0c1 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Tue, 23 May 2023 16:41:59 +0200 Subject: [PATCH] ci: Increase similarities with LiteX CI. --- .github/workflows/ci.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index df6e57f..be52cbc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,6 +13,10 @@ jobs: - name: Setup CCache uses: hendrikmuhs/ccache-action@v1.2 + - uses: ghdl/setup-ghdl-ci@master + with: + backend: llvm + # Install Tools - name: Install Tools run: | @@ -20,7 +24,7 @@ jobs: sudo apt-get install libevent-dev libjson-c-dev flex bison sudo apt-get install libfl-dev libfl2 zlib1g-dev - - name: Set up Python 3.9 + - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v4 with: python-version: "3.9" @@ -35,10 +39,10 @@ jobs: - name: Install LiteX run: | wget https://raw.githubusercontent.com/enjoy-digital/litex/master/litex_setup.py - python3 litex_setup.py init install --user + python3 litex_setup.py --init --install --user - # Install RISC-V GCC - - name: Install RISC-V GCC + # Install GCC Toolchains + - name: Install GCC Toolchains run: | sudo python3 litex_setup.py --gcc=riscv