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

Add workflow for automaticly rendering Images #5

Merged
merged 5 commits into from
Apr 10, 2024

Conversation

linalinn
Copy link
Contributor

@linalinn linalinn commented Mar 24, 2024

Workflow for rendering PCB images with github actions

The workflow is defined in .github/workflows/images.yaml and an example is provides in the README.md of framework_input_controller (the images will show up after the first run of github actions is completed after the MR is merged)

.github/workflows/images.yaml

Contains an workflow with 2 jobs one for rendering the images using the ghcr.io/linalinn/kicad-render:nightly docker image and one for uploading the images to github pages.

The resulting images will be available under crimier.github.io/MyKiCad/<path_in_repo_to_kicad_pcb>_top.png or as crimier.github.io/MyKiCad/<path_in_repo_to_kicad_pcb>_bottom.png

e.g. rendering Laptop\ mods/framework_input_controller/framework_input_brkt.kicad_pcb results in Laptop\ mods/framework_input_controller/framework_input_brkt_top.png and Laptop\ mods/framework_input_controller/framework_input_brkt_bottom.png

currently 3D models form kicad-package3d are not rendered due to the official kicad image missing some configuration that happen when kicad is first started.

GitHub pages

Also it maybe need to configure github pages to use github actions for deployments see step 5

@CRImier CRImier merged commit aeab014 into CRImier:master Apr 10, 2024
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