Skip to content

Commit 745af75

Browse files
committed
wip
Signed-off-by: Pierrick Bouvier <[email protected]>
1 parent f0fd4d2 commit 745af75

File tree

1 file changed

+67
-3
lines changed

1 file changed

+67
-3
lines changed

.github/workflows/build.yml

+67-3
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,77 @@ on:
33
branches:
44
- master
55

6+
concurrency:
7+
group: ${{ github.workflow }}
8+
cancel-in-progress: true
9+
610
jobs:
7-
build_qemu:
11+
build-all:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: checkout
15+
uses: actions/checkout@v3
16+
- name: build_container
17+
run: ./run.sh amd64 true
18+
- name: build all
19+
run: ./run.sh amd64 ./build.sh all
20+
21+
checkpatch:
22+
runs-on: ubuntu-latest
23+
steps:
24+
- name: checkout
25+
uses: actions/checkout@v3
26+
- name: fetch all commits
27+
run: git fetch -a origin --unshallow || true
28+
- name: add upstream
29+
run: git remote add upstream -f https://gitlab.com/qemu-project/qemu
30+
- name: checkpatch
31+
run: ./scripts/checkpatch.pl $(git merge-base upstream/master HEAD)..HEAD
32+
33+
check-tcg:
34+
runs-on: ubuntu-latest
35+
steps:
36+
- name: checkout
37+
uses: actions/checkout@v3
38+
- name: build_container
39+
run: ./run.sh amd64 true
40+
- name: build debug
41+
run: ./run.sh amd64 ./build.sh debug
42+
- name: check-tcg
43+
run: ./run.sh amd64 make -C build check-tcg
44+
45+
check-functional:
46+
runs-on: ubuntu-latest
47+
steps:
48+
- name: checkout
49+
uses: actions/checkout@v3
50+
- name: build_container
51+
run: ./run.sh amd64 true
52+
- name: build debug
53+
run: ./run.sh amd64 ./build.sh debug
54+
- name: check-functional
55+
run: ./run.sh amd64 make -C build check-functional
56+
57+
check-avocado:
58+
runs-on: ubuntu-latest
59+
steps:
60+
- name: checkout
61+
uses: actions/checkout@v3
62+
- name: build_container
63+
run: ./run.sh amd64 true
64+
- name: build debug
65+
run: ./run.sh amd64 ./build.sh debug
66+
- name: check-avocado
67+
run: ./run.sh amd64 make -C build check-avocado
68+
69+
check: # Run block, qapi-schema, unit, softfloat, qtest and decodetree tests
870
runs-on: ubuntu-latest
971
steps:
1072
- name: checkout
1173
uses: actions/checkout@v3
1274
- name: build_container
1375
run: ./run.sh amd64 true
14-
- name: build opt
15-
run: ./run.sh amd64 ./build.sh opt
76+
- name: build debug
77+
run: ./run.sh amd64 ./build.sh debug
78+
- name: check
79+
run: ./run.sh amd64 make -C build check

0 commit comments

Comments
 (0)