summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorDenis Shienkov <denis.shienkov@gmail.com>2021-03-29 18:15:17 +0300
committerDenis Shienkov <denis.shienkov@gmail.com>2021-04-23 14:55:38 +0000
commit2f6eecdc96fcd693cecef8011d8f9500c7872fc7 (patch)
tree8bed88e65e4b3fd8c415c3beba3afd226c7d6481 /.github
parent2f34e637828f7e519a25a498bd5aa4e8f955217d (diff)
downloadqbs-2f6eecdc96fcd693cecef8011d8f9500c7872fc7.tar.gz
codesign: Long live `signtool` signing on Windows
Change-Id: I320cd1a1f3d8a1eed11d1c70007214f19a109b6e Reviewed-by: Christian Kandeler <christian.kandeler@qt.io> Reviewed-by: Ivan Komissarov <ABBAPOH@gmail.com>
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/main.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 29f737a1e..953f19949 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -625,6 +625,12 @@ jobs:
qbs config defaultProfile qt
qbs config --list
shell: bash
+ - name: Setup self-signed certificate
+ run: |
+ New-SelfSignedCertificate -DnsName qbs@community.test -Type CodeSigning -CertStoreLocation cert:\CurrentUser\My
+ Export-Certificate -Cert (Get-ChildItem Cert:\CurrentUser\My -CodeSigningCert)[0] -FilePath qbs-code-signing.crt
+ Import-Certificate -FilePath .\qbs-code-signing.crt -CertStoreLocation Cert:\CurrentUser\TrustedPublisher
+ shell: powershell
- name: Run Tests
run: ${{ matrix.config.script }} ./release/install-root/bin
shell: bash