Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI: initialize mlir-aie CI #3644

Closed
wants to merge 2 commits into from
Closed
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
41 changes: 41 additions & 0 deletions .github/workflows/ci-mlir-aie.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: CI - MLIR-AIE-based Testing

on:
push:
branches:
- main
pull_request:
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest
env:
MLIR-AIE-Version: 0.0.1.2024121504+aff6da3

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Cache MLIR-AIE setup
id: cache-binary
uses: actions/cache@v4
with:
path: mlir_aie
key: mlir_aie-${{ env.MLIR-AIE-Version }}

- name: Download and setup MLIR-AIE
if: steps.cache-binary.outputs.cache-hit != 'true'
run: |
wget -q https://github.com/Xilinx/mlir-aie/releases/download/latest-wheels/mlir_aie-${{ env.MLIR-AIE-Version }}-py3-none-manylinux_2_35_x86_64.whl -O mlir_aie.whl
unzip -q mlir_aie.whl

- name: Add MLIR-AIE to PATH
run: |
echo "$(pwd)/mlir_aie/bin" >> $GITHUB_PATH
echo "PATH after adding MLIR-AIE:"
echo $PATH

- name: Test aie-opt version
run: |
aie-opt --version
Loading