Commit Graph

17 Commits

Author SHA1 Message Date
Richard Hughes
cf8095d5af Use a static version number
Getting the version string from git means the commit version changes each time
we commit any patch, which means we need to use --force to install firmware
when building fwupd against a version that should be compatible.

It is also very inconvenient not bumping the release version for git snapshots
as firmware can no longer depend on the "planned" release triplet.

tl;dr: A good idea for Flashrom, not so awesome for me.
2020-03-29 12:17:52 +01:00
Mario Limonciello
b963cb3678 Add a new ChromeOS CI target to build without GPG and PKCS7
This is actually built on Debian, but it's intended purpose is to
be able to check whether the package made bad assumptions for ChromeOS
2020-03-23 19:55:12 +00:00
Mario Limonciello
6c5a9e04e5 trivial: snap: save artifacts from build
Should help for debugging problems without a local build as well
as in case upload to snapcraft.io fails to avoid having to re-run
full build.
2020-03-20 11:18:00 -05:00
Mario Limonciello
55f4569120 trivial: circleci: move to golang 1.9
Hopefully fixes CI promotion issues on new releases.
2020-02-14 10:54:13 -06:00
Mario Limonciello
4adec1b752 trivial: circleci: explicitly add new doc files on deployment
When a new section is introduced (or renamed) it's not getting added
currently.
2020-02-05 12:44:45 -06:00
Mario Limonciello
6c8beb6b3c trivial: Re-order circleci commands
This should allow using a git client provided by the OS, not CircleCI.

Hopefully it helps the deployment job for the next release.
2020-02-05 12:02:26 -06:00
Richard Hughes
83425f99af Generate a win32 setup binary
Fixes https://github.com/fwupd/fwupd/issues/1704
2020-01-16 12:23:08 -06:00
Richard Hughes
45a00738d8 Allow building on Windows with MinGW
Add various fixes to enable us to build a selection of useful USB plugins.
Also, skip tests that don't make sense on WIN32 or that will not work.

With much help from Mario Limonciello <mario.limonciello@dell.com> -- Thanks!
2019-12-03 16:33:43 +00:00
Mario Limonciello
ae71a62620 snap: switch to core18
This makes the snap build quicker by using more distro dependencies
and also fixes some unicode output errors.
2019-09-22 08:46:01 -05:00
Mario Limonciello
d3122a53ff Publish docs to fwupd.github.io using CircelCI
For now this is happening on every master build, but in the future
after it's working reliably it should be restricted to only tagged
builds.

To accomplish this, swap a build from circlei and travisci that
will save docs to publish.
2019-08-22 09:15:29 -05:00
Richard Hughes
4836cb360e Verify we don't break the ABI
This adds a script which can check for ABI breaks between two Git
revisions:

    $ ./contrib/ci/check-abi.sh

The CI is set up to run it automatically between the tip of the branch
being tested and the last release tag.

Based on the work by Mathieu Bridon <bochecha@daitauha.fr>, many thanks.
2019-08-01 10:47:49 -05:00
Mario Limonciello
8b8e9d815d trivial: circleci: try to fix automatic snap deployment
Split up the promotion step into a separate workflow with it's own
filters.

According to https://circleci.com/docs/2.0/workflows/#executing-workflows-for-a-git-tag
every dependency needs its own tag filter, so hopefully this should
fix automatic deployment.
2019-05-22 11:00:38 -05:00
Mario Limonciello
d1f25ee9b6 trivial: ci: move s390x build into CircleCI
This should hopefully make daily CI runs operate faster by balancing
some across Travis CI and some across Circle CI.
2019-03-08 09:44:49 -06:00
Mario Limonciello
6121eb26df trivial: snap: pull from edge channel to build
Due to bug https://bugs.launchpad.net/snapcraft/+bug/1817300 snaps
using classic confinement began failing to build recently when
using docker.

This is also discussed in
https://forum.snapcraft.io/t/snap-build-started-failing-with-pip-not-working/10142/3

This commit can be reverted when snapcraft migrates to the stable
channel.

Fixes: #1041
2019-02-25 21:27:18 -06:00
Mario Limonciello
a7bd2b9cb0 circleci: Manage the lifecycle of the snap
* Publish master snaps to edge after build.
* Publish tagged snaps to the stable channel after build.
2019-02-13 06:42:25 +00:00
Mario Limonciello
1e47c7200b trivial: circleci: run apt update before snapcraft 2019-02-12 17:38:55 +00:00
Mario Limonciello
12bc17d74e Add support to run snap build in CircleCI 2019-02-12 17:19:24 +00:00