@@ -29,74 +29,71 @@ jobs:
2929 TARGET : ${{matrix.cfg.target}}
3030 OPT : ${{matrix.cfg.opt}}
3131 steps :
32- - uses : actions/checkout@v3
33- - name : Cache compile
34- id : cache-compile
35- uses : actions/cache@v3
36- env :
37- cache-name : cache-keep-compile
38- with :
39- path : |
40- libs/openFrameworksCompiled/lib/osx/*.a
41- libs/openFrameworksCompiled/lib/osx/**/
42- addons/obj/osx/**/
43- scripts/templates/osx/build/**/
44-
45- key : ${{ runner.os }}-${{matrix.cfg.opt}}-${{ env.cache-name }}-${{ hashFiles('**/*.cpp') }}
46- restore-keys : |
47- ${{ runner.os }}-${{matrix.cfg.opt}}-${{ env.cache-name }}-
48-
32+ - uses : actions/checkout@v4
33+ # - name: Cache compile
34+ # id: cache-compile
35+ # uses: actions/cache@v3
36+ # env:
37+ # cache-name: cache-keep-compile
38+ # with:
39+ # path: |
40+ # libs/openFrameworksCompiled/lib/osx/**/
41+ # addons/obj/osx/**/
42+ #
43+ # # key: ${{ runner.os }}-${{matrix.cfg.opt}}-${{ env.cache-name }}-${{ hashFiles('**/*.cpp') }}
44+ # key: ${{ runner.os }}-${{matrix.cfg.opt}}-${{ env.cache-name }}-
45+ # restore-keys: |
46+ # ${{ runner.os }}-${{matrix.cfg.opt}}-${{ env.cache-name }}-
4947
50- - name : Cache libs
51- id : cache-libs
52- uses : actions/cache@v3
53- env :
54- cache-name : cache-install-libs
55- with :
56- path : |
57- libs/boost/**
58- libs/cairo/**
59- libs/curl/**
60- libs/fmod/**
61- libs/FreeImage/**
62- libs/freetype/**
63- libs/glew/**
64- libs/glfw/**
65- libs/glm/**
66- libs/json/**
67- libs/pugixml/**
68- libs/rtAudio/**
69- libs/tess2/**
70- libs/uriparser/**
71- libs/utf8/**
72- addons/ofxAssimpModelLoader/libs/**/
73- addons/ofxKinect/libs/**/
74- addons/ofxOpenCv/libs/**/
75- addons/ofxSvg/libs/**/
76- addons/ofxPoco/libs/**/
77-
78- key : ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('scripts/apothecary/apothecary/formulas/**/*.sh') }}
79- restore-keys : |
80- ${{ runner.os }}-build-${{ env.cache-name }}-
81- - if : ${{ steps.cache-libs.outputs.cache-hit != 'true' }}
82- # name: Download libs
48+ # - name: Cache libs
49+ # id: cache-libs
50+ # uses: actions/cache@v3
51+ # env:
52+ # cache-name: cache-install-libs
53+ # with:
54+ # path: |
55+ # libs/boost/**
56+ # libs/cairo/**
57+ # libs/curl/**
58+ # libs/fmod/**
59+ # libs/FreeImage/**
60+ # libs/freetype/**
61+ # libs/glew/**
62+ # libs/glfw/**
63+ # libs/glm/**
64+ # libs/json/**
65+ # libs/pugixml/**
66+ # libs/rtAudio/**
67+ # libs/tess2/**
68+ # libs/uriparser/**
69+ # libs/utf8/**
70+ # addons/ofxAssimpModelLoader/libs/**/
71+ # addons/ofxKinect/libs/**/
72+ # addons/ofxOpenCv/libs/**/
73+ # addons/ofxSvg/libs/**/
74+ # addons/ofxPoco/libs/**/
75+ #
76+ # key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('scripts/apothecary/apothecary/formulas/**/*.sh') }}
77+ # restore-keys: |
78+ # ${{ runner.os }}-build-${{ env.cache-name }}-
79+ # - if: ${{ steps.cache-libs.outputs.cache-hit != 'true' }}
80+ - name : Download libs
8381 # continue-on-error: true
8482 run : ./scripts/$TARGET/download_libs.sh
85- - name : rm-dev
86- run : sudo rm -rf /Library/Developer
83+ # - name: rm-dev
84+ # run: sudo rm -rf /Library/Developer
8785
8886 # this step is not needed here because the script is empty
8987 # - name: install
9088 # run: ./scripts/ci/$TARGET/install.sh
9189
9290 - name : Build
9391 run :
94- if [ "$TARGET" = "osx" ] && [ "$ OPT" = "xcode" ]; then
92+ if [ "$OPT" = "xcode" ]; then
9593 scripts/ci/$TARGET/build.sh $OPT;
9694 else
9795 scripts/ci/$TARGET/run_tests.sh;
9896 fi
9997 env :
100- DEVELOPER_DIR : " /Applications/Xcode_13.4.1.app/Contents/Developer"
101- SDKROOT : " /Applications/Xcode_13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk"
102-
98+ DEVELOPER_DIR : " /Applications/Xcode.app/Contents/Developer"
99+ SDKROOT : " /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk"
0 commit comments