Skip to content

Commit

Permalink
Generate cached version of MLIR and CIRCT for master (#763)
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 creates a cached version of MLIR and CIRCT for master, which is
shared with derived branches.
  • Loading branch information
sjalander authored Jan 22, 2025
1 parent c762641 commit f507a19
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/DefaultCache.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: DefaultCache

on:
push:
branches: [ master ]

jobs:
DefaultCache:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- 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 f507a19

Please sign in to comment.