From 6f71e5549e84bfd2c59f6574e9297a7801d3e0fc Mon Sep 17 00:00:00 2001 From: Joren Dumoulin Date: Mon, 16 Dec 2024 16:21:56 +0100 Subject: [PATCH 1/2] CI: initialize mlir-aie CI --- .github/workflows/mlir-aie.yaml | 41 +++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 .github/workflows/mlir-aie.yaml diff --git a/.github/workflows/mlir-aie.yaml b/.github/workflows/mlir-aie.yaml new file mode 100644 index 0000000000..d3907dca13 --- /dev/null +++ b/.github/workflows/mlir-aie.yaml @@ -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 From 165715a4999e65e6258bb24635c25f3efe81b732 Mon Sep 17 00:00:00 2001 From: Joren Dumoulin Date: Mon, 16 Dec 2024 16:34:07 +0100 Subject: [PATCH 2/2] rename workflow --- .github/workflows/{mlir-aie.yaml => ci-mlir-aie.yaml} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename .github/workflows/{mlir-aie.yaml => ci-mlir-aie.yaml} (100%) diff --git a/.github/workflows/mlir-aie.yaml b/.github/workflows/ci-mlir-aie.yaml similarity index 100% rename from .github/workflows/mlir-aie.yaml rename to .github/workflows/ci-mlir-aie.yaml