Skip to content

Commit 0e3fd08

Browse files
authored
Github Actions - macOS cache updates test (#7770)
1 parent 6869e2f commit 0e3fd08

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/build-macos.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,20 +29,19 @@ jobs:
2929
TARGET: ${{matrix.cfg.target}}
3030
OPT: ${{matrix.cfg.opt}}
3131
steps:
32-
- uses: actions/checkout@v3
32+
- uses: actions/checkout@v4
3333
- name: Cache compile
3434
id: cache-compile
3535
uses: actions/cache@v3
3636
env:
3737
cache-name: cache-keep-compile
3838
with:
3939
path: |
40-
libs/openFrameworksCompiled/lib/osx/*.a
4140
libs/openFrameworksCompiled/lib/osx/**/
4241
addons/obj/osx/**/
43-
scripts/templates/osx/build/**/
4442
45-
key: ${{ runner.os }}-${{matrix.cfg.opt}}-${{ env.cache-name }}-${{ hashFiles('**/*.cpp') }}
43+
# key: ${{ runner.os }}-${{matrix.cfg.opt}}-${{ env.cache-name }}-${{ hashFiles('**/*.cpp') }}
44+
key: ${{ runner.os }}-${{matrix.cfg.opt}}-${{ env.cache-name }}-
4645
restore-keys: |
4746
${{ runner.os }}-${{matrix.cfg.opt}}-${{ env.cache-name }}-
4847
@@ -91,7 +90,7 @@ jobs:
9190

9291
- name: Build
9392
run:
94-
if [ "$TARGET" = "osx" ] && [ "$OPT" = "xcode" ]; then
93+
if [ "$OPT" = "xcode" ]; then
9594
scripts/ci/$TARGET/build.sh $OPT;
9695
else
9796
scripts/ci/$TARGET/run_tests.sh;

scripts/ci/osx/build.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,6 @@ set -ev
33
ROOT=${TRAVIS_BUILD_DIR:-"$( cd "$(dirname "$0")/../../.." ; pwd -P )"}
44
# source $ROOT/scripts/ci/ccache.sh
55
echo "**** Building oF + emptyExample - OSX Template Project ****"
6-
xcodebuild -arch x86_64 -configuration Release -target emptyExample -project "$ROOT/scripts/templates/osx/emptyExample.xcodeproj"
6+
# xcodebuild -arch x86_64 -configuration Release -target emptyExample -project "$ROOT/scripts/templates/osx/emptyExample.xcodeproj"
7+
xcodebuild -configuration Release -target emptyExample -project "$ROOT/scripts/templates/osx/emptyExample.xcodeproj"
78
echo "**** Done building emptyExample ****"

0 commit comments

Comments
 (0)