diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2023-03-16 15:12:40 +0000 |
---|---|---|
committer | Michael Drake <mdrake.unique@gmail.com> | 2023-03-16 15:47:43 +0000 |
commit | 21e636a3a6056c23bbd4257f50315532fe010aa5 (patch) | |
tree | a04f8b37c9c1296150327cb2f30b99c6d1c613c3 | |
parent | b56d74b5df9becb324ef2d49bfe079acc505e76b (diff) | |
download | netsurf-21e636a3a6056c23bbd4257f50315532fe010aa5.tar.gz |
-rw-r--r-- | .github/workflows/build.yaml | 7 | ||||
-rw-r--r-- | .github/workflows/monkey-test.yaml | 7 | ||||
-rw-r--r-- | .github/workflows/static-analysis.yaml | 7 |
3 files changed, 21 insertions, 0 deletions
diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 13b59c38b..eb92cdda1 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -31,6 +31,7 @@ jobs: sudo apt-get install --no-install-recommends -y bison build-essential + ccache check clang flex @@ -46,6 +47,12 @@ jobs: pkg-config 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 env: CC: ${{ matrix.compiler.CC }} diff --git a/.github/workflows/monkey-test.yaml b/.github/workflows/monkey-test.yaml index 421bf3b50..e95c9796f 100644 --- a/.github/workflows/monkey-test.yaml +++ b/.github/workflows/monkey-test.yaml @@ -23,6 +23,7 @@ jobs: sudo apt-get install --no-install-recommends -y bison build-essential + ccache check clang flex @@ -38,6 +39,12 @@ jobs: pkg-config 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 run: | export TARGET_WORKSPACE="$(pwd)/projects" diff --git a/.github/workflows/static-analysis.yaml b/.github/workflows/static-analysis.yaml index 5027d0510..8604761fe 100644 --- a/.github/workflows/static-analysis.yaml +++ b/.github/workflows/static-analysis.yaml @@ -23,6 +23,7 @@ jobs: sudo apt-get install --no-install-recommends -y bison build-essential + ccache flex git gperf @@ -34,6 +35,12 @@ jobs: librsvg2-dev pkg-config + - name: ccache + uses: hendrikmuhs/ccache-action@v1.2 + with: + key: ${{ github.job }} + max-size: 128M + - name: Build and install project libs run: | export TARGET_WORKSPACE="$(pwd)/projects" |