mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-11-24 07:19:37 +03:00
ci: Add ccache to github workflows
This commit is contained in:
parent
b56d74b5df
commit
21e636a3a6
7
.github/workflows/build.yaml
vendored
7
.github/workflows/build.yaml
vendored
@ -31,6 +31,7 @@ jobs:
|
|||||||
sudo apt-get install --no-install-recommends -y
|
sudo apt-get install --no-install-recommends -y
|
||||||
bison
|
bison
|
||||||
build-essential
|
build-essential
|
||||||
|
ccache
|
||||||
check
|
check
|
||||||
clang
|
clang
|
||||||
flex
|
flex
|
||||||
@ -46,6 +47,12 @@ jobs:
|
|||||||
pkg-config
|
pkg-config
|
||||||
wbritish # Needed for `/usr/share/dict/words`, used by test
|
wbritish # Needed for `/usr/share/dict/words`, used by test
|
||||||
|
|
||||||
|
- name: ccache
|
||||||
|
uses: hendrikmuhs/ccache-action@v1.2
|
||||||
|
with:
|
||||||
|
key: ${{ github.job }}-${{ matrix.os }}-${{ matrix.compiler.vendor }}
|
||||||
|
max-size: 128M
|
||||||
|
|
||||||
- name: Build and install project libs
|
- name: Build and install project libs
|
||||||
env:
|
env:
|
||||||
CC: ${{ matrix.compiler.CC }}
|
CC: ${{ matrix.compiler.CC }}
|
||||||
|
7
.github/workflows/monkey-test.yaml
vendored
7
.github/workflows/monkey-test.yaml
vendored
@ -23,6 +23,7 @@ jobs:
|
|||||||
sudo apt-get install --no-install-recommends -y
|
sudo apt-get install --no-install-recommends -y
|
||||||
bison
|
bison
|
||||||
build-essential
|
build-essential
|
||||||
|
ccache
|
||||||
check
|
check
|
||||||
clang
|
clang
|
||||||
flex
|
flex
|
||||||
@ -38,6 +39,12 @@ jobs:
|
|||||||
pkg-config
|
pkg-config
|
||||||
wbritish # Needed for `/usr/share/dict/words`, used by test
|
wbritish # Needed for `/usr/share/dict/words`, used by test
|
||||||
|
|
||||||
|
- name: ccache
|
||||||
|
uses: hendrikmuhs/ccache-action@v1.2
|
||||||
|
with:
|
||||||
|
key: ${{ github.job }}
|
||||||
|
max-size: 128M
|
||||||
|
|
||||||
- name: Build and install project libs
|
- name: Build and install project libs
|
||||||
run: |
|
run: |
|
||||||
export TARGET_WORKSPACE="$(pwd)/projects"
|
export TARGET_WORKSPACE="$(pwd)/projects"
|
||||||
|
7
.github/workflows/static-analysis.yaml
vendored
7
.github/workflows/static-analysis.yaml
vendored
@ -23,6 +23,7 @@ jobs:
|
|||||||
sudo apt-get install --no-install-recommends -y
|
sudo apt-get install --no-install-recommends -y
|
||||||
bison
|
bison
|
||||||
build-essential
|
build-essential
|
||||||
|
ccache
|
||||||
flex
|
flex
|
||||||
git
|
git
|
||||||
gperf
|
gperf
|
||||||
@ -34,6 +35,12 @@ jobs:
|
|||||||
librsvg2-dev
|
librsvg2-dev
|
||||||
pkg-config
|
pkg-config
|
||||||
|
|
||||||
|
- name: ccache
|
||||||
|
uses: hendrikmuhs/ccache-action@v1.2
|
||||||
|
with:
|
||||||
|
key: ${{ github.job }}
|
||||||
|
max-size: 128M
|
||||||
|
|
||||||
- name: Build and install project libs
|
- name: Build and install project libs
|
||||||
run: |
|
run: |
|
||||||
export TARGET_WORKSPACE="$(pwd)/projects"
|
export TARGET_WORKSPACE="$(pwd)/projects"
|
||||||
|
Loading…
Reference in New Issue
Block a user