-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Pierrick Bouvier <[email protected]>
- Loading branch information
1 parent
299c9a0
commit 7ef9a89
Showing
1 changed file
with
101 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,101 @@ | ||
on: push | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
checkapply: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: checkout | ||
uses: actions/checkout@v4 | ||
- run: bash -c '[ ! -f shazam.log ] || { cat shazam.log; exit 1; }' | ||
|
||
checkpatch: | ||
needs: checkapply | ||
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 ':$' | ||
# | ||
# scripts for every docker-test: ./tests/docker/test-* | ||
|
||
build: | ||
needs: checkapply | ||
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-mips64el-cross,debian-mipsel-cross,debian-ppc64el-cross,debian-s390x-cross,debian-tricore-cross,fedora,fedora-rust-nightly,opensuse-leap,ubuntu2204] | ||
steps: | ||
- name: checkout | ||
uses: actions/checkout@v4 | ||
- run: pip install meson | ||
- run: > | ||
make docker-run J=$(nproc) TEST=test-build | ||
IMAGE=pbolinaro/qemu-ci:${{matrix.container}} | ||
build-clang: | ||
needs: checkapply | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: checkout | ||
uses: actions/checkout@v4 | ||
- run: pip install meson | ||
- run: > | ||
make docker-run J=$(nproc) TEST=test-clang | ||
IMAGE=pbolinaro/qemu-ci:debian-all-test-cross | ||
build-misc: | ||
needs: checkapply | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: checkout | ||
uses: actions/checkout@v4 | ||
- run: pip install meson | ||
- run: > | ||
make docker-run J=$(nproc) TEST=test-misc | ||
IMAGE=pbolinaro/qemu-ci:debian-all-test-cross | ||
build-static: | ||
needs: checkapply | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: checkout | ||
uses: actions/checkout@v4 | ||
- run: pip install meson | ||
- run: > | ||
make docker-run J=$(nproc) TEST=test-static | ||
IMAGE=pbolinaro/qemu-ci:debian-all-test-cross | ||
check-full: | ||
needs: checkapply | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: checkout | ||
uses: actions/checkout@v4 | ||
- run: pip install meson | ||
- run: > | ||
make docker-run J=$(nproc) TEST=test-full | ||
IMAGE=pbolinaro/qemu-ci:debian-all-test-cross | ||
check-full-debug: | ||
needs: checkapply | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: checkout | ||
uses: actions/checkout@v4 | ||
- run: pip install meson | ||
- run: > | ||
make docker-run J=$(nproc) TEST=test-debug | ||
IMAGE=pbolinaro/qemu-ci:debian-all-test-cross |