Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-14880

[C++][CI] Enable ccache on macOS CI builds

    XMLWordPrintableJSON

Details

    Description

      We could install and enable ccache on macOS Github Actions jobs. It would probably speed up a lot of builds.

      Apparently ccache is available on Homebrew. Here is an example using it:
      https://github.com/azerothcore/azerothcore-wotlk/blob/master/.github/workflows/macos_build.yml#L26-L33

            - name: Cache
              uses: actions/cache@v2
              with: 
                path: ~/Library/Caches/ccache
                key: ccache:${{ matrix.os }}:${{ github.ref }}:${{ github.sha }}
                restore-keys: |
                  ccache:${{ matrix.os }}:${{ github.ref }}
                  ccache:${{ matrix.os }}
      

      Attachments

        Issue Links

          Activity

            People

              yibocai Yibo Cai
              apitrou Antoine Pitrou
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h
                  1h