mirror of https://github.com/flysand7/ciabatta.git
Github CI cached llvm and clang
This commit is contained in:
parent
bd3622dddf
commit
76ced48fed
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue