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