Skip to content

Change the paths for generated model MLIR files and data files to the build path. #2022

Change the paths for generated model MLIR files and data files to the build path.

Change the paths for generated model MLIR files and data files to the build path. #2022

Workflow file for this run

name: test build process
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: self-hosted
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: 'true'
- name: Set up ninja
uses: seanmiddleditch/gha-setup-ninja@master
- name: Prepare llvm build directory name
id: llvm-build-dir
run: |
echo "commit=$(git submodule status llvm | awk '{print $1;}')" >> $GITHUB_OUTPUT
- name: Cache llvm build directory
uses: actions/cache@v4
with:
path: llvm
key: build-${{ steps.llvm-build-dir.outputs.commit }}
- name: Test build
run: bash ./tests/Actions/TestBuild.sh llvm/build-${{ steps.llvm-build-dir.outputs.commit }}