File tree Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Original file line number Diff line number Diff line change @@ -224,3 +224,34 @@ jobs:
224
224
issue-number : ${{ github.event.pull_request.number }}
225
225
body-path : bench.md
226
226
edit-mode : replace
227
+
228
+ compile-examples :
229
+ name : Compile Examples
230
+ runs-on : macos-14
231
+ env :
232
+ CARGO_TERM_COLOR : always
233
+ LIBRARY_PATH : /opt/homebrew/lib
234
+ MLIR_SYS_190_PREFIX : /opt/homebrew/opt/llvm@19
235
+ LLVM_SYS_191_PREFIX : /opt/homebrew/opt/llvm@19
236
+ TABLEGEN_190_PREFIX : /opt/homebrew/opt/llvm@19
237
+
238
+ steps :
239
+ - uses : actions/checkout@v4
240
+ - name : Rustup toolchain install
241
+
242
+ - uses : homebrew/actions/setup-homebrew@master
243
+ - name : Install llvm
244
+ run : brew install llvm@19
245
+ - name : Compile Examples
246
+ run : |
247
+ > failing-examples.txt
248
+ for example in examples/*.con ; do
249
+ cargo run -- run "$example" && {
250
+ echo "- $example" >> failing-examples.txt
251
+ }
252
+ done
253
+
254
+ echo "Failing Examples:"
255
+ cat failing-examples.txt
256
+
257
+ [ ! -s failing-examples.txt ]
You can’t perform that action at this time.
0 commit comments