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 runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- name: Set up Clang - name: Cache LLVM and Clang
uses: egor-tensin/setup-clang@v1 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: with:
version: latest version: latest
platform: x64 cached: ${{ steps.cache-llvm.outputs.cache-hit }}
- name: Setup NASM - name: Setup NASM
uses: ilammy/setup-nasm@v1 uses: ilammy/setup-nasm@v1
- name: Set up Python - name: Set up Python

View File

@ -14,11 +14,19 @@ jobs:
runs-on: windows-latest runs-on: windows-latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- name: Set up Clang - name: Cache LLVM and Clang
uses: egor-tensin/setup-clang@v1 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: with:
version: latest version: latest
platform: x64 cached: ${{ steps.cache-llvm.outputs.cache-hit }}
- name: Setup NASM - name: Setup NASM
uses: ilammy/setup-nasm@v1 uses: ilammy/setup-nasm@v1
- name: Set up Python - name: Set up Python