Skip to content

Commit

Permalink
Windows: Enable MSI signing via Signpath CI integration (OpenSC#2799)
Browse files Browse the repository at this point in the history
* win: set up release signing with signpath.io

* AppVeyor: fixed file path for debug symbols

* switch to release signing

fixes OpenSC#2396
  • Loading branch information
frankmorgner committed Feb 13, 2024
1 parent 6b6ec3d commit d01ee3d
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,18 +107,22 @@ build_script:
# put all pdb files for dump analysis, but this consumes approx 100 MB per build
- md %ARTIFACT%-Debug
- ps: >-
Get-ChildItem -recurse C:\projects\OpenSC -exclude vc*.pdb *.pdb | % {
Get-ChildItem -recurse ${env:APPVEYOR_BUILD_FOLDER} -exclude vc*.pdb *.pdb | % {
7z a -tzip ${env:ARTIFACT}-Debug.zip $_.FullName
}
- appveyor PushArtifact %ARTIFACT%.msi
- appveyor PushArtifact %ARTIFACT%-Debug.zip

deploy_script:
# keep in sync with .travis.yml
- bash -c "git config --global user.email '[email protected]'"
- bash -c "git config --global user.name 'AppVeyor'"
- bash -c "if [ \"$DO_PUSH_ARTIFACT\" = yes -a -z \"$APPVEYOR_PULL_REQUEST_NUMBER\" -a \"$APPVEYOR_REPO_NAME\" = \"OpenSC/OpenSC\" ]; then .github/push_artifacts.sh \"AppVeyor build ${APPVEYOR_BUILD_NUMBER}.${APPVEYOR_JOB_NUMBER}\"; fi"

deploy:
- provider: Webhook
url: https://app.signpath.io/API/v1/8d2463fe-39bd-4a41-bb72-f008b4b1fe17/Integrations/AppVeyor?ProjectSlug=OpenSC&SigningPolicySlug=release-signing&ArtifactConfigurationSlug=initial
authorization:
secure: 73Qvk9MbD7M7ZcoO6NnSH7zDA+9wSKZqNc602b1UeA5v6GsDyEvpCOlzJ9VvBcUuePTKBRsZ+uGQYKsddABgQA==

cache:
- C:\zlib -> .appveyor.yml
- C:\zlib-Win32 -> .appveyor.yml
Expand Down

0 comments on commit d01ee3d

Please sign in to comment.