Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -224,3 +224,34 @@ jobs:
issue-number: ${{ github.event.pull_request.number }}
body-path: bench.md
edit-mode: replace

compile-examples:
name: Compile Examples
runs-on: macos-14
env:
CARGO_TERM_COLOR: always
LIBRARY_PATH: /opt/homebrew/lib
MLIR_SYS_190_PREFIX: /opt/homebrew/opt/llvm@19
LLVM_SYS_191_PREFIX: /opt/homebrew/opt/llvm@19
TABLEGEN_190_PREFIX: /opt/homebrew/opt/llvm@19

steps:
- uses: actions/checkout@v4
- name: Rustup toolchain install
uses: dtolnay/[email protected]
- uses: homebrew/actions/setup-homebrew@master
- name: Install llvm
run: brew install llvm@19
- name: Compile Examples
run: |
> failing-examples.txt
for example in examples/*.con ; do
cargo run -- build "$example" || {
echo "- $example" >> failing-examples.txt
}
done

echo "Failing Examples:"
cat failing-examples.txt

[ ! -s failing-examples.txt ]
Loading