From 9ea574315bcd8c35848e44efd47b5622ad9bb601 Mon Sep 17 00:00:00 2001 From: Satnam Singh Date: Mon, 3 Jun 2024 22:28:50 -0700 Subject: [PATCH] Add debug info --- .github/workflows/lava-ci.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/lava-ci.yml b/.github/workflows/lava-ci.yml index 3626476..9c354d9 100644 --- a/.github/workflows/lava-ci.yml +++ b/.github/workflows/lava-ci.yml @@ -23,23 +23,30 @@ jobs: allow-failure: false fail-fast: false steps: - - name: Attempt for restore GHC compiler from cache. + - name: Attempt to restore GHC compiler from cache. uses: actions/cache/restore@v4 with: key: ${{ runner.os }}-${{ matrix.compiler }} path: ~/.ghcup/bin - name: Install GHC, cabal and verilator. run: | + echo "HOME = " $HOME + echo "github.workspace = " ${{ github.workspace }} + echo "GITHUB_WORKSPACE = " $GITHUB_WORKSPACE + ls -a ~ export GHCUP_INSTALL_BASE_PREFIX=$HOME export PATH=$HOME/.ghcup/bin:$PATH mkdir -p "$HOME/.ghcup/bin" sudo chmod a+x "$HOME/.ghcup/bin/ghcup" ghcup install ghc ${{ matrix.compilerVersion }} ghcup set ghc ${{ matrix.compilerVersion }} + ghc --version ghcup install cabal 3.10.3.0 + cabal init cabal v2-update sudo apt-get update sudo apt-get install -y verilator + verilator --version - name: Cache GHC compiler. uses: actions/cache/save@v4 with: