Commit Graph

10 Commits

Author SHA1 Message Date
Roland Hieber
165d4383f7 .github: upgrade actions to Node 16
Node 12 has been out of support since April 2022, and all actions using
it are being phased out, and produce build warnings [1][2]. Upgrade
actions/checkout to the newest version that uses the current Node
version.

[1]: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/
[2]: https://github.com/pengutronix/genimage/actions/runs/4540574366

Signed-off-by: Roland Hieber <rhi@pengutronix.de>
2023-03-28 10:03:30 +02:00
Roland Hieber
608fb9b937 .github: remove tests on deprecated ubuntu-18.04 image
ubuntu-18.04 was deprecated on 2022/08/08 and will be fully unsupported
on 2023/04/01 (in three days) [1]. Some builds [2] have already been
failing due to a scheduled brown-out.

[1]: https://github.com/actions/runner-images/issues/6002
[2]: https://github.com/pengutronix/genimage/actions/runs/4540574366

Signed-off-by: Roland Hieber <rhi@pengutronix.de>
2023-03-28 10:03:22 +02:00
Michael Olbrich
6bd884ab89 fix building without fallocate()
It is not available on BSD so add a configure check for it. We already have
fallback code in case fallocate() fails, so reuse that when it is missing.

Fixes: #202

Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
2022-12-16 11:40:00 +01:00
Michael Olbrich
c0224cafbf make Linux specific headers optional
This should make it possible to build genimage on *BSD.
Add a build test to fake having no linux/*.h headers.

Fixes: #202

Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
2022-11-11 16:04:33 +01:00
Michael Olbrich
c412d19819 .github: add ubuntu-22.04 with arm-trusted-firmware-tools for fiptool
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
2022-05-20 10:47:42 +02:00
Tomas Mudrunka
1c5457cacd Initial F2FS support
Signed-off-by: Tomas Mudrunka <tomas@mudrunka.cz>
2022-03-25 15:53:00 +01:00
Michael Olbrich
93d1f266aa .github: replace ubuntu-16.04 with ubuntu-18.04
It does not give as the same coverage. cramfsprogs is gone and libconfuse
it too new to test the !includepath case.

Still, the various tools have different versions so it's a good test to do
this anyways.

Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
2021-10-12 09:56:11 +02:00
Enrico Jorns
8014c7ee7e .github: run apt-get update to update package cache
Some repos may become unavailable or move, thus one should always run 'apt-get
update' prior to 'apt-get install'.

Signed-off-by: Enrico Jorns <ejo@pengutronix.de>
2021-02-24 15:07:31 +01:00
Michael Olbrich
48559c7ae9 .github: build on ubuntu-16.04 as well
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
2021-01-13 12:29:16 +01:00
Michael Olbrich
37670dbb17 .github: add workflow for testing
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
2021-01-13 11:43:08 +01:00