Skip to content

Commit 1739ab4

Browse files
committed
gh-actions: speed up setup of native-aliases
1 parent 4f2b6e2 commit 1739ab4

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

.github/workflows/ci.yml

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ jobs:
136136
uses: hendrikmuhs/ccache-action@v1.2
137137
with:
138138
key: ${{ github.job }}-${{ matrix.isax }}
139-
evict-old-files: job
139+
evict-old-files: 1d
140140
verbose: 2
141141
- name: Install APT Dependencies
142142
run: |
@@ -178,8 +178,8 @@ jobs:
178178
- name: ccache
179179
uses: hendrikmuhs/ccache-action@v1.2
180180
with:
181-
key: ${{ github.job }}-
182-
evict-old-files: job
181+
key: ${{ github.job }}
182+
evict-old-files: 1d
183183
verbose: 2
184184
- name: Install APT Dependencies
185185
run: |
@@ -218,7 +218,7 @@ jobs:
218218
uses: hendrikmuhs/ccache-action@v1.2
219219
with:
220220
key: ${{ github.job }}
221-
evict-old-files: job
221+
evict-old-files: 1d
222222
verbose: 2
223223
- name: Install APT Dependencies
224224
run: |
@@ -259,16 +259,16 @@ jobs:
259259
name: CPU Information
260260
run: cat /proc/cpuinfo
261261
- run: sudo add-apt-repository ppa:stephanosio/ccache && sudo apt-get update
262+
- name: Install APT Dependencies
263+
run: |
264+
sudo apt-get -y --no-install-recommends install libxml2-utils ninja-build pipx ccache && \
265+
pipx install meson==0.55.1
262266
- name: ccache
263267
uses: hendrikmuhs/ccache-action@v1.2
264268
with:
265269
key: ${{ github.job }}
266-
evict-old-files: job
270+
evict-old-files: 1d
267271
verbose: 2
268-
- name: Install APT Dependencies
269-
run: |
270-
sudo apt-get -y --no-install-recommends install libxml2-utils ninja-build pipx && \
271-
pipx install meson==0.55.1
272272
- name: Convert
273273
run: ./test/native-aliases.sh
274274
- name: Configure
@@ -297,7 +297,7 @@ jobs:
297297
uses: hendrikmuhs/ccache-action@v1.2
298298
with:
299299
key: ${{ github.job }}-${{ steps.cpu.outputs.model_name }}
300-
evict-old-files: job
300+
evict-old-files: 1d
301301
verbose: 2
302302
- name: Install APT Dependencies
303303
run: |
@@ -372,7 +372,7 @@ jobs:
372372
uses: hendrikmuhs/ccache-action@v1.2
373373
with:
374374
key: ${{ github.job }}-${{ matrix.version }}-${{ matrix.distro }}-${{ matrix.arch_flags }}-${{ steps.cpu.outputs.model_name }}
375-
evict-old-files: job
375+
evict-old-files: 1d
376376
verbose: 2
377377
- name: Install APT Dependencies
378378
run: |
@@ -490,7 +490,7 @@ jobs:
490490
uses: hendrikmuhs/ccache-action@v1.2
491491
with:
492492
key: ${{ github.job }}-${{ matrix.version}}${{ matrix.extra }}-${{ matrix.distro }}-${{ matrix.cross }}
493-
evict-old-files: job
493+
evict-old-files: 1d
494494
verbose: 2
495495
- name: add ccache to the build path
496496
run: |
@@ -546,7 +546,7 @@ jobs:
546546
uses: hendrikmuhs/ccache-action@v1.2
547547
with:
548548
key: ${{ github.job }}-${{ matrix.distro }}-${{ matrix.cross }}
549-
evict-old-files: job
549+
evict-old-files: 1d
550550
verbose: 2
551551
- name: add ccache to the build path
552552
run: |
@@ -601,7 +601,7 @@ jobs:
601601
uses: hendrikmuhs/ccache-action@v1.2
602602
with:
603603
key: ${{ github.job }}-${{ matrix.distro }}-${{ matrix.cross }}
604-
evict-old-files: job
604+
evict-old-files: 1d
605605
verbose: 2
606606
- name: add ccache to the build path
607607
run: |
@@ -691,7 +691,7 @@ jobs:
691691
uses: hendrikmuhs/ccache-action@v1.2
692692
with:
693693
key: ${{ github.job }}-${{ matrix.version }}${{ matrix.extra }}-${{ matrix.cross }}
694-
evict-old-files: job
694+
evict-old-files: 1d
695695
verbose: 2
696696
- name: add ccache to the build path
697697
run: |
@@ -849,7 +849,7 @@ jobs:
849849
uses: hendrikmuhs/ccache-action@v1.2
850850
with:
851851
key: ${{ github.job }}-${{ matrix.version }}-${{ matrix.distro }}-${{ matrix.arch_flags }}-${{ steps.cpu.outputs.model_name }}
852-
evict-old-files: job
852+
evict-old-files: 1d
853853
verbose: 2
854854
- name: Install PPAs
855855
if: ${{ matrix.distro == 'ubuntu-22.04' }}
@@ -927,7 +927,7 @@ jobs:
927927
uses: hendrikmuhs/ccache-action@v1.2
928928
with:
929929
key: ${{ github.job }}-${{ matrix.os }}-${{ matrix.xcode }}
930-
evict-old-files: job
930+
evict-old-files: 1d
931931
verbose: 2
932932
- name: Python install bug workaround # https://github.com/actions/setup-python/issues/577
933933
run: |

0 commit comments

Comments
 (0)