Skip to content

Commit af7033e

Browse files
committed
Note down expected CI execution times
When looking to optimise CI workflows it is useful to have an idea about the current state of affairs.
1 parent 12d5324 commit af7033e

File tree

7 files changed

+25
-1
lines changed

7 files changed

+25
-1
lines changed

.github/workflows/build-and-test-Linux.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ on:
66
- '**'
77

88
jobs:
9+
# This job takes approximately 18 minutes
910
CompileLinux:
1011
runs-on: ubuntu-20.04
1112
steps:

.github/workflows/build-and-test-Xen.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ on:
55
branches: [ develop ]
66

77
jobs:
8+
# This job takes approximately 33 minutes
89
CompileXen:
910
runs-on: ubuntu-20.04
1011
steps:

.github/workflows/codeql-analysis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ on:
77
branches: [ develop ]
88

99
jobs:
10+
# This job takes approximately 82 minutes
1011
analyze:
1112
name: Analyze
1213
runs-on: ubuntu-latest

.github/workflows/csmith.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ on:
55
branches: [ develop ]
66

77
jobs:
8+
# This job takes approximately 18 minutes
89
run-10-random-tests:
910
runs-on: ubuntu-20.04
1011
steps:

.github/workflows/doxygen-check.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on:
44
branches: [ develop ]
55

66
jobs:
7+
# This job takes approximately 2 minutes
78
check-doxygen:
89
runs-on: ubuntu-20.04
910
steps:

.github/workflows/publish.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ name: Publish CBMC documentation
22
on: [push, pull_request]
33

44
jobs:
5+
# This job takes approximately 3 minutes
56
publish:
67
runs-on: ubuntu-latest
78
steps:

.github/workflows/pull-request-checks.yaml

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ env:
66
cvc5-version: "1.0.0"
77

88
jobs:
9+
# This job takes approximately 40 minutes
910
check-ubuntu-20_04-make-gcc:
1011
runs-on: ubuntu-20.04
1112
steps:
@@ -71,6 +72,7 @@ jobs:
7172
env PATH=$PATH:`pwd`/src/solvers make -C regression/cbmc test-cprover-smt2
7273
make -C jbmc/regression test-parallel JOBS=2
7374
75+
# This job takes approximately 34 minutes
7476
check-ubuntu-20_04-make-clang:
7577
runs-on: ubuntu-20.04
7678
env:
@@ -142,6 +144,7 @@ jobs:
142144
# to be run by the job above, which is basically the same, but more comprehensive.
143145
# The reason we opted for a new job is that adding a `test-z3` step to the current
144146
# jobs increases the job runtime to unacceptable levels (over 2hrs).
147+
# This job takes approximately 18 minutes
145148
check-ubuntu-20_04-make-clang-smt-z3:
146149
runs-on: ubuntu-20.04
147150
env:
@@ -186,6 +189,7 @@ jobs:
186189
- name: Run regression/cbmc tests with z3 as the backend
187190
run: make -C regression/cbmc test-z3
188191

192+
# This job takes approximately 42 minutes
189193
check-ubuntu-20_04-cmake-gcc:
190194
runs-on: ubuntu-20.04
191195
steps:
@@ -245,6 +249,7 @@ jobs:
245249
- name: Run tests
246250
run: cd build; ctest . -V -L CORE -j2
247251

252+
# This job takes approximately 41 minutes
248253
check-ubuntu-22_04-cmake-gcc:
249254
runs-on: ubuntu-22.04
250255
steps:
@@ -302,6 +307,7 @@ jobs:
302307
- name: Run tests
303308
run: cd build; ctest . -V -L CORE -j2
304309

310+
# This job takes approximately 24 minutes
305311
check-ubuntu-20_04-cmake-gcc-KNOWNBUG:
306312
runs-on: ubuntu-20.04
307313
steps:
@@ -347,6 +353,7 @@ jobs:
347353
git checkout -- memory_allocation1 printf1 union12 va_list3
348354
../test.pl -c "cbmc --cprover-smt2" -I broken-smt-backend -K
349355
356+
# This job takes approximately 95 minutes
350357
check-ubuntu-20_04-cmake-gcc-THOROUGH:
351358
runs-on: ubuntu-20.04
352359
steps:
@@ -384,6 +391,7 @@ jobs:
384391
- name: Run tests
385392
run: cd build; ctest . -V -L THOROUGH -j2
386393

394+
# This job takes approximately 69 minutes
387395
check-macos-11-make-clang:
388396
runs-on: macos-11
389397
steps:
@@ -434,6 +442,7 @@ jobs:
434442
- name: Run JBMC regression tests
435443
run: make -C jbmc/regression test-parallel JOBS=3
436444

445+
# This job takes approximately 66 minutes
437446
check-macos-12-cmake-clang:
438447
runs-on: macos-12
439448
steps:
@@ -476,6 +485,7 @@ jobs:
476485
- name: Run CTest
477486
run: cd build; ctest -V -L CORE . -j3
478487

488+
# This job takes approximately 70 minutes
479489
check-vs-2019-cmake-build-and-test:
480490
runs-on: windows-2019
481491
env:
@@ -528,6 +538,7 @@ jobs:
528538
Set-Location build
529539
ctest -V -L CORE -C Release . -j2
530540
541+
# This job takes approximately 84 minutes
531542
check-vs-2022-make-build-and-test:
532543
runs-on: windows-2022
533544
env:
@@ -595,6 +606,7 @@ jobs:
595606
run: make CXX=clcache BUILD_ENV=MSVC -C regression test
596607

597608

609+
# This job takes approximately 1 minute
598610
check-clang-format:
599611
runs-on: ubuntu-20.04
600612
steps:
@@ -616,6 +628,7 @@ jobs:
616628
MERGE_BRANCH: ${{ github.ref }}
617629
run: ./.github/workflows/pull-request-check-clang-format.sh
618630

631+
# This job takes approximately 1 minute
619632
check-cpplint:
620633
runs-on: ubuntu-20.04
621634
steps:
@@ -637,6 +650,7 @@ jobs:
637650
MERGE_BRANCH: ${{ github.ref }}
638651
run: ./.github/workflows/pull-request-check-cpplint.sh
639652

653+
# This job takes approximately 32 minutes
640654
windows-msi-package:
641655
runs-on: windows-2019
642656
env:
@@ -685,6 +699,7 @@ jobs:
685699
echo "msi_installer=build/$msi_name" >> $env:GITHUB_OUTPUT
686700
echo "msi_name=$msi_name" >> $env:GITHUB_OUTPUT
687701
702+
# This job takes approximately 43 minutes
688703
ubuntu-18_04-package:
689704
runs-on: ubuntu-18.04
690705
env:
@@ -754,14 +769,15 @@ jobs:
754769
echo "deb_package=./build/$deb_package_name" >> $GITHUB_OUTPUT
755770
echo "deb_package_name=ubuntu-18.04-$deb_package_name" >> $GITHUB_OUTPUT
756771
757-
772+
# This job takes approximately 3 minutes
758773
check-string-table:
759774
runs-on: ubuntu-20.04
760775
steps:
761776
- uses: actions/checkout@v3
762777
- name: Check for unused irep ids
763778
run: ./scripts/string_table_check.sh
764779

780+
# This job takes approximately 23 minutes
765781
check-docker-image:
766782
runs-on: ubuntu-20.04
767783
steps:
@@ -785,6 +801,7 @@ jobs:
785801
- name: Smoke test goto-analyzer
786802
run: docker run -v ${PWD}/.github/workflows/smoke_test_assets:/mnt/smoke -t cbmc goto-analyzer /mnt/smoke/test.goto --unreachable-functions
787803

804+
# This job takes approximately 39 minutes
788805
include-what-you-use:
789806
runs-on: ubuntu-22.04
790807
steps:
@@ -812,6 +829,7 @@ jobs:
812829
exit 1
813830
fi
814831
832+
# This job takes approximately 75 minutes
815833
codecov-coverage-report:
816834
runs-on: ubuntu-20.04
817835
steps:

0 commit comments

Comments
 (0)