[Scummvm-git-logs] scummvm master -> 0094487489f856217726cab882ed124ac17a860d

orgads orgads at gmail.com
Sun Jul 18 19:10:32 UTC 2021


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
0094487489 CI: Fix cache usage for macos and linux


Commit: 0094487489f856217726cab882ed124ac17a860d
    https://github.com/scummvm/scummvm/commit/0094487489f856217726cab882ed124ac17a860d
Author: Orgad Shaneh (orgads at gmail.com)
Date: 2021-07-18T22:10:15+03:00

Commit Message:
CI: Fix cache usage for macos and linux

Use https://github.com/mikehardy/buildcache-action for Xcode, and apply
ccache on linux.

Changed paths:
    .github/workflows/ci.yml


diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index f91e01a46a..d2740a26d1 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -109,6 +109,8 @@ jobs:
             buildFlags: -scheme ScummVM-iOS CODE_SIGN_IDENTITY="" CODE_SIGNING_ALLOWED=NO
             configFlags: --disable-nasm --disable-opengl --disable-theora --disable-taskbar --disable-tts --disable-fribidi
             packagesUrl: https://downloads.scummvm.org/frs/build/scummvm-ios7-libs-v2.zip
+    env:
+      BUILDCACHE_MAX_CACHE_SIZE: 2000000000
     steps:
       - name: Checkout
         uses: actions/checkout at v2
@@ -133,11 +135,9 @@ jobs:
         run: |
           ./devtools/create_project/xcode/build/Release/create_project . --xcode --enable-all-engines ${{ matrix.configflags }}
           ls
-      - name: ccache
-        uses: hendrikmuhs/ccache-action at v1
+      - uses: mikehardy/buildcache-action at v1
         with:
-          key: ${{ matrix.platform }}
-          max-size: 1G
+          cache_key: ${{ matrix.platform }}
       - name: Build scummvm
         run: |
           xcodebuild build -project scummvm.xcodeproj ${{ matrix.buildFlags }}
@@ -173,7 +173,7 @@ jobs:
           max-size: 1G
       - name: Call configure
         run: |
-          ./configure --enable-all-engines ${{ matrix.configflags }}
+          CXX='ccache g++' ./configure --enable-all-engines ${{ matrix.configflags }}
       - name: Build scummvm
         run: |
           make -j2




More information about the Scummvm-git-logs mailing list