capsule icon indicating copy to clipboard operation
capsule copied to clipboard

Windows release

Open gedw99 opened this issue 3 years ago • 5 comments

Is it possible to turn on Windows builds at https://github.com/bots-garden/capsule/blob/main/.github/workflows/release.yml#L15

Tinygo works on windows so should be ok:

https://tinygo.org/getting-started/install/windows/

gedw99 avatar Feb 19 '23 19:02 gedw99

I will test with the next version of Capsule

  • [ ] Find a VM with Windows

Right now I removed the Release GitHub action, and do it manually

k33g avatar Apr 29 '23 10:04 k33g

You can just turn it on in GitHub CI and run tests there. I do it this at with golang projects.

Makefiles run just fine on Mac, windows and Linux inside GitHub Workflows.

I define a “test” makefile target and it runs off the build.

So same makefile you use on your laptop runs in CI too .

If you want an example I can point you to one of mine.

gedw99 avatar May 30 '23 08:05 gedw99

You can even build pkg and msi installers this way. All from make file

gedw99 avatar May 30 '23 08:05 gedw99

I need to test it on a real Windows computer because I think I am using specific linux/darwin features that do not exist on Windows

k33g avatar May 30 '23 16:05 k33g

I need to test it on a real Windows computer because I think I am using specific linux/darwin features that do not exist on Windows

fair enough - i guess CI is not enough to fix . like coding blind i guess. hetzner robot can spin up your own windows box fast btw. also linux of coure. https://github.com/floshodan/hrobot-go https://medium.com/codex/how-to-install-a-windows-os-for-free-on-a-hetzner-virtual-machine-1f26c8fd4b9e

If you want help with what i mentioned just let me know.

gedw99 avatar May 30 '23 16:05 gedw99