Add macOS code-signing

This commit is contained in:
Jonas Kvinge
2023-09-24 01:50:58 +02:00
parent 42f3340190
commit 28d5cd481b
2 changed files with 13 additions and 14 deletions

View File

@@ -820,14 +820,14 @@ jobs:
-S .
-B build
-DCMAKE_BUILD_TYPE="${{env.cmake_buildtype}}"
-DCMAKE_PREFIX_PATH="${{env.prefix_path}}/lib/cmake"
-DBUILD_WITH_QT6=ON
-DBUILD_WERROR=OFF
-DUSE_BUNDLE=ON
-DCMAKE_PREFIX_PATH="${{env.prefix_path}}/lib/cmake"
-DENABLE_DBUS=OFF
-DPROTOBUF_INCLUDE_DIRS="${{env.prefix_path}}/include"
-DICU_ROOT="${{env.prefix_path}}"
-DFFTW3_DIR="${{env.prefix_path}}"
-DCREATEDMG_SKIP_JENKINS=$(test "${{matrix.runner}}" = "macos-11" && echo "ON" || echo "OFF")
- name: Build
run: cmake --build build --config Release --parallel 4
@@ -855,15 +855,9 @@ jobs:
run: make deploycheck
- name: Create DMG
if: matrix.runner != 'macos-arm64'
working-directory: build
run: make dmg
- name: Create DMG
if: matrix.runner == 'macos-arm64'
working-directory: build
run: make dmg2
- name: SSH key setup
if: matrix.runner == 'macos-11' && (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/ci' || github.ref == 'refs/heads/macos')
uses: shimataro/ssh-key-action@v2