Skip to content

Add op ir

Add op ir #1392

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@v3
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@v3
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 }}