Skip to content

Commit d60bb38

Browse files
committed
[ci] Updated CI workflow
1 parent 6e9716f commit d60bb38

File tree

1 file changed

+38
-72
lines changed

1 file changed

+38
-72
lines changed

.github/workflows/build.yml

Lines changed: 38 additions & 72 deletions
Original file line numberDiff line numberDiff line change
@@ -13,95 +13,60 @@ jobs:
1313
fail-fast: false
1414
matrix:
1515
include:
16-
- { title: "linux-lib" , os: "ubuntu-latest" , cc: "clang" , arch: "x64", build_type: "Debug" , problem_matcher: "cpp", defs: "ASMJIT_DIR=../asmjit" }
17-
- { title: "macos-lib" , os: "macos-latest" , cc: "clang" , arch: "x64", build_type: "Debug" , problem_matcher: "cpp", defs: "ASMJIT_DIR=../asmjit" }
18-
- { title: "windows-lib" , os: "windows-2022" , cc: "vs2022" , arch: "x86", build_type: "Debug" , problem_matcher: "cpp", defs: "ASMJIT_DIR=../asmjit" }
16+
- { title: "diag-analyze" , host: "ubuntu-latest" , arch: "x64" , cc: "clang" , conf: "Debug" , diagnostics: "analyze-build", defs: "ASMJIT_DIR=../asmjit" }
17+
- { title: "diag-asan" , host: "ubuntu-latest" , arch: "x64" , cc: "clang" , conf: "Release", diagnostics: "address" , defs: "ASMJIT_DIR=../asmjit,ASMTK_TEST=ON" }
18+
- { title: "diag-msan" , host: "ubuntu-latest" , arch: "x64" , cc: "clang" , conf: "Release", diagnostics: "memory" , defs: "ASMJIT_DIR=../asmjit,ASMTK_TEST=ON" }
19+
- { title: "diag-ubsan" , host: "ubuntu-latest" , arch: "x64" , cc: "clang" , conf: "Release", diagnostics: "undefined" , defs: "ASMJIT_DIR=../asmjit,ASMTK_TEST=ON" }
20+
- { title: "diag-valgrind" , host: "ubuntu-latest" , arch: "x64" , cc: "clang" , conf: "Release", diagnostics: "valgrind" , defs: "ASMJIT_DIR=../asmjit,ASMTK_TEST=ON" }
1921

20-
- { title: "diag-asan" , os: "ubuntu-latest" , cc: "clang" , arch: "x64", build_type: "Release", diagnostics: "address" , defs: "ASMJIT_DIR=../asmjit,ASMTK_TEST=1" }
21-
- { title: "diag-ubsan" , os: "ubuntu-latest" , cc: "clang" , arch: "x64", build_type: "Release", diagnostics: "undefined" , defs: "ASMJIT_DIR=../asmjit,ASMTK_TEST=1" }
22-
- { title: "diag-valgrind" , os: "ubuntu-latest" , cc: "clang" , arch: "x64", build_type: "Release", diagnostics: "valgrind" , defs: "ASMJIT_DIR=../asmjit,ASMTK_TEST=ON" }
23-
- { title: "diag-scan-build", os: "ubuntu-latest" , cc: "clang" , arch: "x64", build_type: "Debug" , diagnostics: "scan-build", defs: "ASMJIT_DIR=../asmjit" }
22+
- { title: "linux" , host: "ubuntu-22.04" , arch: "x86" , cc: "gcc-12" , conf: "Debug" , defs: "ASMJIT_DIR=../asmjit,ASMTK_TEST=ON" }
23+
- { title: "linux" , host: "ubuntu-22.04" , arch: "x86" , cc: "gcc-12" , conf: "Release", defs: "ASMJIT_DIR=../asmjit,ASMTK_TEST=ON" }
24+
- { title: "linux" , host: "ubuntu-22.04" , arch: "x64" , cc: "gcc-12" , conf: "Debug" , defs: "ASMJIT_DIR=../asmjit,ASMTK_TEST=ON" }
25+
- { title: "linux" , host: "ubuntu-22.04" , arch: "x64" , cc: "gcc-12" , conf: "Release", defs: "ASMJIT_DIR=../asmjit,ASMTK_TEST=ON" }
26+
- { title: "linux" , host: "ubuntu-22.04" , arch: "x86" , cc: "gcc-13" , conf: "Debug" , defs: "ASMJIT_DIR=../asmjit,ASMTK_TEST=ON" }
27+
- { title: "linux" , host: "ubuntu-22.04" , arch: "x86" , cc: "gcc-13" , conf: "Release", defs: "ASMJIT_DIR=../asmjit,ASMTK_TEST=ON" }
28+
- { title: "linux" , host: "ubuntu-22.04" , arch: "x64" , cc: "gcc-13" , conf: "Debug" , defs: "ASMJIT_DIR=../asmjit,ASMTK_TEST=ON" }
29+
- { title: "linux" , host: "ubuntu-22.04" , arch: "x64" , cc: "gcc-13" , conf: "Release", defs: "ASMJIT_DIR=../asmjit,ASMTK_TEST=ON" }
30+
- { title: "linux" , host: "ubuntu-22.04" , arch: "x86" , cc: "clang-17", conf: "Debug" , defs: "ASMJIT_DIR=../asmjit,ASMTK_TEST=ON" }
31+
- { title: "linux" , host: "ubuntu-22.04" , arch: "x86" , cc: "clang-17", conf: "Release", defs: "ASMJIT_DIR=../asmjit,ASMTK_TEST=ON" }
32+
- { title: "linux" , host: "ubuntu-22.04" , arch: "x64" , cc: "clang-17", conf: "Debug" , defs: "ASMJIT_DIR=../asmjit,ASMTK_TEST=ON" }
33+
- { title: "linux" , host: "ubuntu-22.04" , arch: "x64" , cc: "clang-17", conf: "Release", defs: "ASMJIT_DIR=../asmjit,ASMTK_TEST=ON" }
34+
- { title: "linux" , host: "ubuntu-22.04" , arch: "x86" , cc: "clang-18", conf: "Debug" , defs: "ASMJIT_DIR=../asmjit,ASMTK_TEST=ON" }
35+
- { title: "linux" , host: "ubuntu-22.04" , arch: "x86" , cc: "clang-18", conf: "Release", defs: "ASMJIT_DIR=../asmjit,ASMTK_TEST=ON" }
36+
- { title: "linux" , host: "ubuntu-22.04" , arch: "x64" , cc: "clang-18", conf: "Debug" , defs: "ASMJIT_DIR=../asmjit,ASMTK_TEST=ON" }
37+
- { title: "linux" , host: "ubuntu-22.04" , arch: "x64" , cc: "clang-18", conf: "Release", defs: "ASMJIT_DIR=../asmjit,ASMTK_TEST=ON" }
38+
- { title: "macos" , host: "macos-13" , arch: "x64" , cc: "gcc-14" , conf: "Debug" , defs: "ASMJIT_DIR=../asmjit,ASMTK_TEST=ON" }
39+
- { title: "macos" , host: "macos-13" , arch: "x64" , cc: "gcc-14" , conf: "Release", defs: "ASMJIT_DIR=../asmjit,ASMTK_TEST=ON" }
40+
- { title: "macos" , host: "macos-13" , arch: "x64" , cc: "clang" , conf: "Debug" , defs: "ASMJIT_DIR=../asmjit,ASMTK_TEST=ON" }
41+
- { title: "macos" , host: "macos-13" , arch: "x64" , cc: "clang" , conf: "Release", defs: "ASMJIT_DIR=../asmjit,ASMTK_TEST=ON" }
42+
- { title: "windows" , host: "windows-2022" , arch: "x86" , cc: "vs2022" , conf: "Debug" , defs: "ASMJIT_DIR=../asmjit,ASMTK_TEST=ON" }
43+
- { title: "windows" , host: "windows-2022" , arch: "x86" , cc: "vs2022" , conf: "Release", defs: "ASMJIT_DIR=../asmjit,ASMTK_TEST=ON" }
44+
- { title: "windows" , host: "windows-2022" , arch: "x64" , cc: "vs2022" , conf: "Debug" , defs: "ASMJIT_DIR=../asmjit,ASMTK_TEST=ON" }
45+
- { title: "windows" , host: "windows-2022" , arch: "x64" , cc: "vs2022" , conf: "Release", defs: "ASMJIT_DIR=../asmjit,ASMTK_TEST=ON" }
2446

25-
- { title: "linux" , os: "ubuntu-20.04" , cc: "gcc-7" , arch: "x86", build_type: "Debug" , defs: ASMJIT_DIR=../asmjit,ASMTK_TEST=ON" }
26-
- { title: "linux" , os: "ubuntu-20.04" , cc: "gcc-7" , arch: "x86", build_type: "Release", defs: ASMJIT_DIR=../asmjit,ASMTK_TEST=ON" }
27-
- { title: "linux" , os: "ubuntu-20.04" , cc: "gcc-7" , arch: "x64", build_type: "Debug" , defs: ASMJIT_DIR=../asmjit,ASMTK_TEST=ON" }
28-
- { title: "linux" , os: "ubuntu-20.04" , cc: "gcc-7" , arch: "x64", build_type: "Release", defs: ASMJIT_DIR=../asmjit,ASMTK_TEST=ON" }
29-
- { title: "linux" , os: "ubuntu-20.04" , cc: "gcc-8" , arch: "x86", build_type: "Debug" , defs: ASMJIT_DIR=../asmjit,ASMTK_TEST=ON" }
30-
- { title: "linux" , os: "ubuntu-20.04" , cc: "gcc-8" , arch: "x86", build_type: "Release", defs: ASMJIT_DIR=../asmjit,ASMTK_TEST=ON" }
31-
- { title: "linux" , os: "ubuntu-20.04" , cc: "gcc-8" , arch: "x64", build_type: "Debug" , defs: ASMJIT_DIR=../asmjit,ASMTK_TEST=ON" }
32-
- { title: "linux" , os: "ubuntu-20.04" , cc: "gcc-8" , arch: "x64", build_type: "Release", defs: ASMJIT_DIR=../asmjit,ASMTK_TEST=ON" }
33-
- { title: "linux" , os: "ubuntu-22.04" , cc: "gcc-9" , arch: "x86", build_type: "Debug" , defs: ASMJIT_DIR=../asmjit,ASMTK_TEST=ON" }
34-
- { title: "linux" , os: "ubuntu-22.04" , cc: "gcc-9" , arch: "x86", build_type: "Release", defs: ASMJIT_DIR=../asmjit,ASMTK_TEST=ON" }
35-
- { title: "linux" , os: "ubuntu-22.04" , cc: "gcc-9" , arch: "x64", build_type: "Debug" , defs: ASMJIT_DIR=../asmjit,ASMTK_TEST=ON" }
36-
- { title: "linux" , os: "ubuntu-22.04" , cc: "gcc-9" , arch: "x64", build_type: "Release", defs: ASMJIT_DIR=../asmjit,ASMTK_TEST=ON" }
37-
- { title: "linux" , os: "ubuntu-22.04" , cc: "gcc-10" , arch: "x86", build_type: "Debug" , defs: ASMJIT_DIR=../asmjit,ASMTK_TEST=ON" }
38-
- { title: "linux" , os: "ubuntu-22.04" , cc: "gcc-10" , arch: "x86", build_type: "Release", defs: ASMJIT_DIR=../asmjit,ASMTK_TEST=ON" }
39-
- { title: "linux" , os: "ubuntu-22.04" , cc: "gcc-10" , arch: "x64", build_type: "Debug" , defs: ASMJIT_DIR=../asmjit,ASMTK_TEST=ON" }
40-
- { title: "linux" , os: "ubuntu-22.04" , cc: "gcc-10" , arch: "x64", build_type: "Release", defs: ASMJIT_DIR=../asmjit,ASMTK_TEST=ON" }
41-
- { title: "linux" , os: "ubuntu-22.04" , cc: "gcc-11" , arch: "x86", build_type: "Debug" , defs: ASMJIT_DIR=../asmjit,ASMTK_TEST=ON" }
42-
- { title: "linux" , os: "ubuntu-22.04" , cc: "gcc-11" , arch: "x86", build_type: "Release", defs: ASMJIT_DIR=../asmjit,ASMTK_TEST=ON" }
43-
- { title: "linux" , os: "ubuntu-22.04" , cc: "gcc-11" , arch: "x64", build_type: "Debug" , defs: ASMJIT_DIR=../asmjit,ASMTK_TEST=ON" }
44-
- { title: "linux" , os: "ubuntu-22.04" , cc: "gcc-11" , arch: "x64", build_type: "Release", defs: ASMJIT_DIR=../asmjit,ASMTK_TEST=ON" }
45-
- { title: "linux" , os: "ubuntu-22.04" , cc: "gcc-12" , arch: "x86", build_type: "Debug" , defs: ASMJIT_DIR=../asmjit,ASMTK_TEST=ON" }
46-
- { title: "linux" , os: "ubuntu-22.04" , cc: "gcc-12" , arch: "x86", build_type: "Release", defs: ASMJIT_DIR=../asmjit,ASMTK_TEST=ON" }
47-
- { title: "linux" , os: "ubuntu-22.04" , cc: "gcc-12" , arch: "x64", build_type: "Debug" , defs: ASMJIT_DIR=../asmjit,ASMTK_TEST=ON" }
48-
- { title: "linux" , os: "ubuntu-22.04" , cc: "gcc-12" , arch: "x64", build_type: "Release", defs: ASMJIT_DIR=../asmjit,ASMTK_TEST=ON" }
49-
- { title: "linux" , os: "ubuntu-20.04" , cc: "clang-10", arch: "x86", build_type: "Debug" , defs: ASMJIT_DIR=../asmjit,ASMTK_TEST=ON" }
50-
- { title: "linux" , os: "ubuntu-20.04" , cc: "clang-10", arch: "x86", build_type: "Release", defs: ASMJIT_DIR=../asmjit,ASMTK_TEST=ON" }
51-
- { title: "linux" , os: "ubuntu-20.04" , cc: "clang-10", arch: "x64", build_type: "Debug" , defs: ASMJIT_DIR=../asmjit,ASMTK_TEST=ON" }
52-
- { title: "linux" , os: "ubuntu-20.04" , cc: "clang-10", arch: "x64", build_type: "Release", defs: ASMJIT_DIR=../asmjit,ASMTK_TEST=ON" }
53-
- { title: "linux" , os: "ubuntu-22.04" , cc: "clang-11", arch: "x86", build_type: "Debug" , defs: ASMJIT_DIR=../asmjit,ASMTK_TEST=ON" }
54-
- { title: "linux" , os: "ubuntu-22.04" , cc: "clang-11", arch: "x86", build_type: "Release", defs: ASMJIT_DIR=../asmjit,ASMTK_TEST=ON" }
55-
- { title: "linux" , os: "ubuntu-22.04" , cc: "clang-11", arch: "x64", build_type: "Debug" , defs: ASMJIT_DIR=../asmjit,ASMTK_TEST=ON" }
56-
- { title: "linux" , os: "ubuntu-22.04" , cc: "clang-11", arch: "x64", build_type: "Release", defs: ASMJIT_DIR=../asmjit,ASMTK_TEST=ON" }
57-
- { title: "linux" , os: "ubuntu-22.04" , cc: "clang-12", arch: "x86", build_type: "Debug" , defs: ASMJIT_DIR=../asmjit,ASMTK_TEST=ON" }
58-
- { title: "linux" , os: "ubuntu-22.04" , cc: "clang-12", arch: "x86", build_type: "Release", defs: ASMJIT_DIR=../asmjit,ASMTK_TEST=ON" }
59-
- { title: "linux" , os: "ubuntu-22.04" , cc: "clang-12", arch: "x64", build_type: "Debug" , defs: ASMJIT_DIR=../asmjit,ASMTK_TEST=ON" }
60-
- { title: "linux" , os: "ubuntu-22.04" , cc: "clang-12", arch: "x64", build_type: "Release", defs: ASMJIT_DIR=../asmjit,ASMTK_TEST=ON" }
61-
- { title: "linux" , os: "ubuntu-22.04" , cc: "clang-13", arch: "x86", build_type: "Debug" , defs: ASMJIT_DIR=../asmjit,ASMTK_TEST=ON" }
62-
- { title: "linux" , os: "ubuntu-22.04" , cc: "clang-13", arch: "x86", build_type: "Release", defs: ASMJIT_DIR=../asmjit,ASMTK_TEST=ON" }
63-
- { title: "linux" , os: "ubuntu-22.04" , cc: "clang-13", arch: "x64", build_type: "Debug" , defs: ASMJIT_DIR=../asmjit,ASMTK_TEST=ON" }
64-
- { title: "linux" , os: "ubuntu-22.04" , cc: "clang-13", arch: "x64", build_type: "Release", defs: ASMJIT_DIR=../asmjit,ASMTK_TEST=ON" }
65-
- { title: "linux" , os: "ubuntu-22.04" , cc: "clang-14", arch: "x86", build_type: "Debug" , defs: ASMJIT_DIR=../asmjit,ASMTK_TEST=ON" }
66-
- { title: "linux" , os: "ubuntu-22.04" , cc: "clang-14", arch: "x86", build_type: "Release", defs: ASMJIT_DIR=../asmjit,ASMTK_TEST=ON" }
67-
- { title: "linux" , os: "ubuntu-22.04" , cc: "clang-14", arch: "x64", build_type: "Debug" , defs: ASMJIT_DIR=../asmjit,ASMTK_TEST=ON" }
68-
- { title: "linux" , os: "ubuntu-22.04" , cc: "clang-14", arch: "x64", build_type: "Release", defs: ASMJIT_DIR=../asmjit,ASMTK_TEST=ON" }
69-
- { title: "macos" , os: "macos-12" , cc: "gcc-11" , arch: "x64", build_type: "Debug" , defs: ASMJIT_DIR=../asmjit,ASMTK_TEST=ON" }
70-
- { title: "macos" , os: "macos-12" , cc: "gcc-11" , arch: "x64", build_type: "Release", defs: ASMJIT_DIR=../asmjit,ASMTK_TEST=ON" }
71-
- { title: "macos" , os: "macos-12" , cc: "clang" , arch: "x64", build_type: "Debug" , defs: ASMJIT_DIR=../asmjit,ASMTK_TEST=ON" }
72-
- { title: "macos" , os: "macos-12" , cc: "clang" , arch: "x64", build_type: "Release", defs: ASMJIT_DIR=../asmjit,ASMTK_TEST=ON" }
73-
- { title: "windows" , os: "windows-2019" , cc: "vs2019" , arch: "x86", build_type: "Debug" , defs: ASMJIT_DIR=../asmjit,ASMTK_TEST=ON" }
74-
- { title: "windows" , os: "windows-2019" , cc: "vs2019" , arch: "x86", build_type: "Release", defs: ASMJIT_DIR=../asmjit,ASMTK_TEST=ON" }
75-
- { title: "windows" , os: "windows-2019" , cc: "vs2019" , arch: "x64", build_type: "Debug" , defs: ASMJIT_DIR=../asmjit,ASMTK_TEST=ON" }
76-
- { title: "windows" , os: "windows-2019" , cc: "vs2019" , arch: "x64", build_type: "Release", defs: ASMJIT_DIR=../asmjit,ASMTK_TEST=ON" }
77-
- { title: "windows" , os: "windows-2022" , cc: "vs2022" , arch: "x86", build_type: "Debug" , defs: ASMJIT_DIR=../asmjit,ASMTK_TEST=ON" }
78-
- { title: "windows" , os: "windows-2022" , cc: "vs2022" , arch: "x86", build_type: "Release", defs: ASMJIT_DIR=../asmjit,ASMTK_TEST=ON" }
79-
- { title: "windows" , os: "windows-2022" , cc: "vs2022" , arch: "x64", build_type: "Debug" , defs: ASMJIT_DIR=../asmjit,ASMTK_TEST=ON" }
80-
- { title: "windows" , os: "windows-2022" , cc: "vs2022" , arch: "x64", build_type: "Release", defs: ASMJIT_DIR=../asmjit,ASMTK_TEST=ON" }
81-
82-
name: "${{matrix.title || format('{0}-{1}', matrix.os, matrix.osver)}} (${{matrix.cc}}, ${{matrix.arch}}, ${{matrix.build_type}})"
83-
runs-on: "${{matrix.host || matrix.os}}"
47+
name: "${{matrix.title}}/${{matrix.arch}}, ${{matrix.cc}} ${{matrix.conf}}"
48+
runs-on: "${{matrix.host}}"
8449

8550
steps:
86-
- name: "Checkout asmtk"
87-
uses: actions/checkout@v3
51+
- name: "Checkout"
52+
uses: actions/checkout@v4
8853
with:
8954
path: "asmtk"
9055

91-
- name: "Checkout asmjit"
92-
uses: actions/checkout@v3
56+
- name: "Checkout AsmJit"
57+
uses: actions/checkout@v4
9358
with:
9459
repository: asmjit/asmjit
9560
path: "asmjit"
9661

9762
- name: "Checkout Build Actions"
98-
uses: actions/checkout@v3
63+
uses: actions/checkout@v4
9964
with:
10065
repository: build-actions/build-actions
10166
path: "build-actions"
10267

10368
- name: "Python"
104-
uses: actions/setup-python@v4
69+
uses: actions/setup-python@v5
10570
with:
10671
python-version: "3.x"
10772

@@ -113,5 +78,6 @@ jobs:
11378
--architecture=${{matrix.arch}}
11479
--source-dir=asmtk
11580
--config=asmtk/.github/workflows/build-config.json
81+
--problem-matcher=auto
11682
--build-type=${{matrix.build_type}}
11783
--build-defs=${{matrix.defs}}

0 commit comments

Comments
 (0)