diff options
Diffstat (limited to '.github/workflows/build-extra.yml')
-rw-r--r-- | .github/workflows/build-extra.yml | 26 |
1 files changed, 16 insertions, 10 deletions
diff --git a/.github/workflows/build-extra.yml b/.github/workflows/build-extra.yml index c812e4572..e32f827e1 100644 --- a/.github/workflows/build-extra.yml +++ b/.github/workflows/build-extra.yml | |||
@@ -62,15 +62,18 @@ jobs: | |||
62 | github.com:443 | 62 | github.com:443 |
63 | - uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab | 63 | - uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab |
64 | - name: update package information | 64 | - name: update package information |
65 | run: sudo apt-get update | 65 | run: sudo apt-get update -qy |
66 | - name: install dependencies | 66 | - name: install dependencies |
67 | run: sudo apt-get install libapparmor-dev libselinux1-dev | 67 | run: > |
68 | sudo apt-get install -qy | ||
69 | libapparmor-dev libselinux1-dev | ||
68 | - name: print env | 70 | - name: print env |
69 | run: ./ci/printenv.sh | 71 | run: ./ci/printenv.sh |
70 | - name: configure | 72 | - name: configure |
71 | run: > | 73 | run: > |
72 | CC=clang-14 ./configure --enable-fatal-warnings --enable-apparmor | 74 | CC=clang-14 ./configure --enable-fatal-warnings --enable-apparmor |
73 | --enable-selinux | 75 | --enable-selinux |
76 | || (cat config.log; exit 1) | ||
74 | - name: make | 77 | - name: make |
75 | run: make | 78 | run: make |
76 | - name: make install | 79 | - name: make install |
@@ -89,15 +92,18 @@ jobs: | |||
89 | github.com:443 | 92 | github.com:443 |
90 | - uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab | 93 | - uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab |
91 | - name: update package information | 94 | - name: update package information |
92 | run: sudo apt-get update | 95 | run: sudo apt-get update -qy |
93 | - name: install clang-tools-14 and dependencies | 96 | - name: install clang-tools-14 and dependencies |
94 | run: sudo apt-get install clang-tools-14 libapparmor-dev libselinux1-dev | 97 | run: > |
98 | sudo apt-get install -qy | ||
99 | clang-tools-14 libapparmor-dev libselinux1-dev | ||
95 | - name: print env | 100 | - name: print env |
96 | run: ./ci/printenv.sh | 101 | run: ./ci/printenv.sh |
97 | - name: configure | 102 | - name: configure |
98 | run: > | 103 | run: > |
99 | CC=clang-14 ./configure --enable-fatal-warnings --enable-apparmor | 104 | CC=clang-14 ./configure --enable-fatal-warnings --enable-apparmor |
100 | --enable-selinux | 105 | --enable-selinux |
106 | || (cat config.log; exit 1) | ||
101 | - name: scan-build | 107 | - name: scan-build |
102 | run: NO_EXTRA_CFLAGS="yes" scan-build-14 --status-bugs make | 108 | run: NO_EXTRA_CFLAGS="yes" scan-build-14 --status-bugs make |
103 | cppcheck: | 109 | cppcheck: |
@@ -112,9 +118,9 @@ jobs: | |||
112 | github.com:443 | 118 | github.com:443 |
113 | - uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab | 119 | - uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab |
114 | - name: update package information | 120 | - name: update package information |
115 | run: sudo apt-get update | 121 | run: sudo apt-get update -qy |
116 | - name: install cppcheck | 122 | - name: install cppcheck |
117 | run: sudo apt-get install cppcheck | 123 | run: sudo apt-get install -qy cppcheck |
118 | - run: cppcheck --version | 124 | - run: cppcheck --version |
119 | - name: cppcheck | 125 | - name: cppcheck |
120 | run: > | 126 | run: > |
@@ -134,9 +140,9 @@ jobs: | |||
134 | github.com:443 | 140 | github.com:443 |
135 | - uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab | 141 | - uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab |
136 | - name: update package information | 142 | - name: update package information |
137 | run: sudo apt-get update | 143 | run: sudo apt-get update -qy |
138 | - name: install cppcheck | 144 | - name: install cppcheck |
139 | run: sudo apt-get install cppcheck | 145 | run: sudo apt-get install -qy cppcheck |
140 | - run: cppcheck --version | 146 | - run: cppcheck --version |
141 | - name: cppcheck | 147 | - name: cppcheck |
142 | run: cppcheck -q --force --error-exitcode=1 --enable=warning,performance . | 148 | run: cppcheck -q --force --error-exitcode=1 --enable=warning,performance . |
@@ -152,9 +158,9 @@ jobs: | |||
152 | github.com:443 | 158 | github.com:443 |
153 | - uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab | 159 | - uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab |
154 | - name: update package information | 160 | - name: update package information |
155 | run: sudo apt-get update | 161 | run: sudo apt-get update -qy |
156 | - name: install dependencies | 162 | - name: install dependencies |
157 | run: sudo apt-get install codespell | 163 | run: sudo apt-get install -qy codespell |
158 | - run: codespell --version | 164 | - run: codespell --version |
159 | - name: codespell | 165 | - name: codespell |
160 | run: make codespell | 166 | run: make codespell |