This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
push: | |
branches: | |
- master | |
concurrency: | |
group: ${{ github.workflow }} | |
cancel-in-progress: true | |
jobs: | |
checkpatch: | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout | |
uses: actions/checkout@v4 | |
- name: fetch all commits | |
run: git fetch -a origin --unshallow || true | |
- name: add upstream | |
run: git remote add upstream -f https://gitlab.com/qemu-project/qemu | |
- name: checkpatch | |
run: ./scripts/checkpatch.pl $(git merge-base upstream/master HEAD)..HEAD | |
# list of make docker-test commands: | |
# make -pn | tr ' ' '\n' | grep docker-test | sort -u | grep -v ':$' | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
container: [alpine,centos9,debian,debian-all-test-cross,debian-arm64-cross,debian-armhf-cross,debian-hexagon-cross,debian-i686-cross,debian-legacy-test-cross,debian-loongarch-cross,debian-mips64el-cross,debian-mipsel-cross,debian-ppc64el-cross,debian-riscv64-cross,debian-s390x-cross,debian-tricore-cross,fedora,fedora-rust-nightly,fedora-win64-cross,opensuse-leap,python,ubuntu2204] | |
steps: | |
- name: checkout | |
uses: actions/checkout@v4 | |
- run: make docker-test-build@${{matrix.container}} |