Skip to content

Fix/hardcode paths#46

Merged
pythops merged 3 commits intopythops:mainfrom
nand-nor:fix/hardcode-paths
Apr 29, 2025
Merged

Fix/hardcode paths#46
pythops merged 3 commits intopythops:mainfrom
nand-nor:fix/hardcode-paths

Conversation

@nand-nor
Copy link
Contributor

Possibly related to #5, I noticed that trying to build with the release flag on a freshly cloned repo fails, because the build path when loading ebpf programs is hard coded and assumes a debug build. This PR adds a simple fix to avoid hard coding paths by using an environment variable, set within the xtask build function, to define the path based on whether the release flag is passed or not. There is also a commit that modifies CI script to accommodate the fix

@pythops
Copy link
Owner

pythops commented Apr 29, 2025

Looks good just a simple fix for CI

@nand-nor
Copy link
Contributor Author

I dont see an option to re-run CI but assuming this is all that is needed to pass I'll squash once it all looks good

@pythops
Copy link
Owner

pythops commented Apr 29, 2025

you can use https://github.com/nektos/act to run the workflows locally, very nice tool for testing

@pythops
Copy link
Owner

pythops commented Apr 29, 2025

the other errors have nothing to do with your changes, I will fix them later

@pythops
Copy link
Owner

pythops commented Apr 29, 2025

Thanks again for your PR 🙏

@pythops pythops merged commit 8dd4e4a into pythops:main Apr 29, 2025
1 check failed
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

Successfully merging this pull request may close these issues.

2 participants