2020-11-29 07:05:45 +00:00
|
|
|
name: qemu-arm port
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
pull_request:
|
|
|
|
paths:
|
|
|
|
- '.github/workflows/*.yml'
|
|
|
|
- 'tools/**'
|
|
|
|
- 'py/**'
|
|
|
|
- 'extmod/**'
|
2023-02-17 01:33:13 +00:00
|
|
|
- 'shared/**'
|
2020-11-29 07:05:45 +00:00
|
|
|
- 'lib/**'
|
|
|
|
- 'drivers/**'
|
|
|
|
- 'ports/qemu-arm/**'
|
2020-11-29 23:33:46 +00:00
|
|
|
- 'tests/**'
|
2020-11-29 07:05:45 +00:00
|
|
|
|
2022-12-13 18:57:34 +00:00
|
|
|
concurrency:
|
|
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
|
|
cancel-in-progress: true
|
|
|
|
|
2020-11-29 07:05:45 +00:00
|
|
|
jobs:
|
|
|
|
build_and_test:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2023-09-04 19:42:14 +00:00
|
|
|
- uses: actions/checkout@v4
|
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
|