horizon-eda / horizon

Horizon is a free EDA package
https://horizon-eda.org/
GNU General Public License v3.0
1.08k stars 79 forks source link

add support for OpenBSD #747

Closed dl6tom closed 9 months ago

dl6tom commented 9 months ago

since OpenBSD has no API to get the path that was used to create the current process, the get_exe_dir() implementation makes use of argv[0] and the PATH environment variable.

carrotIndustries commented 9 months ago

Is there any CI service that supports OpenBSD so we can make sure that this code at least compiles?

dl6tom commented 9 months ago

i have it running here, so can assure you it build and runs. it seems sourcehut supports OpenBSD in their CI (https://man.sr.ht/builds.sr.ht/compatibility.md). i can take a look what it takes to set this up.

dl6tom commented 9 months ago

sourcehut has no free tier, so i setup a jenkins vm (is a bit underpowered though). it gets as far as it can w/o this commit: https://jenkins.0x90.space/job/horizon-eda/7/console still have to figure out how this would integrate with github.

carrotIndustries commented 9 months ago

I could set up a webhook for that purpose.

dl6tom commented 9 months ago

i think that would be https://jenkins.0x90.space/github-webhook/ then. not sure how to report the build status back to github.