From e4bf1e532df93478ede974d74d6039192a591b37 Mon Sep 17 00:00:00 2001 From: Piotr Wojnarowski Date: Tue, 10 Sep 2024 15:37:59 +0200 Subject: [PATCH] fixup! [#65238] Build Renode from sources --- .github/build-renode/action.yml | 8 ++++++++ .github/workflows/dpi-examples.yml | 9 ++------- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/.github/build-renode/action.yml b/.github/build-renode/action.yml index a14cec7..d876f5c 100644 --- a/.github/build-renode/action.yml +++ b/.github/build-renode/action.yml @@ -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 diff --git a/.github/workflows/dpi-examples.yml b/.github/workflows/dpi-examples.yml index 04dc012..42ffa7d 100644 --- a/.github/workflows/dpi-examples.yml +++ b/.github/workflows/dpi-examples.yml @@ -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