Skip to content

Commit

Permalink
meta: Add a workflow to manually populate the clang cache
Browse files Browse the repository at this point in the history
  • Loading branch information
alimpfard authored May 29, 2024
1 parent c316fe8 commit 2ff2c86
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/populate-windows-clang.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Manually populate clang cache for windows
on:
workflow_dispatch:

env:
LLVM_VER: 16.0.6

jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: Cache Clang
uses: actions/cache@v3
id: cache-clang
with:
path: 'llvm-install-${{ env.LLVM_VER }}/'
key: 'libclang-${{ runner.os }}-${{ env.LLVM_VER }}'
- name: Build clang if cache miss
uses: ./.github/actions/clang-windows
if: steps.cache-clang.outputs.cache-hit != 'true'
with:
llvm_version: "${{ env.LLVM_VER }}"
llvm_branch: "llvmorg-${{ env.LLVM_VER }}"

0 comments on commit 2ff2c86

Please sign in to comment.