Skip to content

Commit

Permalink
Save installation logs
Browse files Browse the repository at this point in the history
  • Loading branch information
jordancarlin committed Jul 23, 2024
1 parent 84ed7ad commit b888228
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,11 @@ jobs:
with:
name: regression-logs-${{ matrix.os }}
path: ${{ github.workspace }}/sim/verilator/logs/
- uses: actions/upload-artifact@v4
if: always()
with:
name: installation-logs-${{ matrix.os }}
path: /opt/riscv/logs/

rhel_family_install:
name: Test installation on ${{ matrix.os }}
Expand Down Expand Up @@ -82,3 +87,8 @@ jobs:
with:
name: regression-logs-${{ env.ARTIFACT_NAME }}
path: ${{ github.workspace }}/sim/verilator/logs/
- uses: actions/upload-artifact@v4
if: always()
with:
name: installation-logs-${{ env.ARTIFACT_NAME }}
path: /opt/riscv/logs/
6 changes: 3 additions & 3 deletions bin/wally-tool-chain-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -416,8 +416,8 @@ else
echo -e "You may need to manually update it if there were changes upstream.${ENDC}"
fi

if [ "$clean" ]; then
rm -rf "$RISCV"/logs
fi
# if [ "$clean" ]; then
# rm -rf "$RISCV"/logs
# fi

echo -e "${SUCCESS_COLOR}${BOLD}\n\nINSTALLATION SUCCESSFUL\n\n${ENDC}"

0 comments on commit b888228

Please sign in to comment.