src/swipl-devel/doc/WindowsInstaller.md

Build Windows installer using GitHub Actions

The workflow .github/workflows/release-windows.yml cross-builds the Windows installer in the swipl-mingw-build container and has the result Authenticode-signed by SignPath, which we use under their free plan for open source projects.

Automated

Push a release tag (V*)

By hand

gh workflow run release-windows.yml -f ref=master
gh run watch
gh run download -n swipl-<version>-1.x64.exe

Downloads swipl-<version>-1.x64.exe{,sha256}. The run also leaves an artifact unsigned-installer, which is what was submitted for signing; a bare gh run download fetches both.

Signing

Signing is part of the run: the installer is uploaded as the unsigned-installer artifact, a signing request is submitted, and the job blocks until SignPath returns the signed file. Should the policy require an approver, do so at https://app.signpath.io; the job waits up to five hours. The organisation, project and policy are spelled out in the workflow.

Verify the download on Linux with

osslsigncode verify swipl-<version>-1.x64.exe

and on Windows with Get-AuthenticodeSignature or the Digital Signatures tab of the file properties.

One-time setup

Testing changes to the workflow

Signing only happens from a branch the signing policy accepts. Dispatch the workflow definition from that branch, choosing separately which sources it builds:

gh workflow run release-windows.yml --ref <branch> -f ref=master

Nothing is published to a GitHub release unless the run was triggered by a V* tag.



Try the rswipl package in your browser

Any scripts or data that you put into this service are public.

rswipl documentation built on Sept. 26, 2026, 1:07 a.m.