GitHub: add workflow to provide an openocd snapshot binaries for win32
authorTarek BOCHKATI <tarek.bouchkati@gmail.com>
Tue, 2 Jun 2020 21:03:18 +0000 (22:03 +0100)
committerAntonio Borneo <borneo.antonio@gmail.com>
Sun, 20 Sep 2020 13:34:48 +0000 (14:34 +0100)
commitc20f65b63202bcf2735dbf1e8085fa978b6104c5
treeca776912f0a1a8461a133aaa197de663d35acfec
parent3934483429b77525f25922787933fb7ee3e73a0f
GitHub: add workflow to provide an openocd snapshot binaries for win32

This change could be used within OpenOCD GitHub forks.

Once workflow actions are enabled in the GitHub project, this workflow
will be run automatically on each push into OpenOCD.

This workflow will provide a neutral build of openocd for win32, then
the package will be available for download in Actions section.
Note: the artifact will be deleted after 90 day (actual GitHub rules)

If the push is a tag, the generated package will be uploaded to release
pane under the corresponding release, and it will resides forever.

The built openocd enables libusb1, hidapi and libftdi adapters,
and could be extended to cover more adapters and Oses

PS: ./contrib/cross-build.sh updated to build libftdi from source like
libusb1 and hidapi.

Change-Id: I290c8aa14a12548e2dcb6a0eee456430ea44ab9f
Signed-off-by: Tarek BOCHKATI <tarek.bouchkati@gmail.com>
Reviewed-on: http://openocd.zylin.com/5594
Tested-by: jenkins
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
.github/workflows/snapshot.yml [new file with mode: 0644]
contrib/cross-build.sh