Skip to content

Commit a96af42

Browse files
committed
init
1 parent 2ac1018 commit a96af42

File tree

3 files changed

+62
-6
lines changed

3 files changed

+62
-6
lines changed

.github/workflows/Build.yml

Lines changed: 31 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,23 +23,51 @@ jobs:
2323
cpp: 17
2424
asan: off
2525
ubsan: off
26+
light_runtime: off
27+
- os: buster
28+
compiler: g++
29+
cpp: 17
30+
asan: off
31+
ubsan: off
32+
light_runtime: on
2633
- os: focal
2734
compiler: clang++
2835
cpp: 17
2936
asan: off
3037
ubsan: on
38+
light_runtime: off
39+
- os: focal
40+
compiler: clang++
41+
cpp: 17
42+
asan: off
43+
ubsan: on
44+
light_runtime: on
3145
- os: focal
3246
compiler: g++-10
3347
cpp: 20
3448
asan: on
3549
ubsan: off
50+
light_runtime: off
51+
- os: focal
52+
compiler: g++-10
53+
cpp: 20
54+
asan: on
55+
ubsan: off
56+
light_runtime: on
3657
- os: jammy
3758
compiler: g++
3859
cpp: 20
3960
asan: on
4061
ubsan: off
41-
42-
name: "${{matrix.os}}/${{matrix.compiler}}/c++${{matrix.cpp}}/asan=${{matrix.asan}}/ubsan=${{matrix.ubsan}}"
62+
light_runtime: off
63+
- os: jammy
64+
compiler: g++
65+
cpp: 20
66+
asan: on
67+
ubsan: off
68+
light_runtime: on
69+
70+
name: "${{matrix.os}}/${{matrix.compiler}}/c++${{matrix.cpp}}/asan=${{matrix.asan}}/ubsan=${{matrix.ubsan}}/light_runtime=${{light_runtime}}"
4371

4472
steps:
4573
- uses: actions/checkout@v3
@@ -78,7 +106,7 @@ jobs:
78106

79107
- name: Build all
80108
run: docker exec kphp-build-container-${{matrix.os}} bash -c
81-
"cmake -DCMAKE_CXX_COMPILER=${{matrix.compiler}} -DCMAKE_CXX_STANDARD=${{matrix.cpp}} -DADDRESS_SANITIZER=${{matrix.asan}} -DUNDEFINED_SANITIZER=${{matrix.ubsan}} -DPDO_DRIVER_MYSQL=ON -DPDO_DRIVER_PGSQL=ON -DPDO_LIBS_STATIC_LINKING=ON -S ${{env.kphp_root_dir}} -B ${{env.kphp_build_dir}} && make -C ${{env.kphp_build_dir}} -j$(nproc) all"
109+
"cmake -DCMAKE_CXX_COMPILER=${{matrix.compiler}} -DCMAKE_CXX_STANDARD=${{matrix.cpp}} -DCOMPILE_RUNTIME_LIGHT=${{matrix.light_runtime}} -DADDRESS_SANITIZER=${{matrix.asan}} -DUNDEFINED_SANITIZER=${{matrix.ubsan}} -DPDO_DRIVER_MYSQL=ON -DPDO_DRIVER_PGSQL=ON -DPDO_LIBS_STATIC_LINKING=ON -S ${{env.kphp_root_dir}} -B ${{env.kphp_build_dir}} && make -C ${{env.kphp_build_dir}} -j$(nproc) all"
82110

83111
- name: Run unit tests
84112
run: docker exec kphp-build-container-${{matrix.os}} bash -c

.github/workflows/debian.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,15 @@ jobs:
2121
cpp: 17
2222
asan: off
2323
ubsan: off
24+
light_runtime: off
25+
- os: buster
26+
compiler: g++
27+
cpp: 17
28+
asan: off
29+
ubsan: off
30+
light_runtime: on
2431

25-
name: "${{matrix.os}}/${{matrix.compiler}}/c++${{matrix.cpp}}/asan=${{matrix.asan}}/ubsan=${{matrix.ubsan}}"
32+
name: "${{matrix.os}}/${{matrix.compiler}}/c++${{matrix.cpp}}/asan=${{matrix.asan}}/ubsan=${{matrix.ubsan}}/light_runtime=${{light_runtime}}"
2633

2734
steps:
2835
- uses: actions/checkout@v3
@@ -59,7 +66,7 @@ jobs:
5966

6067
- name: Build all
6168
run: docker exec -u kitten kphp-build-container-${{matrix.os}} bash -c
62-
"cmake -DCMAKE_CXX_COMPILER=${{matrix.compiler}} -DCMAKE_CXX_STANDARD=${{matrix.cpp}} -DADDRESS_SANITIZER=${{matrix.asan}} -DUNDEFINED_SANITIZER=${{matrix.ubsan}} -DPDO_DRIVER_MYSQL=ON -DPDO_DRIVER_PGSQL=ON -DPDO_LIBS_STATIC_LINKING=ON -S ${{env.kphp_root_dir}} -B ${{env.kphp_build_dir}} && make -C ${{env.kphp_build_dir}} -j$(nproc) all"
69+
"cmake -DCMAKE_CXX_COMPILER=${{matrix.compiler}} -DCMAKE_CXX_STANDARD=${{matrix.cpp}} -DCOMPILE_RUNTIME_LIGHT=${{matrix.light_runtime}} -DADDRESS_SANITIZER=${{matrix.asan}} -DUNDEFINED_SANITIZER=${{matrix.ubsan}} -DPDO_DRIVER_MYSQL=ON -DPDO_DRIVER_PGSQL=ON -DPDO_LIBS_STATIC_LINKING=ON -S ${{env.kphp_root_dir}} -B ${{env.kphp_build_dir}} && make -C ${{env.kphp_build_dir}} -j$(nproc) all"
6370

6471
- name: Run unit tests
6572
run: docker exec -u kitten kphp-build-container-${{matrix.os}} bash -c

.github/workflows/ubuntu.yml

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,18 +21,39 @@ jobs:
2121
cpp: 17
2222
asan: off
2323
ubsan: off
24+
light_runtime: off
25+
- os: jammy
26+
compiler: g++
27+
cpp: 17
28+
asan: off
29+
ubsan: off
30+
light_runtime: on
2431
- os: focal
2532
compiler: clang++
2633
cpp: 17
2734
asan: off
2835
ubsan: on
36+
light_runtime: off
37+
- os: focal
38+
compiler: clang++
39+
cpp: 17
40+
asan: off
41+
ubsan: on
42+
light_runtime: on
43+
- os: focal
44+
compiler: g++-10
45+
cpp: 20
46+
asan: on
47+
ubsan: off
48+
light_runtime: off
2949
- os: focal
3050
compiler: g++-10
3151
cpp: 20
3252
asan: on
3353
ubsan: off
54+
light_runtime: on
3455

35-
name: "${{matrix.os}}/${{matrix.compiler}}/c++${{matrix.cpp}}/asan=${{matrix.asan}}/ubsan=${{matrix.ubsan}}"
56+
name: "${{matrix.os}}/${{matrix.compiler}}/c++${{matrix.cpp}}/asan=${{matrix.asan}}/ubsan=${{matrix.ubsan}}/light_runtime=${{light_runtime}}"
3657

3758
steps:
3859
- uses: actions/checkout@v3

0 commit comments

Comments
 (0)