Skip to content
Draft
Changes from 1 commit
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
716b9e0
Add Windows executable builds to the CI workflow.
coco-314 Mar 19, 2026
fb1dd7f
Using version 3 of action "setup-ocaml"
coco-314 Mar 19, 2026
155a79c
Removing cf deps to check if it allows installing deps on Windows
panglesd Mar 20, 2026
0028f01
Windows: Check if preprocessing is not working on Windows
panglesd Mar 20, 2026
0c7faa4
Test ci on windows
panglesd Apr 5, 2026
6a0e50d
More windows tests
panglesd Apr 5, 2026
226ef3f
backslashes not as escapes
panglesd Apr 5, 2026
bee2215
Changes to path separator handling for the various target OS of the CI
coco-314 Apr 8, 2026
22faaad
Fixes the creation of a folder in the CI Windows job
coco-314 Apr 8, 2026
67ec52c
For debug
coco-314 Apr 8, 2026
cb093ac
New try
coco-314 Apr 8, 2026
aed85ed
Windows distribution via a ZIP file
coco-314 Apr 9, 2026
f40b490
Using native PowerShell to create the ZIP archive
coco-314 Apr 9, 2026
7a7bf33
Test to see what is responsible for the windows CI problem
panglesd Apr 9, 2026
b1f52bf
Windows CI: Only install x86_64 packages
panglesd Apr 9, 2026
dd78b12
Test
panglesd Apr 9, 2026
f01e576
Debugging
coco-314 Apr 10, 2026
02d6010
fix debug
coco-314 Apr 10, 2026
0a2b1eb
dune install
coco-314 Apr 10, 2026
9e4192a
CI: Add a cache to windows CI
panglesd Apr 10, 2026
d12df1e
Copy missing dlls inti bundle
coco-314 Apr 12, 2026
5e2ccf2
Instal opensll and zlib
coco-314 Apr 23, 2026
d9734d6
Fix Build installable artifacts
coco-314 Apr 23, 2026
9393f67
Test ntldd
coco-314 Apr 23, 2026
94b3fb8
Copy dlls
coco-314 Apr 23, 2026
e11736f
Copy dlls
coco-314 Apr 24, 2026
98303a0
Try installer Oui
coco-314 Apr 24, 2026
e9cc780
Try Wix installation witrh dotnet
coco-314 Apr 24, 2026
61bbca2
Fix oui installation
coco-314 Apr 24, 2026
a5fd3a9
Use WIX
coco-314 Apr 24, 2026
7f1d3a6
Comment version getter
coco-314 Apr 25, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 44 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,50 @@ jobs:
name: archives-${{ matrix.config.os }}-${{ matrix.config.arch }}
path: new_release/*

windows-build:
strategy:
fail-fast: false
matrix:
config:
- { os: "windows-2022", arch: "x86_64", target: "x64" }
- { os: "windows-2022", arch: "x86", target: "x86" }
ocaml-compiler:
- 4.14.x
runs-on: ${{ matrix.config.os }}
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Fetch tags
run: git fetch --tags --force origin

- name: Install OCaml ${{ matrix.ocaml-compiler }}
uses: ocaml/setup-ocaml@v2

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The problem is probably that v2 is an old version that used to go through hoops to work on windows, and the hoops have been removed. While the version 3 uses the now better Windows support from opam.

Suggested change
uses: ocaml/setup-ocaml@v2
uses: ocaml/setup-ocaml@v3

with:
ocaml-compiler: ${{ matrix.ocaml-compiler }}
architecture: ${{ matrix.config.target }}

- name: Install dependencies
run: opam install --deps-only --with-test --with-doc -y .

- name: Build release
run: |
mkdir -p new_release
$env:OUTPUT = "$PWD\new_release"
$env:TARGETOS = "windows"
$env:TARGETARCH = "${{ matrix.config.arch }}"
$env:VERSION = "$env:GITHUB_REF_NAME"
opam exec -- bash release/release.sh
shell: pwsh

- name: Upload archives
uses: actions/upload-artifact@v4
with:
name: archives-windows-${{ matrix.config.arch }}
path: new_release/*

release:
if: startsWith(github.ref, 'refs/tags/')
needs: [linux-build, mac-build]
Expand Down
Loading