Richard Hughes
4199c694b1
Fix a CI failure for any distro using git >= 2.35.3
2022-04-23 08:27:34 +01:00
Mario Limonciello
d599c90da0
trivial: allow manually running the container generation workflow
2022-04-22 08:34:12 -05:00
Richard Hughes
f7e006c491
trivial: Remove now-fixed workaround for runc
2022-04-22 11:58:05 +01:00
Richard Hughes
103e4ed889
trivial: Make the language in the stale job more pathetic
2022-04-21 15:30:55 +01:00
Richard Hughes
8994baac4e
Port from LGTM to CodeQL
2022-04-05 14:45:42 +01:00
Richard Hughes
8a349e17af
Include macos-10.15 and macos-11 in CI builds
2022-03-22 14:57:08 +00:00
Richard Hughes
b43bf44e13
trivial: Fix FreeBSD CI build harder
2022-03-21 08:43:30 +00:00
Richard Hughes
92515d193a
Add coSWID and uSWID parsers to libfwupdplugin
...
These parse the structures as defined in:
* https://datatracker.ietf.org/doc/draft-ietf-sacm-coswid/
* https://github.com/hughsie/python-uswid
2022-03-15 14:37:02 +00:00
Mario Limonciello
661990ed98
Convert build system to use meson tristate features
...
tristate features will automatically disable if dependencies marked
as required are missing.
Packagers can manually override using `auto_features`.
Link: https://mesonbuild.com/Build-options.html#features
2022-02-28 08:34:48 -06:00
Mario Limonciello
438c30aa63
trivial: add a CI target for openbmc
...
We want a build that does -Dauto_features=disabled to make sure
it works properly.
2022-02-28 08:34:48 -06:00
Richard Hughes
fbc7ad1adb
trivial: Fix FreeBSD CI by pinning the macos version
2021-12-09 13:18:41 +00:00
Gabriel Kerneis
93aae762a6
Offer to run tests before pushing in contrib/setup
...
Also make clearer that the default choice is "no" for interactive
prompts.
2021-11-23 15:41:46 +01:00
Richard Hughes
9ef27052d5
altos: Remove support for the ChaosKey
...
The hardware is discontinued, and no further update from 1.6.7 was ever
supplied.
2021-11-15 15:17:38 +00:00
Mario Limonciello
e873cf7dd7
trivial: ci: try to fix "Resource not accessible by integration"
...
See https://github.com/actions/first-interaction/issues/10 for more
2021-11-03 09:56:46 -05:00
Mario Limonciello
f65a242b1a
Add a welcome message for any new contributors
2021-11-02 12:21:23 -05:00
Mario Limonciello
a38bab9a98
trivial: move freebsd CI to a nightly build
...
It currently has a timeout of 20 minutes but the job times out constantly.
This is wasting valuable CI minutes.
Move it to 30 minutes and only run it once a day.
2021-10-27 16:42:48 +01:00
Richard Hughes
7f5b0c0b60
Rename the development branch from master to main
...
Fixes https://github.com/fwupd/fwupd/issues/3799
2021-09-24 14:20:24 -05:00
Mario Limonciello
cc8eb5ca8c
trivial: Merge python steps from contrib/setup into helper script
...
This avoids having to hardcode profile targets in multiple places
and also fixes the confusing entry points into scripts both by
arguments and environment variables.
It also makes the setup script a lot more debuggable and scalable.
OS detection is a lot more robust, where it will try to use pip to
set up the distro python package, and if pip is missing try to install
it.
If OS detection fails now, a user can use --os on contrib/setup for
specifying it.
2021-09-17 10:59:35 -05:00
Norbert Kamiński
d0af777b14
main.yml: Install protobuf-c as fwupd dependency in the FreeBSD job
...
Signed-off-by: Norbert Kamiński <norbert.kaminski@3mdeb.com>
2021-09-16 18:24:21 -05:00
Norbert Kamiński
30700d52e1
main.yml: Bump GitHub Action freebsd-vm
...
Signed-off-by: Norbert Kamiński <norbert.kaminski@3mdeb.com>
2021-09-16 18:24:21 -05:00
Norbert Kamiński
b6fac03b57
Revert "trivial: Disable FreeBSD CI again"
...
This reverts commit 14dab4da6d .
2021-09-16 18:24:21 -05:00
Mario Limonciello
14dab4da6d
trivial: Disable FreeBSD CI again
...
It's failing again due to non-obvious linker errors outside of the
fwupd code.
```
/usr/sbin/dtrace -G -o tclDTrace.o -s /usr/ports/lang/tcl86/work/tcl8.6.11/generic/tclDTrace.d regcomp.o regexec.o regfree.o regerror.o tclAlloc.o tclAssembly.o tclAsync.o tclBasic.o tclBinary.o tclCkalloc.o tclClock.o tclCmdAH.o tclCmdIL.o tclCmdMZ.o tclCompCmds.o tclCompCmdsGR.o tclCompCmdsSZ.o tclCompExpr.o tclCompile.o tclConfig.o tclDate.o tclDictObj.o tclDisassemble.o tclEncoding.o tclEnsemble.o tclEnv.o tclEvent.o tclExecute.o tclFCmd.o tclFileName.o tclGet.o tclHash.o tclHistory.o tclIndexObj.o tclInterp.o tclIO.o tclIOCmd.o tclIORChan.o tclIORTrans.o tclIOGT.o tclIOSock.o tclIOUtil.o tclLink.o tclListObj.o tclLiteral.o tclLoad.o tclMain.o tclNamesp.o tclNotify.o tclObj.o tclOptimize.o tclPanic.o tclParse.o tclPathObj.o tclPipe.o tclPkg.o tclPkgConfig.o tclPosixStr.o tclPreserve.o tclProc.o tclRegexp.o tclResolve.o tclResult.o tclScan.o tclStringObj.o tclStrToD.o tclThread.o tclThreadAlloc.o tclThreadJoin.o tclThreadStorage.o tclStubInit.o tclTimer.o tclTrace.o tclUtf.o tclUtil.o tclVar.o tclZlib.o tclTomMathInterface.o tclUnixChan.o tclUnixEvent.o tclUnixFCmd.o tclUnixFile.o tclUnixPipe.o tclUnixSock.o tclUnixTime.o tclUnixInit.o tclUnixThrd.o tclUnixCompat.o tclUnixNotfy.o tclOO.o tclOOBasic.o tclOOCall.o tclOODefineCmds.o tclOOInfo.o tclOOMethod.o tclOOStubInit.o tclLoadDl.o
dtrace: failed to link script /usr/ports/lang/tcl86/work/tcl8.6.11/generic/tclDTrace.d: an error was encountered while processing tclDictObj.o
*** [tclDTrace.o] Error code 1
```
2021-09-03 13:09:09 -05:00
Norbert Kamiński
c1f06b6b82
freebsd-ci: Change FreeBSD artifact extension
...
Signed-off-by: Norbert Kamiński <norbert.kaminski@3mdeb.com>
2021-08-18 08:39:11 -05:00
Norbert Kamiński
ea12ce69b1
Revert "trivial: Disable the FreeBSD CI action as it's been failing for a long time"
...
This reverts commit 51efc1c772 .
2021-08-18 08:39:11 -05:00
Richard Hughes
51efc1c772
trivial: Disable the FreeBSD CI action as it's been failing for a long time
2021-08-05 08:35:54 +01:00
Mario Limonciello
668623dda2
trivial: ci: timeout freebsd CI after 20 minutes
...
There have been a few jobs that were left running an hour pulling
a file, and that shouldn't block us and waste CI minutes.
2021-07-28 12:02:17 -05:00
Mario Limonciello
a7cfe67cfe
Add VOID CI target
2021-07-28 11:29:44 -05:00
Mario Limonciello
01f79c0339
trivial: set the reference commit to run style check against on CI
2021-07-24 20:56:26 -05:00
Mario Limonciello
bb202244e3
trivial: add clang-format into dependencies
2021-07-24 20:56:26 -05:00
Mario Limonciello
798d1ed3ee
trivial: update markdown for pre-commit style
2021-07-18 14:42:47 -05:00
Mario Limonciello
4ae30a2c1a
trivial: update assignee for wd19 bug reports
...
The WD19 has a special bug report template, and although I'll contribute
what I can to it, nominally Crag will be looking into the issues now.
2021-06-20 21:50:12 -05:00
Mario Limonciello
80ae982f6d
trivial: fix pre-commit removing arguments
2021-06-16 06:41:46 -05:00
Norbert Kamiński
dbece574ee
Add FreeBSD package to the CI matrix
...
Signed-off-by: Norbert Kamiński <norbert.kaminski@3mdeb.com>
2021-06-05 11:05:33 -05:00
Richard Hughes
37a0448a99
Add FreeBSD to the CI matrix
2021-05-26 16:00:32 +01:00
Richard Hughes
d83d0243e0
trivial: Hard limit the fuzz duration to 20 minutes
2021-04-15 16:19:32 +01:00
Mario Limonciello
ab20cfb35b
trivial: ci: don't run no-commit-to-branch during merges
2021-04-09 10:21:29 -05:00
Mario Limonciello
0b80c872b3
trivial: move all pre-commit checks into dedicated CI job
...
This one should launch faster than Fedora, and should fail all the jobs
way sooner.
2021-04-09 16:02:20 +01:00
Mario Limonciello
82c3674f32
trivial: fix github workflows for master
2021-03-10 21:28:18 -06:00
Mario Limonciello
f8387d8bbd
trivial: don't re-run create_containers more than once a day
2021-02-23 11:26:14 -06:00
Mario Limonciello
2264a2efca
trivial: ci: add a workaround for arch container generation issue
...
This should be dropped at some point hopefully when the new
docker release has landed.
See: https://github.com/actions/virtual-environments/issues/2658
Fixes : #2894
2021-02-22 08:49:00 -06:00
Mario Limonciello
b4b6f8910d
trivial: allow 1_4_X to trigger CI builds from Github workflows
2021-02-18 14:46:15 -06:00
Richard Hughes
9930998612
Integrate oss-fuzz with the CI
2021-02-09 16:37:25 +00:00
Richard Hughes
5d7fb6ad88
uefi-capsule: Check if the fwupd BootXXXX entry exists on failure
...
Some systems remove the BootXXXX entry we add (so we can run fwupdx64.efi) and
thus the firmware update does not run. Most commonly this failure is seen with
Lenovo systems that call the helpful option 'Boot Order Lock'.
Hopefully when we depend on the new kernel bios interface sysfs API in we can
check in ->prepare(), not after reboot, but until that we can mark the update
failure as transient as the user can actually fix the problem themselves.
Fixes https://github.com/fwupd/fwupd/issues/2801
2021-01-27 14:49:57 +00:00
Mario Limonciello
dd075eb2be
trivial: for create containers workflow don't fail fast
...
Just because Arch fails to build or push one day, don't
make all the containers fail to build or push.
2021-01-13 11:56:16 -06:00
Mario Limonciello
a5a1648c35
trivial: ci: fix ABI job
2020-12-07 10:42:51 -06:00
Mario Limonciello
07be134dca
trivial: Github actions: Split up container creation
2020-11-18 06:47:57 -06:00
Mario Limonciello
0b64457256
Move ABI check to Github actions
2020-11-18 06:47:57 -06:00
Mario Limonciello
a6606fee3a
Enable github workflows
2020-11-18 06:47:57 -06:00
mendel5
92f8e92daa
pull_request_template.md: replace github.com/hughsie with github.com/fwupd
2020-07-28 14:28:15 -05:00
Mario Limonciello
5c2c782446
trivial: add a bug report target for Dell WD19
2020-06-02 11:47:00 -05:00