QuickLogic-Corp / quicklogic-fpga-toolchain

Open Source FPGA toolchain and documentation for QuickLogic devices and eFPGA IP
https://quicklogic-quicklogic-fpga-toolchain.readthedocs-hosted.com/en/latest/index.html
Apache License 2.0
36 stars 8 forks source link

Github actions to build, test, and publish two docker images #25

Closed Thirsty2 closed 4 years ago

Thirsty2 commented 4 years ago

Github action workflow triggers on push and pull requests to build an image from source using the Dockerfile.

Dockerfile runs make all_quick_tests as part of build. Docker image creation succeeds only if tests pass.

If Docker image creation succeeds (tests pass) then the workflow pushes the image to github as a package.

A second github workflow triggers when a tag is pushed, and builds a docker image from the installer using Dockerfile.use-installer. If the build succeeds, the image is pushed to github as a package.

Either the docker image built from source or the docker image built from the installer may be pulled using standard docker pull commands as documented in the package's linked web page. A sample docker image build from source is available here: https://github.com/Thirsty2/quicklogic-fpga-toolchain/packages/398575

A sample image built from the installer is available here: https://github.com/Thirsty2/quicklogic-fpga-toolchain/packages/405215