diff options
author | Denis Shienkov <denis.shienkov@gmail.com> | 2021-03-29 18:15:17 +0300 |
---|---|---|
committer | Denis Shienkov <denis.shienkov@gmail.com> | 2021-04-23 14:55:38 +0000 |
commit | 2f6eecdc96fcd693cecef8011d8f9500c7872fc7 (patch) | |
tree | 8bed88e65e4b3fd8c415c3beba3afd226c7d6481 /.github | |
parent | 2f34e637828f7e519a25a498bd5aa4e8f955217d (diff) | |
download | qbs-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.yml | 6 |
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 |