Skip to content

Commit

Permalink
Build MLIR and CIRCT cache for master
Browse files Browse the repository at this point in the history
The cache is not shared between branches resulting in CIRCT and
MLIR being built each time a new PR is created.

This created a cached version of MLIR and CIRCT for master, which
is shared with derived branches.
  • Loading branch information
sjalander committed Jan 21, 2025
1 parent 7c3c119 commit afb9fc5
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/DefaultCache.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: DefaultCache

on:
pull_request:
branches: [ master ]

jobs:
DefaultCache:
runs-on: ubuntu-22.04
steps:
- name: "Install dependencies"
uses: ./.github/actions/InstallPackages
with:
install-llvm: true
install-clang: true
- name: "Build CIRCT to generate cache"
uses: ./.github/actions/BuildCirct
- name: "Build MLIR to generate cache"
uses: ./.github/actions/BuildMlirDialect

0 comments on commit afb9fc5

Please sign in to comment.