Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
vChavezB authored Apr 12, 2024
1 parent cbf20de commit 0757a96
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,46 @@ jobs:
- name : Upload Firmware
uses: actions/upload-artifact@v4
with:
name: zephyr-build
path: |
samples/uptime/build/zephyr/zephyr.elf
samples/uptime/build_posix/zephyr/zephyr.exe
test/renode/uptime_central/build/zephyr/zephyr.elf
test:
needs: build
runs-on: ubuntu-20.04
steps:
- name: Clone repository
uses: actions/checkout@v4

- name: Download zephyr binaries
uses: actions/download-artifact@v4
with:
name: zephyr-build

- name: Verify binaries path
run: sudo apt-get install tree -y && tree

- name: Run tests on latest Renode
uses: antmicro/renode-test-action@v2.0.0
with:
renode-version: 'latest'
tests-to-run: 'test/renode/uptime_test.robot'
renode-path: renode-latest
artifacts-path: ${{ github.workspace }}


- name: Archive latest results
uses: actions/upload-artifact@v2
if: always()
with:
name: test-results-latest
path: |
report.html
log.html
robot_output.xml

0 comments on commit 0757a96

Please sign in to comment.