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