[gimp-macos-build/wip/lukaso/tests] reinstate signing and notarizing



commit e8d423b24289c0204f45dea98ce30b0ac0c22683
Author: Lukas Oberhuber <lukaso gmail com>
Date:   Mon Oct 18 23:33:50 2021 +0100

    reinstate signing and notarizing

 .circleci/config.yml | 46 ++++++++++++++++++++--------------------------
 1 file changed, 20 insertions(+), 26 deletions(-)
---
diff --git a/.circleci/config.yml b/.circleci/config.yml
index 8263efa..9620ffd 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -134,38 +134,32 @@ jobs:
             paths:
               - ~/gtk
             key: gimp-2.10.22-v3a
-        # - run:
-        #     name: Importing signing certificate
-        #     command: |
-        #       mkdir ${HOME}/codesign && cd ${HOME}/codesign
-        #       echo "$osx_crt" | base64 -D > gnome.pfx
-        #       curl 'https://developer.apple.com/certificationauthority/AppleWWDRCA.cer' > apple.cer
-        #       security create-keychain -p "" signchain
-        #       security set-keychain-settings signchain
-        #       security unlock-keychain -u signchain
-        #       security list-keychains  -s "${HOME}/Library/Keychains/signchain-db" 
"${HOME}/Library/Keychains/login.keychain-db"
-        #       security import apple.cer -k signchain  -T /usr/bin/codesign
-        #       security import gnome.pfx  -k signchain -P "$osx_crt_pw" -T /usr/bin/codesign
-        #       security set-key-partition-list -S apple-tool:,apple: -k "" signchain
-        #       rm -rf ${HOME}/codesign
-        # - run:
-        #     name: pstree to figure out what app is running
-        #     command: |
-        #       /bin/bash -c "$(curl -fsSL 
https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
-        #       brew install pstree
-        #       pstree
+        - run:
+            name: Importing signing certificate
+            command: |
+              mkdir ${HOME}/codesign && cd ${HOME}/codesign
+              echo "$osx_crt" | base64 -D > gnome.pfx
+              curl 'https://developer.apple.com/certificationauthority/AppleWWDRCA.cer' > apple.cer
+              security create-keychain -p "" signchain
+              security set-keychain-settings signchain
+              security unlock-keychain -u signchain
+              security list-keychains  -s "${HOME}/Library/Keychains/signchain-db" 
"${HOME}/Library/Keychains/login.keychain-db"
+              security import apple.cer -k signchain  -T /usr/bin/codesign
+              security import gnome.pfx  -k signchain -P "$osx_crt_pw" -T /usr/bin/codesign
+              security set-key-partition-list -S apple-tool:,apple: -k "" signchain
+              rm -rf ${HOME}/codesign
         - run:
             name: Creating DMG package
             command: |
               source ~/.profile
               cd ${HOME}/project/package
               jhbuild run ./build299.sh
-        # - run:
-        #     name:  Notarizing DMG package
-        #     command: |
-        #       source ~/.profile
-        #       cd ${HOME}/project/package
-        #       jhbuild run ./notarize.sh
+        - run:
+            name:  Notarizing DMG package
+            command: |
+              source ~/.profile
+              cd ${HOME}/project/package
+              jhbuild run ./notarize.sh
         - store_artifacts:
             path: /tmp/artifacts
             destination: builds


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]