Skip to content

Commit

Permalink
fixup! [#65238] Build Renode from sources
Browse files Browse the repository at this point in the history
  • Loading branch information
p-woj committed Sep 10, 2024
1 parent abcbe67 commit e4bf1e5
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
8 changes: 8 additions & 0 deletions .github/build-renode/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,13 @@ runs:
shell: bash
working-directory: renode
if: ${{ runner.os == 'Windows' }}
- name: Setup environment (Linux/macOS)
run: echo "$PWD/renode" >> "$GITHUB_PATH"
shell: bash
if: ${{ runner.os != 'Windows' }}
- name: Setup environment (Windows)
run: realpath $PWD/renode/output/bin/Release/* >> "$GITHUB_PATH"
shell: bash
if: ${{ runner.os == 'Windows' }}
- run: ls -lAR
shell: bash
9 changes: 2 additions & 7 deletions .github/workflows/dpi-examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,6 @@ jobs:
renode_git_repo: ${{ inputs.renode_git_repo || 'https://github.com/renode/renode' }}
renode_git_ref: ${{ inputs.renode_git_ref || 'master' }}

- name: Run Renode on Linux
if: ${{ runner.os != 'Windows' }}
run: renode/renode ${{ env.RENODE_ARGS }} samples/axi_fastvdma_prebuilt/platform.resc
- name: Run Renode on Windows
if: ${{ runner.os == 'Windows' }}
shell: cmd
run: renode\bin\Renode.exe ${{ env.RENODE_ARGS }} samples\axi_fastvdma_prebuilt\platform.resc
- name: Run Renode
run: renode ${{ env.RENODE_ARGS }} samples/axi_fastvdma_prebuilt/platform.resc

0 comments on commit e4bf1e5

Please sign in to comment.