test signing directly (using specific signtool bin)
This commit is contained in:
parent
ba777260cf
commit
bb1bd3a705
|
@ -34,12 +34,6 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
pip3 install meson pytest requests distro paramiko
|
pip3 install meson pytest requests distro paramiko
|
||||||
pip3 install --no-deps $GITHUB_WORKSPACE
|
pip3 install --no-deps $GITHUB_WORKSPACE
|
||||||
- name: Install QT
|
|
||||||
uses: jurplel/install-qt-action@v4
|
|
||||||
with:
|
|
||||||
version: 5.15.2
|
|
||||||
modules: "qtwebengine"
|
|
||||||
setup-python: false
|
|
||||||
- name: Setup MSVC compiler
|
- name: Setup MSVC compiler
|
||||||
uses: bus1/cabuild/action/msdevshell@v1
|
uses: bus1/cabuild/action/msdevshell@v1
|
||||||
with:
|
with:
|
||||||
|
@ -81,27 +75,33 @@ jobs:
|
||||||
$Thumbprint = $CodeSigningCert.Thumbprint
|
$Thumbprint = $CodeSigningCert.Thumbprint
|
||||||
echo "SIGNTOOL_THUMBPRINT=$Thumbprint" >> $env:GITHUB_ENV
|
echo "SIGNTOOL_THUMBPRINT=$Thumbprint" >> $env:GITHUB_ENV
|
||||||
|
|
||||||
- name: Ensure base deps
|
- name: download sample exe
|
||||||
run: |
|
run: |
|
||||||
python .github\\scripts\\ensure_base_deps.py
|
Invoke-WebRequest -OutFile kiwix-tools.zip "https://mirror.download.kiwix.org/nightly/2024-08-29/kiwix-tools_win-i686-2024-08-29.zip"
|
||||||
|
Expand-Archive -Force kiwix-tools.zip
|
||||||
|
|
||||||
|
- name: test signing exe
|
||||||
|
shell: python
|
||||||
env:
|
env:
|
||||||
SSH_KEY: ${{ runner.temp }}/id_rsa
|
SIGNTOOL_PATH: "C:/Program Files (x86)/Windows Kits/10/bin/10.0.22621.0/x86/signtool.exe"
|
||||||
- name: Compile all deps
|
|
||||||
run: |
|
run: |
|
||||||
python .github\\scripts\\compile_all_deps.py
|
import os
|
||||||
env:
|
import subprocess
|
||||||
SSH_KEY: ${{ runner.temp }}/id_rsa
|
command = [
|
||||||
- name: Build projects
|
os.environ["SIGNTOOL_PATH"],
|
||||||
run: |
|
"sign",
|
||||||
python .github\\scripts\\build_projects.py
|
"/fd",
|
||||||
env:
|
"sha256",
|
||||||
SSH_KEY: ${{ runner.temp }}/id_rsa
|
"/tr",
|
||||||
- name: Upload failure logs
|
"http://ts.ssl.com",
|
||||||
if: failure()
|
"/td",
|
||||||
run: |
|
"sha256",
|
||||||
python .github\\scripts\\upload_failure_logs.py
|
"/sha1",
|
||||||
env:
|
os.environ["SIGNTOOL_THUMBPRINT"],
|
||||||
SSH_KEY: ${{ runner.temp }}/id_rsa
|
"kiwix-tools\\kiwix-serve.exe",
|
||||||
|
]
|
||||||
|
subprocess.run(command, check=True)
|
||||||
|
|
||||||
|
|
||||||
Linux:
|
Linux:
|
||||||
strategy:
|
strategy:
|
||||||
|
|
Loading…
Reference in New Issue