aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSaturneric <[email protected]>2022-01-14 17:30:57 +0000
committerSaturneric <[email protected]>2022-01-14 17:30:57 +0000
commit45cdf74eaa72fffeb33bfd38ca1e02315fa9c367 (patch)
treee89060ff70c78ac1cd2a971997c25a3bb59eddc8
parent<fix>(git): Fix the url problem of .gitmodules (diff)
downloadGpgFrontend-45cdf74eaa72fffeb33bfd38ca1e02315fa9c367.tar.gz
GpgFrontend-45cdf74eaa72fffeb33bfd38ca1e02315fa9c367.zip
<refactor>(ci): All use Ninja when building.
Diffstat (limited to '')
-rw-r--r--.github/workflows/debug.yml4
-rw-r--r--.github/workflows/release.yml2
2 files changed, 3 insertions, 3 deletions
diff --git a/.github/workflows/debug.yml b/.github/workflows/debug.yml
index d91fe185..28ed97a0 100644
--- a/.github/workflows/debug.yml
+++ b/.github/workflows/debug.yml
@@ -96,14 +96,14 @@ jobs:
- 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 -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
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/[email protected]
+ 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/[email protected]
cmake --build ${{github.workspace}}/build --config {{$env.BUILD_TYPE}} -- -v
if: matrix.os == 'macos-10.15'
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 400b62de..1b70b808 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -152,7 +152,7 @@ jobs:
run: |
cd $(echo "/${{github.workspace}}" | sed 's/\\/\//g' | sed 's/://')
mkdir build && cd build
- cmake -G "MinGW Makefiles" -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DGPGFRONTEND_BUILD_TYPE_STABLE=ON ..
+ cmake -G "Ninja" -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DGPGFRONTEND_BUILD_TYPE_STABLE=ON ..
# Build your program with the given configuration
cmake --build . --config ${{env.BUILD_TYPE}} -- -j 2
if: matrix.os == 'windows-latest'