Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows release #224

Open
gedw99 opened this issue Feb 19, 2023 · 5 comments
Open

Windows release #224

gedw99 opened this issue Feb 19, 2023 · 5 comments

Comments

@gedw99
Copy link

gedw99 commented Feb 19, 2023

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/

@k33g
Copy link
Contributor

k33g commented Apr 29, 2023

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

@gedw99
Copy link
Author

gedw99 commented May 30, 2023

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
Copy link
Author

gedw99 commented May 30, 2023

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

@k33g
Copy link
Contributor

k33g commented May 30, 2023

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

@gedw99
Copy link
Author

gedw99 commented May 30, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants