1
0

feat(ci): remove OPENSSL_ROOT_DIR in cmake config

This commit is contained in:
Saturneric 2022-05-13 01:16:16 +08:00
parent 27e1e59cec
commit 903f75303a
2 changed files with 2 additions and 2 deletions

View File

@ -137,7 +137,7 @@ jobs:
- name: Build GpgFrontend (macOS) - name: Build GpgFrontend (macOS)
# Build your GpgFrontend with the given configuration # Build your GpgFrontend with the given configuration
run: | run: |
cmake -G Ninja -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DGPGFRONTEND_BUILD_TYPE_TEST_UI=ON -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl@1.1 cmake -G Ninja -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DGPGFRONTEND_BUILD_TYPE_TEST_UI=ON
cmake --build ${{github.workspace}}/build --config {{$env.BUILD_TYPE}} -- -v cmake --build ${{github.workspace}}/build --config {{$env.BUILD_TYPE}} -- -v
if: matrix.os == 'macos-10.15' if: matrix.os == 'macos-10.15'

View File

@ -143,7 +143,7 @@ jobs:
- name: Build GpgFrontend (macOS) - name: Build GpgFrontend (macOS)
# Build your GpgFrontend with the given configuration # Build your GpgFrontend with the given configuration
run: | run: |
cmake -B ${{github.workspace}}/build -G Ninja -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl@1.1 cmake -B ${{github.workspace}}/build -G Ninja -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
cmake --build ${{github.workspace}}/build --config {{$env.BUILD_TYPE}} -- -v cmake --build ${{github.workspace}}/build --config {{$env.BUILD_TYPE}} -- -v
if: matrix.os == 'macos-10.15' if: matrix.os == 'macos-10.15'