File tree Expand file tree Collapse file tree 1 file changed +16
-4
lines changed
Expand file tree Collapse file tree 1 file changed +16
-4
lines changed Original file line number Diff line number Diff line change 77 BUILD_DIR : build
88 BUILD_NUMBER : ${{github.run_number}}
99 OPENSSL_ROOT_DIR : ${{ github.workspace }}/openssl-binary
10+ GTest_ROOT : ${{ github.workspace }}/gtest-binary
1011 QT_QPA_PLATFORM : offscreen
1112 MAKEFLAGS : -j3
12- MACOSX_DEPLOYMENT_TARGET : 10.15
13+ MACOSX_DEPLOYMENT_TARGET : 10.16
1314
1415jobs :
1516 build :
1617 runs-on : macos-latest
1718
1819 steps :
1920 - name : Checkout code
20- uses : actions/checkout@v3
21+ uses : actions/checkout@v4
2122 with :
2223 submodules : recursive
2324
25+ - name : Cache
26+ uses : actions/cache@v3
27+ id : cache
28+ with :
29+ path : |
30+ ${{ env.OPENSSL_ROOT_DIR }}
31+ ${{ env.GTest_ROOT }}
32+ key : ${{ runner.os }}-deps
33+
2434 - name : Build GTest
35+ if : steps.cache.outputs.cache-hit != 'true'
2536 run : |
2637 git clone --depth=1 https://github.com/google/googletest.git
27- cmake -DCMAKE_BUILD_TYPE=${BUILD_TYPE} -DCMAKE_OSX_ARCHITECTURES="arm64;x86_64" -DCMAKE_CXX_STANDARD=17 -S googletest -B gtest-build
38+ cmake -DCMAKE_BUILD_TYPE=${BUILD_TYPE} -DCMAKE_OSX_ARCHITECTURES="arm64;x86_64" -DCMAKE_INSTALL_PREFIX=${GTest_ROOT} - DCMAKE_CXX_STANDARD=17 -S googletest -B gtest-build
2839 cmake --build gtest-build --target install
2940
3041 - name : Build OpenSSL
42+ if : steps.cache.outputs.cache-hit != 'true'
3143 run : |
3244 git clone --depth=1 https://github.com/openssl/openssl.git -b openssl-3.0
3345 cd openssl
4860 - name : Install Qt
4961 uses : jurplel/install-qt-action@v3
5062 with :
51- version : 6.5.2
63+ version : 6.5.3
5264 arch : clang_64
5365
5466 - name : Configure
You can’t perform that action at this time.
0 commit comments