Skip to content

Commit ca607fa

Browse files
committed
Try installing wix, oui and running oui
1 parent 496d77f commit ca607fa

2 files changed

Lines changed: 20 additions & 1 deletion

File tree

.github/workflows/build.yaml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,11 +168,21 @@ jobs:
168168
- name: Install dependencies
169169
if: steps.wincache.outputs.cache-hit
170170
run: opam install --deps-only --with-test --depext-only --with-doc -y . && opam upgrade
171-
172171
# Just to test caching
173172
- name: Try building
174173
run: opam exec -- dune build --ignore-promoted-rules
175174

175+
- name: Install WiX 6 (required by OUI for Windows MSI)
176+
shell: pwsh
177+
run: |
178+
dotnet tool install --global wix --version 6.0.2
179+
180+
- name: install oui
181+
run: opam install oui
182+
183+
- name: run installer
184+
run: mkdir -p bundle/bin/slipshow/ && cp _build/install/bin/slipshow* bundle/bin && oui build oui.json bundle
185+
176186
release:
177187
if: startsWith(github.ref, 'refs/tags/')
178188
needs: [linux-build, mac-build]

oui.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"name": "slipshow",
3+
"fullname": "slipshow.org",
4+
"version": "0.0.1",
5+
"wix_description": "TODO slipshow.",
6+
"wix_manufacturer": "peada@free.fr",
7+
"exec_files": ["bin/slipshow"],
8+
"unique_id": "slipshow"
9+
}

0 commit comments

Comments
 (0)