2020-11-29 07:05:45 +00:00
|
|
|
name: qemu-arm port
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
pull_request:
|
|
|
|
paths:
|
|
|
|
- '.github/workflows/*.yml'
|
|
|
|
- 'tools/**'
|
|
|
|
- 'py/**'
|
|
|
|
- 'extmod/**'
|
|
|
|
- 'lib/**'
|
|
|
|
- 'drivers/**'
|
|
|
|
- 'ports/qemu-arm/**'
|
2020-11-29 23:33:46 +00:00
|
|
|
- 'tests/**'
|
2020-11-29 07:05:45 +00:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
build_and_test:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2022-11-10 15:50:38 +00:00
|
|
|
- uses: actions/checkout@v3
|
2020-11-29 07:05:45 +00:00
|
|
|
- name: Install packages
|
|
|
|
run: source tools/ci.sh && ci_qemu_arm_setup
|
2020-11-29 23:33:46 +00:00
|
|
|
- name: Build and run test suite
|
2020-11-29 07:05:45 +00:00
|
|
|
run: source tools/ci.sh && ci_qemu_arm_build
|
|
|
|
- name: Print failures
|
|
|
|
if: failure()
|
2022-01-12 13:35:16 +00:00
|
|
|
run: grep --before-context=100 --text "FAIL" ports/qemu-arm/build/console.out
|