@@ -2,8 +2,10 @@ name: C/C++ CI
22
33on :
44 push :
5+ branches : [ master, pre-stage, release_candidates, dev_major, dev_minor ]
56 paths : [ '**.c', '**.h', '**.m4', '**.sh', '**/Makefile.in', 'configure.ac', '.github/configs', '.github/workflows/c-cpp.yaml' ]
67 pull_request :
8+ branches : [ master, release_candidates ]
79 paths : [ '**.c', '**.h', '**.m4', '**.sh', '**/Makefile.in', 'configure.ac', '.github/configs', '.github/workflows/c-cpp.yaml' ]
810
911jobs :
@@ -17,52 +19,41 @@ jobs:
1719 target :
1820 - ubuntu-20.04
1921 - ubuntu-22.04
20- - macos-11
2122 - macos-12
2223 - macos-13
2324 - macos-14
2425 - windows-2019
2526 - windows-2022
2627 config : [default]
2728 # Then we include any extra configs we want to test for specific VMs.
28- # Valgrind slows things down quite a bit, so start them first.
2929 include :
30- - { target: windows-2019, config: cygwin-release }
31- - { target: windows-2022, config: cygwin-release }
32- - { target: ubuntu-20.04, config: valgrind-1 }
33- - { target: ubuntu-20.04, config: valgrind-2 }
34- - { target: ubuntu-20.04, config: valgrind-3 }
35- - { target: ubuntu-20.04, config: valgrind-4 }
36- - { target: ubuntu-20.04, config: valgrind-5 }
37- - { target: ubuntu-20.04, config: valgrind-unit }
38- - { target: ubuntu-20.04, config: c89 }
39- - { target: ubuntu-20.04, config: clang-6.0 }
40- - { target: ubuntu-20.04, config: clang-8 }
41- - { target: ubuntu-20.04, config: clang-9 }
42- - { target: ubuntu-20.04, config: clang-10 }
43- - { target: ubuntu-20.04, config: clang-11 }
44- - { target: ubuntu-20.04, config: clang-12-Werror }
45- - { target: ubuntu-20.04, config: clang-sanitize-address }
46- - { target: ubuntu-20.04, config: clang-sanitize-undefined }
47- - { target: ubuntu-20.04, config: gcc-sanitize-address }
48- - { target: ubuntu-20.04, config: gcc-sanitize-undefined }
49- - { target: ubuntu-20.04, config: gcc-7 }
50- - { target: ubuntu-20.04, config: gcc-8 }
51- - { target: ubuntu-20.04, config: gcc-10 }
30+ - { target: ubuntu-22.04, config: valgrind-1 }
31+ - { target: ubuntu-22.04, config: valgrind-2 }
32+ - { target: ubuntu-22.04, config: valgrind-3 }
33+ - { target: ubuntu-22.04, config: valgrind-4 }
34+ # - { target: ubuntu-22.04, config: valgrind-5 }
35+ - { target: ubuntu-22.04, config: valgrind-6 }
36+ - { target: ubuntu-22.04, config: valgrind-7 }
37+ # binn.c no longer works with c89 so remove this test.
38+ # - { target: ubuntu-22.04, config: c89 }
39+ - { target: ubuntu-22.04, config: clang-6.0 }
40+ - { target: ubuntu-22.04, config: clang-8 }
41+ - { target: ubuntu-22.04, config: clang-9 }
42+ - { target: ubuntu-22.04, config: clang-10 }
43+ - { target: ubuntu-22.04, config: clang-11 }
44+ - { target: ubuntu-22.04, config: clang-12-Werror }
45+ - { target: ubuntu-22.04, config: gcc-7 }
46+ - { target: ubuntu-22.04, config: gcc-8 }
47+ - { target: ubuntu-22.04, config: gcc-10 }
5248 - { target: ubuntu-22.04, config: gcc-11-Werror }
5349 - { target: ubuntu-22.04, config: gcc-12-Werror }
54- - { target: ubuntu-20 .04, config: pam }
55- - { target: ubuntu-20 .04, config: kitchensink }
50+ - { target: ubuntu-22 .04, config: pam }
51+ - { target: ubuntu-22 .04, config: kitchensink }
5652 - { target: ubuntu-22.04, config: hardenedmalloc }
57- - { target: ubuntu-20 .04, config: tcmalloc }
58- - { target: ubuntu-20.04, config: musl }
59- - { target: ubuntu-latest , config: boringssl }
53+ - { target: ubuntu-22 .04, config: tcmalloc }
54+ # musl doesn't work because it doesn't know about linux/tcp.h
55+ # - { target: ubuntu-20.04 , config: musl }
6056 - { target: ubuntu-latest, config: libressl-master }
61- - { target: ubuntu-latest, config: libressl-3.2.6 }
62- - { target: ubuntu-latest, config: libressl-3.3.6 }
63- - { target: ubuntu-latest, config: libressl-3.4.3 }
64- - { target: ubuntu-latest, config: libressl-3.5.3 }
65- - { target: ubuntu-latest, config: libressl-3.6.1 }
6657 - { target: ubuntu-latest, config: libressl-3.7.2 }
6758 - { target: ubuntu-latest, config: libressl-3.8.4 }
6859 - { target: ubuntu-latest, config: libressl-3.9.1 }
@@ -94,26 +85,26 @@ jobs:
9485 - { target: ubuntu-latest, config: putty-0.80 }
9586 - { target: ubuntu-latest, config: putty-snapshot }
9687 - { target: ubuntu-latest, config: zlib-develop }
97- - { target: ubuntu-22.04, config: pam }
98- - { target: ubuntu-22.04, config: krb5 }
99- - { target: ubuntu-22.04, config: heimdal }
100- - { target: ubuntu-22.04, config: libedit }
101- - { target: ubuntu-22.04, config: sk }
102- - { target: ubuntu-22.04, config: selinux }
103- - { target: ubuntu-22.04, config: kitchensink }
104- - { target: ubuntu-22.04, config: without-openssl }
105- - { target: macos-11, config: pam }
106- - { target: macos-12, config: pam }
107- - { target: macos-13, config: pam }
108- - { target: macos-14, config: pam }
88+ - { target: ubuntu-24.04, config: pam }
89+ - { target: ubuntu-24.04, config: krb5 }
90+ - { target: ubuntu-24.04, config: heimdal }
91+ - { target: ubuntu-24.04, config: libedit }
92+ - { target: ubuntu-24.04, config: sk }
93+ - { target: ubuntu-24.04, config: selinux }
94+ - { target: ubuntu-24.04, config: kitchensink }
95+ - { target: ubuntu-24.04, config: without-openssl }
96+ - { target: ubuntu-24.04, config: clang-sanitize-address }
97+ - { target: ubuntu-24.04, config: clang-sanitize-undefined }
98+ - { target: ubuntu-24.04, config: gcc-sanitize-address }
99+ - { target: ubuntu-24.04, config: gcc-sanitize-undefined }
100+ # we know pam doesn't work because we can't install a new pam file
101+ # for hpnssh via the CI test methods
102+ # - { target: macos-12, config: pam }
103+ # - { target: macos-13, config: pam }
104+ # - { target: macos-14, config: pam }
105+ >>>>>>> master
109106 runs-on : ${{ matrix.target }}
110107 steps :
111- - name : set cygwin git params
112- if : ${{ startsWith(matrix.target, 'windows') }}
113- run : git config --global core.autocrlf input
114- - name : install cygwin
115- if : ${{ startsWith(matrix.target, 'windows') }}
116- uses : cygwin/cygwin-install-action@master
117108 - uses : actions/checkout@main
118109 - name : setup CI system
119110 run : sh ./.github/setup_ci.sh ${{ matrix.config }}
0 commit comments