Github CI cached llvm and clang

This commit is contained in:
flysand7 2023-07-28 22:57:42 +11:00
parent bd3622dddf
commit 76ced48fed
2 changed files with 22 additions and 6 deletions

View File

@ -14,11 +14,19 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Clang
uses: egor-tensin/setup-clang@v1
- name: Cache LLVM and Clang
id: cache-llvm
uses: actions/cache@v3
with:
path: |
C:/Program Files/LLVM
./llvm
key: llvm-3.5
- name: Install LLVM and Clang
uses: KyleMayes/install-llvm-action@v1
with:
version: latest
platform: x64
cached: ${{ steps.cache-llvm.outputs.cache-hit }}
- name: Setup NASM
uses: ilammy/setup-nasm@v1
- name: Set up Python

View File

@ -14,11 +14,19 @@ jobs:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: Set up Clang
uses: egor-tensin/setup-clang@v1
- name: Cache LLVM and Clang
id: cache-llvm
uses: actions/cache@v3
with:
path: |
C:/Program Files/LLVM
./llvm
key: llvm-3.5
- name: Install LLVM and Clang
uses: KyleMayes/install-llvm-action@v1
with:
version: latest
platform: x64
cached: ${{ steps.cache-llvm.outputs.cache-hit }}
- name: Setup NASM
uses: ilammy/setup-nasm@v1
- name: Set up Python