|
19 | 19 | DEBIAN_FRONTEND: noninteractive
|
20 | 20 | CMAKE_GENERATOR: Ninja
|
21 | 21 | TARGET_LLVM_VERSION: 18
|
22 |
| - MULL_LLVM_VERSION: 15 |
| 22 | + MULL_LLVM_VERSION: 17 |
23 | 23 |
|
24 | 24 | concurrency:
|
25 | 25 | group: ${{ github.head_ref || github.run_id }}
|
26 | 26 | cancel-in-progress: true
|
27 | 27 |
|
28 | 28 | jobs:
|
29 | 29 | test:
|
30 |
| - runs-on: ${{ github.repository_owner == 'intel' && 'intel-' || '' }}ubuntu-22.04 |
| 30 | + runs-on: ${{ github.repository_owner == 'intel' && 'intel-' || '' }}ubuntu-24.04 |
31 | 31 | steps:
|
32 | 32 | - name: Install build tools
|
33 | 33 | run: |
|
34 | 34 | wget https://apt.llvm.org/llvm.sh && chmod +x llvm.sh && sudo ./llvm.sh ${{env.TARGET_LLVM_VERSION}}
|
35 |
| - sudo apt install -y python3-pip ninja-build clang-tidy-${{env.TARGET_LLVM_VERSION}} clang-format-${{env.TARGET_LLVM_VERSION}} |
| 35 | + sudo apt update && sudo apt install -y pipx ninja-build clang-tidy-${{env.TARGET_LLVM_VERSION}} clang-format-${{env.TARGET_LLVM_VERSION}} |
36 | 36 |
|
37 | 37 | - name: Setup Node.js
|
38 | 38 | uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4.0.4
|
39 | 39 | with:
|
40 |
| - node-version: 18 |
| 40 | + node-version: 20 |
41 | 41 |
|
42 | 42 | - name: Install Mermaid
|
43 | 43 | run: |
|
44 |
| - sudo npm install -g @mermaid-js/[email protected] |
45 |
| - node /usr/local/lib/node_modules/@mermaid-js/mermaid-cli/node_modules/puppeteer/install.js |
| 44 | + sudo npm install -g @mermaid-js/[email protected] |
46 | 45 |
|
47 | 46 | - name: Install asciidoctor
|
48 | 47 | run: |
|
49 |
| - sudo apt update && sudo apt install -y asciidoctor |
| 48 | + sudo apt install -y asciidoctor |
50 | 49 | sudo gem install asciidoctor asciidoctor-diagram rouge
|
51 | 50 |
|
52 | 51 | - name: Install cmake-format
|
53 | 52 | run: |
|
54 |
| - sudo pip3 install --upgrade pip |
55 |
| - sudo pip3 install pyyaml cmake-format |
56 |
| - echo "${HOME}/.local/bin" >> $GITHUB_PATH |
| 53 | + pipx install cmakelang |
| 54 | + pipx inject cmakelang pyyaml |
57 | 55 |
|
58 | 56 | - name: Install python quality tools
|
59 | 57 | run: |
|
60 |
| - sudo pip3 install pytest pytest-forked hypothesis mypy black |
| 58 | + pipx install pytest |
| 59 | + pipx inject pytest pytest-forked |
| 60 | + pipx inject pytest hypothesis |
| 61 | + pipx install mypy |
| 62 | + pipx install black |
| 63 | + echo "/opt/pipx_bin" >> $GITHUB_PATH |
61 | 64 |
|
62 | 65 | - name: Checkout target branch
|
63 | 66 | uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
|
@@ -119,7 +122,7 @@ jobs:
|
119 | 122 | working-directory: ${{github.workspace}}/test/application
|
120 | 123 | run: |
|
121 | 124 | cmake --build build -t build_unit_tests
|
122 |
| - ctest --test-dir build |
| 125 | + ctest --output-on-failure --test-dir build |
123 | 126 |
|
124 | 127 | - name: Run benchmarks
|
125 | 128 | working-directory: ${{github.workspace}}/test/application
|
@@ -149,7 +152,7 @@ jobs:
|
149 | 152 | run: ./verify_links.sh
|
150 | 153 |
|
151 | 154 | sanitize:
|
152 |
| - runs-on: ${{ github.repository_owner == 'intel' && 'intel-' || '' }}ubuntu-22.04 |
| 155 | + runs-on: ${{ github.repository_owner == 'intel' && 'intel-' || '' }}ubuntu-24.04 |
153 | 156 | strategy:
|
154 | 157 | fail-fast: false
|
155 | 158 | matrix:
|
@@ -203,19 +206,19 @@ jobs:
|
203 | 206 | run: cmake --build build -t cpp_tests
|
204 | 207 |
|
205 | 208 | mutate:
|
206 |
| - runs-on: ${{ github.repository_owner == 'intel' && 'intel-' || '' }}ubuntu-22.04 |
| 209 | + runs-on: ${{ github.repository_owner == 'intel' && 'intel-' || '' }}ubuntu-24.04 |
207 | 210 | steps:
|
208 | 211 | - name: Install build tools
|
209 | 212 | run: |
|
210 | 213 | wget https://apt.llvm.org/llvm.sh && chmod +x llvm.sh && sudo ./llvm.sh ${{env.MULL_LLVM_VERSION}}
|
211 |
| - sudo apt install -y python3-pip ninja-build |
| 214 | + sudo apt install -y ninja-build |
212 | 215 |
|
213 | 216 | - name: Install mull
|
214 | 217 | env:
|
215 | 218 | MULL_VERSION: 0.23.0
|
216 | 219 | run: |
|
217 |
| - wget https://github.com/mull-project/mull/releases/download/${{env.MULL_VERSION}}/Mull-${{env.MULL_LLVM_VERSION}}-${{env.MULL_VERSION}}-LLVM-${{env.MULL_LLVM_VERSION}}.0-ubuntu-22.04.deb |
218 |
| - sudo dpkg -i Mull-${{env.MULL_LLVM_VERSION}}-${{env.MULL_VERSION}}-LLVM-${{env.MULL_LLVM_VERSION}}.0-ubuntu-22.04.deb |
| 220 | + wget https://github.com/mull-project/mull/releases/download/${{env.MULL_VERSION}}/Mull-${{env.MULL_LLVM_VERSION}}-${{env.MULL_VERSION}}-LLVM-${{env.MULL_LLVM_VERSION}}.0-ubuntu-24.04.deb |
| 221 | + sudo dpkg -i Mull-${{env.MULL_LLVM_VERSION}}-${{env.MULL_VERSION}}-LLVM-${{env.MULL_LLVM_VERSION}}.0-ubuntu-24.04.deb |
219 | 222 |
|
220 | 223 | - name: Checkout PR branch
|
221 | 224 | uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
|
@@ -253,8 +256,8 @@ jobs:
|
253 | 256 | cmake --build build -t mull_tests
|
254 | 257 |
|
255 | 258 | merge_ok:
|
256 |
| - runs-on: ${{ github.repository_owner == 'intel' && 'intel-' || '' }}ubuntu-22.04 |
257 |
| - needs: [test, sanitize] |
| 259 | + runs-on: ${{ github.repository_owner == 'intel' && 'intel-' || '' }}ubuntu-24.04 |
| 260 | + needs: [test, sanitize, mutate] |
258 | 261 | if: ${{ !cancelled() }}
|
259 | 262 | steps:
|
260 | 263 | - name: Enable merge
|
|
0 commit comments