diff --git a/.github/workflows/build_all.yml b/.github/workflows/build_all.yml index 41fe9d2302..2bf01a0f65 100644 --- a/.github/workflows/build_all.yml +++ b/.github/workflows/build_all.yml @@ -114,7 +114,9 @@ jobs: name: ${{ github.sha }}-tests - uses: lukka/get-cmake@latest with: - cmakeVersion: "~3.28.0" # use most recent 3.28.x version + cmakeVersion: "~4.3.0" # use most recent 4.3.x version + useLocalCache: true # <--= Use the local cache (default is 'false'). + useCloudCache: true - name: Unpackage and Run Unit Tests timeout-minutes: 20 run: | diff --git a/.github/workflows/build_deps.yml b/.github/workflows/build_deps.yml index 0e21091be4..b43e71e535 100644 --- a/.github/workflows/build_deps.yml +++ b/.github/workflows/build_deps.yml @@ -46,7 +46,9 @@ jobs: - uses: lukka/get-cmake@latest with: - cmakeVersion: "~3.28.0" # use most recent 3.28.x version + cmakeVersion: "~4.3.0" # use most recent 4.3.x version + useLocalCache: true # <--= Use the local cache (default is 'false'). + useCloudCache: true - name: setup dev on Windows if: inputs.os == 'windows-latest' diff --git a/.github/workflows/build_orca.yml b/.github/workflows/build_orca.yml index 3cc89d30a7..ac85a0805b 100644 --- a/.github/workflows/build_orca.yml +++ b/.github/workflows/build_orca.yml @@ -44,8 +44,10 @@ jobs: - uses: lukka/get-cmake@latest with: - cmakeVersion: "~3.28.0" # use most recent 3.28.x version - + cmakeVersion: "~4.3.0" # use most recent 4.3.x version + useLocalCache: true # <--= Use the local cache (default is 'false'). + useCloudCache: true + - name: Get the version and date on Ubuntu and macOS if: inputs.os != 'windows-latest' run: | diff --git a/deps/OCCT/OCCT.cmake b/deps/OCCT/OCCT.cmake index 98c6efc98d..b4cd9facd2 100644 --- a/deps/OCCT/OCCT.cmake +++ b/deps/OCCT/OCCT.cmake @@ -16,6 +16,7 @@ orcaslicer_add_cmake_project(OCCT #DEPENDS dep_Boost DEPENDS ${FREETYPE_PKG} CMAKE_ARGS + -DCMAKE_CXX_STANDARD=17 -DBUILD_LIBRARY_TYPE=${library_build_type} -DUSE_TK=OFF -DUSE_TBB=OFF