diff options
author | Saturneric <[email protected]> | 2022-01-13 00:36:50 +0000 |
---|---|---|
committer | Saturneric <[email protected]> | 2022-01-13 00:53:31 +0000 |
commit | 91b5e420bcded9c7c5e560ace405a0dd9590c7fa (patch) | |
tree | 399ef19efaaa6132fdbd58d0d3e83706bf835912 | |
parent | <chore>(project, resource, ci): fix ci of release-deb-package.yml and debug.yml (diff) | |
download | GpgFrontend-91b5e420bcded9c7c5e560ace405a0dd9590c7fa.tar.gz GpgFrontend-91b5e420bcded9c7c5e560ace405a0dd9590c7fa.zip |
<chore>(project, resource, ci): fix ci of debug.yml
1. Adjust the ci configuration file for macOS.
-rw-r--r-- | .github/workflows/debug.yml | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/.github/workflows/debug.yml b/.github/workflows/debug.yml index 051838d0..3cda75a2 100644 --- a/.github/workflows/debug.yml +++ b/.github/workflows/debug.yml @@ -56,7 +56,7 @@ jobs: - name: Install Dependence (macOS) run: | - brew install cmake git autoconf automake qt@5 gcc texinfo gettext gpgme openssl + brew install cmake git autoconf automake qt@5 gcc texinfo gettext gpgme [email protected] brew install boost libconfig gettext ninja brew unlink gettext && brew link --force gettext brew link qt@5 @@ -104,12 +104,19 @@ jobs: make install if: matrix.os == 'windows-latest' - - name: Build GpgFrontend + - name: Build GpgFrontend (Linux) # Build your GpgFrontend with the given configuration run: | cmake -B ${{github.workspace}}/build -G Ninja -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DGPGFRONTEND_BUILD_TYPE_TEST_UI=ON cmake --build ${{github.workspace}}/build --config {{$env.BUILD_TYPE}} -- -v - if: matrix.os == 'ubuntu-latest' || matrix.os == 'macos-10.15' + if: matrix.os == 'ubuntu-latest' + + - name: Build GpgFrontend (macOS) + # Build your GpgFrontend with the given configuration + run: | + cmake -B ${{github.workspace}}/build -G Ninja -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DGPGFRONTEND_BUILD_TYPE_TEST_UI=ON -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl + cmake --build ${{github.workspace}}/build --config {{$env.BUILD_TYPE}} -- -v + if: matrix.os == 'macos-10.15' - name: Configure CMake & Build Binary(Windows) shell: msys2 {0} |