Commit Graph

9 Commits

Author SHA1 Message Date
Tim Newsome 92dd9eed71
Preserve artifact of Linux build, too. (#828)
* Preserve artifact of Linux build, too.

That can be handy to e-mail to people who don't have a build setup.

Change-Id: I7b7e2d6f0033edf71f53211168f74b80ada64b97
Signed-off-by: Tim Newsome <tim@sifive.com>

* workflow: Run Linux build on Ubuntu 20.04, which is LTS.

This makes the binaries more useful.

Change-Id: I0cf6df68f03c4161222baa222c466fe0004ea769
Signed-off-by: Tim Newsome <tim@sifive.com>

* Use checkoutv3

Co-authored-by: Jan Matyas <50193733+JanMatCodasip@users.noreply.github.com>
Signed-off-by: Tim Newsome <tim@sifive.com>

---------

Signed-off-by: Tim Newsome <tim@sifive.com>
Co-authored-by: Jan Matyas <50193733+JanMatCodasip@users.noreply.github.com>
2023-04-12 08:41:47 -07:00
mrv96 f61098c225 Rename ftdi_oscan1 to ftdi_cjtag 2022-10-05 10:16:53 -07:00
Jan Matyas f732956b03
Fix & improvements in Linux Build workflow (#686)
* Fix of Linux Build workflow: add missing apt-get update

Change-Id: I69cd1693b2ad5405574affe5b85e5c4c9c76e278
Signed-off-by: Jan Matyas <matyas@codasip.com>

* Minor improvements in Linux Build workflow

- Use parallel build (use -j for make)
- Check that the resulting OpenOCD executable can actually be launched (call openocd --version)

Change-Id: I6b8c56688a39cae436986954fbd517082dc8160d
Signed-off-by: Jan Matyas <matyas@codasip.com>
2022-03-17 10:01:34 -07:00
Tim Newsome f3c69c7292 Don't use oscan1 on 32-bit build.
It requires libusb, and I'm not off-hand seeing a 32-bit libusb to link
with.

Change-Id: Ib676982b9c17369326ffc63eab5ef895add48569
Signed-off-by: Tim Newsome <tim@sifive.com>
2021-12-13 13:36:06 -08:00
Tim Newsome deab0f4638 Also install the library itself.
Change-Id: I86579f6f5abeecf6b85ccbc6c736cc7aa0922a16
Signed-off-by: Tim Newsome <tim@sifive.com>
2021-12-13 13:32:22 -08:00
Tim Newsome 26c9e64d3d Install libusb
Change-Id: I711c814ff3c9d4fada58aac530e406df662024a4
Signed-off-by: Tim Newsome <tim@sifive.com>
2021-12-13 13:28:53 -08:00
Tim Newsome 8599254e29 --enable-ftdi-oscan1 in Linux build.
Change-Id: I531cd283a1020d94eaeee36e81140c8c4801c69e
Signed-off-by: Tim Newsome <tim@sifive.com>
2021-12-13 13:25:09 -08:00
Tim Newsome 9aa8bab63f
Perform these actions on pull requests, not push. (#636)
Otherwise they don't happen if somebody makes a PR from a different
fork.

Change-Id: Ic09eb8a556e2dfbc0900e3df9f07cf7aff3d5309
Signed-off-by: Tim Newsome <tim@sifive.com>
2021-07-27 11:13:30 -07:00
Tim Newsome f30837f04c
Use github actions for automated builds (#627)
* Copy snapshot workflow from mainline.

Travis died. We need something that checks OpenOCD builds.

Change-Id: I7c018caaa3a13884fc526733271697bc90edc891
Signed-off-by: Tim Newsome <tim@sifive.com>

* Run checkpatch like we used to do with travis.

Nervous about this because upstream often messes things up.

Change-Id: I0ca0229ea2bd4422d7ffe4800e8861acc716cf56
Signed-off-by: Tim Newsome <tim@sifive.com>

* Fetch more, install filterdiff.

Change-Id: I8cca61c5adc91b845619f2cc89accbb5217ce73a
Signed-off-by: Tim Newsome <tim@sifive.com>

* It's patchutils, not filterdiff.

Change-Id: I2afe78bc4153462283a61571e15ee147f9f20b10
Signed-off-by: Tim Newsome <tim@sifive.com>

* Fetch more revisions.

Change-Id: Ieb5269494721f7b78d93d67c502203f1b1fbbba7
Signed-off-by: Tim Newsome <tim@sifive.com>

* gnulib no longer exists.

Change-Id: I97fc797c99f19f6b504952f7cb9c7072181c1e72
Signed-off-by: Tim Newsome <tim@sifive.com>

* Working on Linux build.

Change-Id: I6b70fbf5bd2dbb5f1540d0d929310b29b312566e
Signed-off-by: Tim Newsome <tim@sifive.com>

* Don't actually publish any artifacts.

Change-Id: Ic363744e0530288f3f78268d1becfbfb6b47b505
Signed-off-by: Tim Newsome <tim@sifive.com>

* Add 32-bit build?

Change-Id: I44866e0da539db7b8e3bd0536d305bee0595a301
Signed-off-by: Tim Newsome <tim@sifive.com>

* Fix environment.

Change-Id: I19c3ef2cc886350db243a07185d2441ca9328dfa
Signed-off-by: Tim Newsome <tim@sifive.com>

* Fix syntax error.

Change-Id: I80ba08d9929d4c2f0e57b393b6b53462202f5bce
Signed-off-by: Tim Newsome <tim@sifive.com>

* More syntax error.

Change-Id: I24c5270683626b7007f9c100f1a36c9fa28a3405
Signed-off-by: Tim Newsome <tim@sifive.com>

* Shooting in the dark trying to fix problem.

Change-Id: Iecb3dc67ec6a0b932167b65dd0a5b82da9a1518f
Signed-off-by: Tim Newsome <tim@sifive.com>

* More syntax fixing.

Change-Id: I01f014f38e742b9a6c0d7c2e5b31058536572506
Signed-off-by: Tim Newsome <tim@sifive.com>

* Install clang.

Signed-off-by: Tim Newsome <tim@sifive.com>
Change-Id: I1d6828554ade149f7319f0797238a4e23f073a25

* Store config.log

Change-Id: I8275341de2c042ef32c6d57687c420b6dc53c8ab
Signed-off-by: Tim Newsome <tim@sifive.com>

* Install gcc-multilib

Change-Id: I08f233f58f3a4cbc89ae5dd0314d99319bf5724c
Signed-off-by: Tim Newsome <tim@sifive.com>

* Check final executable.

Intentionally supposed to fail.

Change-Id: I003dba85e766e3cf3ef4d6925d96f5b09a9fe80f
Signed-off-by: Tim Newsome <tim@sifive.com>

* All done!

Change-Id: I37ed2142082fdbce01157e0989c4e2122229abb7
Signed-off-by: Tim Newsome <tim@sifive.com>
2021-07-12 11:21:46 -07:00