Skip to content

Commit 59292d5

Browse files
NilsEb4og
authored andcommitted
Adapt ci pipelines (#5)
* Remove unnecessary workflows - CIFuzz requires additional setup at the google service - MacOS and Windows are irrelevant for s-core - We will setup our own documentation * Replace 'latest' compiler versions by an exact version - 'latest' compilers may lead to irreproducible results - current v3.12.0 does not run without errors with 'latest' compilers - Remove very old clang compilers (<17) as the corresponding old docker images lead to errors - ci_static_analysis_clang target needs to use clang 18 or newer because of new compiler flags --------- Co-authored-by: Nils Eberhardt <nils.eberhardt@d-fine.com>
1 parent 55f9368 commit 59292d5

File tree

5 files changed

+8
-342
lines changed

5 files changed

+8
-342
lines changed

.github/workflows/cifuzz.yml

Lines changed: 0 additions & 35 deletions
This file was deleted.

.github/workflows/macos.yml

Lines changed: 0 additions & 120 deletions
This file was deleted.

.github/workflows/publish_documentation.yml

Lines changed: 0 additions & 46 deletions
This file was deleted.

.github/workflows/ubuntu.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ concurrency:
1919
jobs:
2020
ci_test_gcc:
2121
runs-on: ubuntu-latest
22-
container: gcc:latest
22+
container: gcc:14
2323
steps:
2424
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2525
- name: Get latest CMake and ninja
@@ -62,7 +62,7 @@ jobs:
6262

6363
ci_static_analysis_clang:
6464
runs-on: ubuntu-latest
65-
container: silkeh/clang:dev
65+
container: silkeh/clang:20
6666
strategy:
6767
matrix:
6868
target: [ci_test_clang, ci_clang_tidy, ci_test_clang_sanitizer, ci_clang_analyze, ci_single_binaries]
@@ -73,7 +73,8 @@ jobs:
7373
- name: Get latest CMake and ninja
7474
uses: lukka/get-cmake@28983e0d3955dba2bb0a6810caae0c6cf268ec0c # v4.0.0
7575
- name: Run CMake
76-
run: cmake -S . -B build -DJSON_CI=On
76+
# The default C++ compiler in the docker image is clang++-14 which does not support all compiler flags
77+
run: cmake -S . -B build -DJSON_CI=On -DCLANG_TOOL=clang++-20
7778
- name: Build
7879
run: cmake --build build --target ${{ matrix.target }}
7980

@@ -143,7 +144,7 @@ jobs:
143144
strategy:
144145
matrix:
145146
# older GCC docker images (4, 5, 6) fail to check out code
146-
compiler: ['7', '8', '9', '10', '11', '12', '13', '14', 'latest']
147+
compiler: ['7', '8', '9', '10', '11', '12', '13', '14']
147148
container: gcc:${{ matrix.compiler }}
148149
steps:
149150
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
@@ -158,7 +159,7 @@ jobs:
158159
runs-on: ubuntu-latest
159160
strategy:
160161
matrix:
161-
compiler: ['3.4', '3.5', '3.6', '3.7', '3.8', '3.9', '4', '5', '6', '7', '8', '9', '10', '11', '12', '13', '14', '15-bullseye', '16', '17', '18', '19', '20', 'latest']
162+
compiler: ['17', '18', '19', '20']
162163
container: silkeh/clang:${{ matrix.compiler }}
163164
steps:
164165
- name: Install unzip and git
@@ -176,7 +177,7 @@ jobs:
176177

177178
ci_test_standards_gcc:
178179
runs-on: ubuntu-latest
179-
container: gcc:latest
180+
container: gcc:14.3
180181
strategy:
181182
matrix:
182183
standard: [11, 14, 17, 20, 23, 26]
@@ -191,7 +192,7 @@ jobs:
191192

192193
ci_test_standards_clang:
193194
runs-on: ubuntu-latest
194-
container: silkeh/clang:latest
195+
container: silkeh/clang:20
195196
strategy:
196197
matrix:
197198
standard: [11, 14, 17, 20, 23, 26]

0 commit comments

Comments
 (0)