Commit Graph

36 Commits

Author SHA1 Message Date
Khaled Hosny 178c5bed39 [ci] Use unique ccache cache keys per job 2023-01-20 10:28:44 +02:00
Khaled Hosny 35f0184bfd [ci] Clean a bit and add some consistency 2023-01-20 10:28:44 +02:00
Khaled Hosny 582636bce0 [ci] Use ccache for linux and macos jobs 2023-01-17 22:21:22 +02:00
Behdad Esfahbod 52d8346d99 [ci] Change Linux runner to Ubuntu 20.04
https://github.com/actions/runner-images/issues/6002
2022-11-30 14:14:54 -07:00
Khaled Hosny 9e4ae09fe7 [ci] Fix linux-ci builds 2022-08-24 05:09:49 +02:00
Khaled Hosny efab763885 [ci] Fix docs deployment
Trigger build on tag pushes, and simplify the condition for calling
.ci/deploy-docs.sh.
2022-07-23 20:27:59 +02:00
Behdad Esfahbod a92d988d3d Revert "[ci] Upgrade codecov-action to v3.1"
This reverts commit 5b8bff8dca.
2022-07-20 13:01:29 -06:00
Behdad Esfahbod 5b8bff8dca [ci] Upgrade codecov-action to v3.1 2022-07-20 12:59:36 -06:00
dependabot[bot] 9342adb0d6 Bump actions/checkout from 2 to 3
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-08 13:47:16 +01:00
dependabot[bot] 335d058bf4 Bump codecov/codecov-action from 1 to 3
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 1 to 3.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/master/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/v1...v3)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-08 13:47:08 +01:00
neilnaveen 356c1f8336 chore: Set permissions for GitHub actions
Restrict the GitHub token permissions only to the required ones; this way, even if the attackers will succeed in compromising your workflow, they won’t be able to do much.

- Included permissions for the action. https://github.com/ossf/scorecard/blob/main/docs/checks.md#token-permissions

https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions

https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs

[Keeping your GitHub Actions and workflows secure Part 1: Preventing pwn requests](https://securitylab.github.com/research/github-actions-preventing-pwn-requests/)

Signed-off-by: neilnaveen <42328488+neilnaveen@users.noreply.github.com>
2022-06-07 14:32:11 +01:00
Khaled Hosny 392f201047 [ci] Pin gcovr to version 5.0
Fixes https://github.com/harfbuzz/harfbuzz/issues/3540
2022-04-21 13:59:08 -06:00
Khaled Hosny 671f1d149a [ci] meson 0.55.0 didn’t work for harfbuzz
https://github.com/mesonbuild/meson/issues/7437
2021-09-17 06:12:14 -06:00
Khaled Hosny f1b20b5a14 [ci] Ragel subproject requires meson 0.55.0 2021-09-17 06:12:14 -06:00
Khaled Hosny 835fc1376f [ci] Build ragel on the Linux CI job
To make sure we don’t accidentally break this option.
2021-09-17 06:12:14 -06:00
Khaled Hosny 7e9ac8fea2 [meson] Require ragel 6.10
Ragel 7 is also not stable from upstream's point of view.

This uses “version” argument find_program(), which was introduced in
meson 0.52.0, so I raised the minimum required meson version
accordingly.
2021-09-14 18:46:33 -06:00
Garret Rieger f3e031539f Revert "[ci] Bin FontTools version due to recent COLRv1 changes"
This reverts commit 163748b505.
2021-07-28 11:36:34 -06:00
Khaled Hosny 163748b505 [ci] Bin FontTools version due to recent COLRv1 changes
Should be reverted once HarfBuzz updated to match FontTools.
2021-07-26 23:32:48 +02:00
Khaled Hosny 2c7ef0db0b [ci] Generate only XML coverage data
That is the one we are uploading, and HTML coverage seems broken on
macOS.
2021-07-13 13:23:53 +02:00
Khaled Hosny fa432a121e Rename various references to master branch 2021-06-05 04:18:52 +02:00
Khaled Hosny c571a96eb0 [ci] Disable Chafa on jobs that enables all auto features
No suitable versions are available on these setups.
2021-04-26 12:13:10 -06:00
Khaled Hosny cad753e20f [ci] Use known working Ubuntu version
GitHub Actions seems to be moving ubuntu-latest from ubuntu-18.04 to
ubuntu-20.04, but gcovr is broken for us in the new version.
2021-03-16 01:11:12 +02:00
Khaled Hosny 07315d9c83 [ci] Don’t install meson from its master branch
We are testing Harfbuzz not meson!
2021-03-15 22:45:25 +02:00
Ebrahim Byagowi 8586bad2bd
[ci] don't install rustc on linux-ci
https://github.com/harfbuzz/harfbuzz/pull/2610/checks?check_run_id=930572217
2020-07-31 09:28:51 +04:30
Ebrahim Byagowi 5f9ff04fb0 Add comparison against ttf-parser 2020-07-30 16:18:17 +04:30
Ebrahim Byagowi 7bab6087bf
[ci] Install meson's master
As https://github.com/mesonbuild/meson/issues/7437
2020-07-29 08:49:01 +04:30
Ebrahim Byagowi ae8a71dfb8
[ci] minor, use --auto-features=enabled 2020-07-20 20:16:15 +04:30
Ebrahim Byagowi 9ab7525a06
[ci] use a fixed version of meson in gh actions bot
a patch is uploaded to fix the issue with b_coverage in meson upstream thus let's revive our bot at least for now
2020-07-13 01:15:36 +04:30
Ebrahim Byagowi 702847aadd [meson] Turn benchmark to a feature 2020-06-29 12:54:58 +04:30
Ebrahim Byagowi 95b1081be4 Add performance benchmark for shaping, get extents and draw 2020-06-25 01:30:07 +04:30
Ebrahim Byagowi a4955e21fd
[ci] install gobject-instrospection on linux ci 2020-06-18 08:59:49 +04:30
Ebrahim Byagowi 5293fdba23
[ci] Move docs deployment from autotools to meson 2020-06-04 02:38:27 +04:30
Ebrahim Byagowi 39976ee660
[ci] install fonttools in linux-ci bot 2020-04-28 18:50:33 +04:30
Ebrahim Byagowi 156714f797
[ci] fix linux-ci bot
It shows some percentage of coverage regression
as the switch from lcov to gcovr and autotools to meson while this travis to github actions switch.
2020-04-28 16:32:15 +04:30
Ebrahim Byagowi 34a4ce98f4
[ci] run apt-get with sudo 2020-04-28 15:34:29 +04:30
Ebrahim Byagowi f27c0065d4
[ci] Add a GitHub CI bot
Run coverage also
2020-04-28 15:30:25 +04:30