File tree Expand file tree Collapse file tree 2 files changed +43
-6
lines changed Expand file tree Collapse file tree 2 files changed +43
-6
lines changed Original file line number Diff line number Diff line change 88
99jobs :
1010 build-linux :
11- runs-on : ubuntu-24.04
11+ runs-on : ubuntu-latest
1212
1313 steps :
1414 - uses : actions/checkout@v4
6767 $i
6868 done
6969
70+ build-linux-mlir :
71+ runs-on : ubuntu-latest
72+
73+ steps :
74+ - uses : actions/checkout@v4
75+
76+ - name : Install LLVM and MLIR deps
77+ run : |
78+ sudo apt-get -y update
79+ sudo apt-get install -y \
80+ llvm-18-dev \
81+ libmlir-18-dev \
82+ mlir-18-tools
83+
84+ - name : Install unit tests requirements
85+ run : |
86+ python3 -m venv .env
87+ . .env/bin/activate
88+ pip install -r tests/unit_tests/requirements.txt
89+
90+ - name : Build
91+ run : |
92+ . .env/bin/activate
93+
94+ cmake . \
95+ -Bbuild \
96+ -DCMAKE_BUILD_TYPE=Release \
97+ -DCXX_ENABLE_MLIR=ON
98+
99+ cmake --build build
100+
101+ - name : Test
102+ working-directory : build
103+ run : |
104+ ctest --output-on-failure
105+
70106 build-windows :
71107 runs-on : windows-latest
72108
89125 ctest --verbose -C Release
90126
91127 build-emscripten :
92- runs-on : ubuntu-24.04
128+ runs-on : ubuntu-latest
93129
94130 steps :
95131 - uses : actions/checkout@v4
@@ -173,7 +209,7 @@ jobs:
173209 done
174210
175211 build-wasi :
176- runs-on : ubuntu-24.04
212+ runs-on : ubuntu-latest
177213
178214 env :
179215 WASMTIME_VERSION : 25.0.2
@@ -243,7 +279,7 @@ jobs:
243279 retention-days : 1
244280
245281 release-please :
246- runs-on : ubuntu-24.04
282+ runs-on : ubuntu-latest
247283 if : false && github.repository == 'robertoraggi/cplusplus' && github.ref == 'refs/heads/main'
248284 steps :
249285 - uses : GoogleCloudPlatform/release-please-action@v3
@@ -258,7 +294,7 @@ jobs:
258294 templates/cxx-parse-esm/package.json
259295
260296 build-storybook :
261- runs-on : ubuntu-24.04
297+ runs-on : ubuntu-latest
262298 needs : build-emscripten
263299 steps :
264300 - uses : actions/checkout@v4
@@ -297,7 +333,7 @@ jobs:
297333 name : github-pages
298334 url : ${{ steps.deployment.outputs.page_url }}
299335
300- runs-on : ubuntu-24.04
336+ runs-on : ubuntu-latest
301337 steps :
302338 - name : Deploy to GitHub Pages
303339 id : deployment
Original file line number Diff line number Diff line change @@ -26,5 +26,6 @@ if (CMAKE_CXX_COMPILER_ID MATCHES "Clang|GNU")
2626 target_compile_options (cxx-mlir PRIVATE
2727 -Wno-unused-variable
2828 -Wno-covered-switch-default
29+ -Wno-unused-but-set-variable
2930 )
3031endif ()
You can’t perform that action at this time.
0 commit comments