Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
Signed-off-by: Pierrick Bouvier <[email protected]>
  • Loading branch information
pbo-linaro committed Oct 16, 2024
1 parent 64045f5 commit 054fc7f
Showing 1 changed file with 67 additions and 3 deletions.
70 changes: 67 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,77 @@ on:
branches:
- master

concurrency:
group: ${{ github.workflow }}
cancel-in-progress: true

jobs:
build_qemu:
build-all:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v3
- name: build_container
run: ./run.sh amd64 true
- name: build all
run: ./run.sh amd64 ./build.sh all

checkpatch:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v3
- 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

check-tcg:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v3
- name: build_container
run: ./run.sh amd64 true
- name: build debug
run: ./run.sh amd64 ./build.sh debug
- name: check-tcg
run: ./run.sh amd64 make -C build check-tcg

check-functional:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v3
- name: build_container
run: ./run.sh amd64 true
- name: build debug
run: ./run.sh amd64 ./build.sh debug
- name: check-functional
run: ./run.sh amd64 make -C build check-functional

check-avocado:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v3
- name: build_container
run: ./run.sh amd64 true
- name: build debug
run: ./run.sh amd64 ./build.sh debug
- name: check-avocado
run: ./run.sh amd64 make -C build check-avocado

check: # Run block, qapi-schema, unit, softfloat, qtest and decodetree tests
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v3
- name: build_container
run: ./run.sh amd64 true
- name: build opt
run: ./run.sh amd64 ./build.sh opt
- name: build debug
run: ./run.sh amd64 ./build.sh debug
- name: check
run: ./run.sh amd64 make -C build check

0 comments on commit 054fc7f

Please sign in to comment.