Commit Graph

81 Commits

Author SHA1 Message Date
Khaled Hosny 1abcc32137 Revert "[ci] Use sccache with msys2"
This reverts commit b9646dfd62.

For some reason using sccache re-introduces the random CI crashes that
was previously fixed in 80dd751564.
2023-01-18 23:55:17 +02:00
Khaled Hosny b9646dfd62 [ci] Use sccache with msys2 2023-01-17 22:21:22 +02:00
Khaled Hosny 22a4fca375 [ci] Use sccache for msvc jobs
Meson will not use ccache with MSVC, so we use sccache here.
2023-01-17 22:21:22 +02:00
Khaled Hosny 582636bce0 [ci] Use ccache for linux and macos jobs 2023-01-17 22:21:22 +02:00
Khaled Hosny 99146e7609 [ci] We don’t need to install ragel on msys2 2023-01-17 22:21:22 +02:00
Khaled Hosny 842e26d32c [ci] Remove no longer needed workaround
Meson seems to take care of this itself now.
2023-01-17 22:21:22 +02:00
Khaled Hosny 1f3c042ff5 [doc] Don’t automatically skip building docs on Windows
Respect the option setting.
2022-12-24 17:33:54 +02:00
Behdad Esfahbod d4dec54c3a [ci] Switch configs build to Ubuntu 20.04
https://github.com/actions/runner-images/issues/6002
2022-11-30 14:14:54 -07: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
Christoph Reiter 80dd751564 CI: work around flaky 64bit MSYS2 builds
MSYS2 Python+meson has some random crashes in CI which we haven't been
able to reproduce yet. Naturally enabling debugging fixes them.. :)
2022-11-29 12:41:02 -07:00
Christoph Reiter 8f41b6a139 CI: fix msvc build
The Windows image for some reason now contains a zlib and freetype build
which meson finds and tries to use. Force meson to use the subprojects always
to avoid picking up system libs.
2022-11-29 12:41:02 -07:00
Behdad Esfahbod 9650f34a84 [CI] Remove coverage testing from macos-ci 2022-11-14 14:35:55 -07:00
Behdad Esfahbod 3a9ca6aa69 [CI] Try fixing macos-ci 2022-11-14 14:35:55 -07:00
Joel Auterson 3377ddf69e Add missing underscore 2022-10-21 11:09:35 -06:00
Joel Auterson 28cb1b3954 Fix working-directory 2022-10-21 11:09:35 -06:00
Joel Auterson dbbbf02d77 Fix GHA workflow 2022-10-21 11:09:35 -06:00
Joel Auterson 756b500018 Add ARM CI workflow 2022-10-21 11:09:35 -06: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
Khaled Hosny 7a219ca9f0 [ci] Install glib-utils on macOS
The glib utils have been split into a separate homebrew package.

Fixes https://github.com/harfbuzz/harfbuzz/issues/3747
2022-07-22 14:20:05 +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
Behdad Esfahbod 2eb561ebea [ci] Upgrade macos runner from 10.15 to latest (11) 2022-07-20 12:02:38 -06:00
dependabot[bot] a1c299da13 Bump actions/setup-python from 3 to 4
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 3 to 4.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v3...v4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-15 13:05:05 -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
dependabot[bot] a51c3a66f2 Bump actions/upload-artifact from 1 to 3
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 1 to 3.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v1...v3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-08 13:47:01 +01:00
dependabot[bot] 80bf2b3d2f Bump actions/setup-python from 1 to 3
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 1 to 3.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v1...v3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-08 13:46:29 +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
Behdad Esfahbod aef92b2846 [ci] Better compiler specification in configs-build job 2022-06-05 00:45:38 -06:00
Khaled Hosny c8810277bb Update Coverity settings 2022-04-22 02:22:29 +02: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 924dd71de3
Merge pull request #3423 from harfbuzz/revert-ci-msvc
Revert "[ci] Downgrade pip on MSVC jobs"
2022-02-25 04:31:24 +02:00
Behdad Esfahbod d12c51e6e6 [ci] Rename configs-ci to configs-build
Since it doesn't run any tests.
2022-02-15 14:31:59 -06:00
Behdad Esfahbod b2f5131029 [ci] Add configs-ci.yml to test different configs
Fixes https://github.com/harfbuzz/harfbuzz/issues/2884
2022-02-12 21:22:30 -06:00
Khaled Hosny e045dbf617 [ci] Upgrade pip on MSVC job
To avoid bad pre-installed version.
2022-02-10 04:06:20 +02:00
Khaled Hosny 02a737e532 Revert "[ci] Downgrade pip on MSVC jobs"
This reverts commit c4cf5ddb27.
2022-02-08 21:45:42 +02:00
Khaled Hosny c4cf5ddb27 [ci] Downgrade pip on MSVC jobs
Turns out, pip 22.0 is the source of the breakage:
https://github.com/mesonbuild/meson/issues/9955#issuecomment-1030843844
https://github.com/pypa/pip/issues/10875
2022-02-06 18:13:16 +02:00
Khaled Hosny 3160789701 [ci] windows-2016 image is going away in a bit
https://github.com/actions/virtual-environments/issues/4312

windows-latest is the same as windows-2019, but we are using explicit
windows-2019 image for when they become different.
2021-11-24 02:05:28 +02:00
David Korczynski de9424172d [ci] Add CIFuzz integration
Add CIFuzz integration, which will run the fuzzers for a short amount
of time when a PR is submitted on Github.

Signed-off-by: David Korczynski <david@adalogics.com>
2021-10-27 10:01:41 -07: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 f6c9fcfd3e [ci] Add macOS GitHub workflow
To collect codecov coverage on macOS as well (hopefully it will run the
macOS-specific tests).
2021-07-13 01:12:43 +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