Skip to content

fixup! [#66588] Adjust build to use windows wrappers from source tree #97

fixup! [#66588] Adjust build to use windows wrappers from source tree

fixup! [#66588] Adjust build to use windows wrappers from source tree #97

Workflow file for this run

name: Test action
on: [push,pull_request,workflow_dispatch]
jobs:
test:
strategy:
matrix:
# os: [ubuntu-latest, windows-latest, macos-13]
os: [windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Download Renode
uses: ./
#> TMP
with:
renode-revision: '66588-win-wrappers'
#<
- name: Verify if Renode is persistent
run: renode --version | grep "Renode v" || exit 1
shell: bash
- name: Run sample test
uses: ./
with:
tests-to-run: __tests__/hello_world.robot
#> TMP
renode-revision: '66588-win-wrappers'
#<
- name: Run sample test with metrics visualization
uses: ./
with:
tests-to-run: __tests__/profiling.robot
artifacts-path: metrics
gather-execution-metrics: yes
#> TMP
renode-revision: '66588-win-wrappers'
#<
- name: Upload results with metrics
uses: actions/upload-artifact@v4
with:
name: metrics-${{ runner.os }}-${{ github.run_id }}
path: metrics/*
- name: Verify that renode-test also works under CMD/PowerShell on Windows
run: renode-test __tests__/hello_world.robot
shell: cmd
if: ${{ runner.os == 'Windows' }}