Skip to content

Commit

Permalink
Use tmpfs for ccache
Browse files Browse the repository at this point in the history
  • Loading branch information
yixinglu committed Dec 25, 2019
1 parent 8c47209 commit c989ce1
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ jobs:
- ubuntu1804
container:
image: vesoft/nebula-dev:${{ matrix.tag }}
options: --mount type=tmpfs,destination=/data/ccache,tmpfs-size=2147483648
steps:
- uses: actions/checkout@v1
with:
Expand All @@ -29,7 +30,7 @@ jobs:
with:
path: /data/ccache
key: ccache-gcc-${{ matrix.tag }}
restore-keys: |
restore-keys: |
ccache-gcc-
ccache-
- name: cmake
Expand Down Expand Up @@ -75,16 +76,16 @@ jobs:
- ubuntu1804
container:
image: vesoft/nebula-dev:${{ matrix.tag }}
options: --mount type=tmpfs,destination=/data/ccache,tmpfs-size=2147483648
steps:
- uses: actions/checkout@v1
with:
fetch-depth: 1
- name: Cache
uses: actions/cache@v1
- uses: actions/cache@v1
with:
path: /data/ccache
key: ccache-clang-${{ matrix.tag }}
restore-keys: |
restore-keys: |
ccache-clang-
ccache-
- name: cmake
Expand Down

0 comments on commit c989ce1

Please sign in to comment.