Massimo Paladin
1d7bad5347
Meta: Remove SonarCloud cache and threads setup as it is now default
...
No need to configure the cache and threads anymore,
SonarCloud now has an automatic analysis caching and
threads detection. See:
https://docs.sonarcloud.io/advanced-setup/languages/c-c-objective-c/#analysis-cache
2023-03-28 04:05:01 -06:00
Nico Weber
3cff36b7ab
Meta+CMake: Remove "image" ninja target in favor of "qemu-image"
...
"image" was an alias for "qemu-image".
I want to add an `image` userland utility, which clashes with that
shortname.
So remove the existing "image" target. It was just an alias for
"qemu-image".
If you use serenity.sh to build, nothing changes. This only affects you
if you run ninja manually -- you now have to say `ninja qemu-image` to
build the disk image.
2023-03-12 01:48:56 +00:00
Andreas Kling
47797ff52c
Meta: Remove Brian's entries from CODEOWNERS
...
The scope of these entries is not proportional to Brian's capacity for
code review at the moment, so let's stop marking him as "code owner" on
almost every PR. :^)
2023-03-11 13:11:09 +01:00
dependabot[bot]
f0a99634dd
CI: Bump JamesIves/github-pages-deploy-action from 4.1.1 to 4.4.1
...
Bumps [JamesIves/github-pages-deploy-action](https://github.com/JamesIves/github-pages-deploy-action ) from 4.1.1 to 4.4.1.
- [Release notes](https://github.com/JamesIves/github-pages-deploy-action/releases )
- [Commits](https://github.com/JamesIves/github-pages-deploy-action/compare/4.1.1...v4.4.1 )
---
updated-dependencies:
- dependency-name: JamesIves/github-pages-deploy-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-03-02 05:49:02 +00:00
Andrew Kaster
1b24fa5829
CI+Lagom: Use the same options for running test-wasm in ctest and CI
...
Make sure that we set SERENITY_SOURCE_DIR in ctest, and make sure to
pass the test root to the CI job.
More overhaul of test-js 'test root' finding is needed however.
2023-02-24 00:02:25 -07:00
Linus Groh
007f23ab94
Meta: Mark myself as a CODEOWNER of Emoji.{cpp,h} in LibGfx
2023-02-22 21:55:59 +00:00
Linus Groh
6bc6085219
Meta: Mark myself as a CODEOWNER of a few more things
...
Browser, Ladybird, the neofetch & python3 ports I added.
2023-02-11 13:26:47 +00:00
networkException
143f28b735
CI: Add script to post mastodon toots for commits on master
...
This patch adds the toot-commits script (mirroring tweet-commits),
posting new commits on the master branch to
https://serenityos.social/@commits .
2023-02-10 13:54:07 +00:00
Timothy Flynn
49474d8718
Revert "Meta: Automatically select best apt mirror"
...
This reverts commit b0606d90f0
.
This seems to prevent libegl-mesa0 from being installed (which for some
reason isn't failing the Azure jobs - the failure seen later is that
ccache is not installed).
2023-02-09 14:57:27 +00:00
MacDue
b0606d90f0
Meta: Automatically select best apt mirror
...
This is an attempt to avoid issues with the azure ubuntu apt mirror
by using apt-spy2 to select the best mirror before installing
dependencies.
2023-02-07 13:22:17 +00:00
Timothy Flynn
9f9b8e7273
CI: Move running LibWeb layout tests to Azure
...
The current config on GitHub Actions does not use ccache, so it takes
quite a while to build. Instead, let's just run these tests on Azure
where we already build Ladybird and have ccache enabled. This also lets
us sanitize LibWeb on both Linux and macOS.
The script changes here are to A) handle differences between Azure and
GitHub Actions and B) to support running on macOS.
2023-02-01 14:04:44 +00:00
Aliaksandr Kalenik
78b503946c
Tests: Add LibWeb layout tests
2023-01-29 11:33:33 +00:00
Timothy Flynn
e634778679
CI: Install a more up-to-date version of emscripten
...
This is to allow using more recent C++20 features in upcoming commits.
Version 3.1.6 is what is installed on Ubuntu 22.10 and works with the
C++20 features we want.
2023-01-20 14:24:12 -05:00
Jelle Raaijmakers
100c8f9bcf
CI: Add GitHub author presence check in commit linter
...
If GitHub is unable to match a commit's author to a GitHub user, the
`.author` object is set to `null` in the API's response.
2023-01-19 23:48:57 +00:00
dependabot[bot]
9f2d4d3fd5
CI: Bump actions/setup-java from 1 to 3
...
Bumps [actions/setup-java](https://github.com/actions/setup-java ) from 1 to 3.
- [Release notes](https://github.com/actions/setup-java/releases )
- [Commits](https://github.com/actions/setup-java/compare/v1...v3 )
---
updated-dependencies:
- dependency-name: actions/setup-java
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-01-18 14:49:51 +00:00
dependabot[bot]
3d9b88d2a7
CI: Bump r-lib/actions from 1 to 2
...
Bumps [r-lib/actions](https://github.com/r-lib/actions ) from 1 to 2.
- [Release notes](https://github.com/r-lib/actions/releases )
- [Commits](https://github.com/r-lib/actions/compare/v1...v2 )
---
updated-dependencies:
- dependency-name: r-lib/actions
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-01-18 14:49:36 +00:00
dependabot[bot]
cdc2d6ac18
CI: Bump github/codeql-action from 1 to 2
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 1 to 2.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](https://github.com/github/codeql-action/compare/v1...v2 )
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-01-18 14:48:47 +00:00
dependabot[bot]
086116983b
CI: Bump actions/setup-node from 2 to 3
...
Bumps [actions/setup-node](https://github.com/actions/setup-node ) from 2 to 3.
- [Release notes](https://github.com/actions/setup-node/releases )
- [Commits](https://github.com/actions/setup-node/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: actions/setup-node
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-01-18 14:48:16 +00:00
dependabot[bot]
a8bd231a65
CI: Bump actions/upload-artifact from 2 to 3
...
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact ) from 2 to 3.
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](https://github.com/actions/upload-artifact/compare/v2...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>
2023-01-18 14:47:40 +00:00
Jelle Raaijmakers
6ef8100e25
CI: Ignore dependabot in commit linter for PRs
...
Dependabot cannot be configured to significantly change the way it
formats its commit message, and it currently includes a "Signed-Off-By"
tag which is not allowed by our linter.
This updates our CI commit linter to exclude bots from the checks.
2023-01-18 14:06:05 +00:00
Brian Gianforcaro
87b18f9304
Meta: Add dependabot configuration to update github actions
2023-01-16 20:59:23 -08:00
Brian Gianforcaro
19a87fce36
Meta: Disable PVS Studio v1052 static analysis rule in github actions
...
This rule conflicts with the projects style guide, and ends up being
just a bunch of unnecessary noise. So lets just suppress it.
2023-01-16 09:45:46 +01:00
Brian Gianforcaro
745883e29b
Meta: Add myself to CODEOWNERS
2023-01-16 08:28:38 +01:00
Jelle Raaijmakers
4ee40aeefd
Meta: Add GMTA to CODEOWNERS
2023-01-09 07:07:47 -05:00
Ali Mohammad Pur
0a244b9c1f
Meta: Mark myself as a CODEOWNER of a bunch of paths
2023-01-07 01:38:30 +01:00
Linus Groh
cbad79fa86
CI: Use default provided GITHUB_TOKEN for PR label workflow
...
Using BUGGIEBOT_TOKEN doesn't work in all cases for unknown reasons.
See also:
https://github.com/actions/github-script#using-a-separate-github-token
2023-01-06 19:11:41 +01:00
Linus Groh
7c2e134abd
CI: Unify secrets.BUGGIEBOT and secrets.BUGGIEBOT_TOKEN
...
The latter is clearer, so let's use that.
2023-01-06 18:19:42 +01:00
Luke Wilde
a6716e694d
CI: Automatically apply pull request labels for generic PR actions
...
Generic PR actions include opening a PR, submit review comments, adding
new commits, etc. This prevents the reviewer and PR submitter from
having to manually bounce the labels back and forth in the general
case. The reviewer also may not have permission to set labels, meaning
the reviewer won't be able to update the labels accordingly themselves.
This does not handle more subjective labels such as pr-is-blocked and
pr-unclear. Unfortunately, there does not seem to be a GitHub Actions
trigger for when a PR has merge conflicts, so the pr-has-conflicts
label cannot be automatically applied.
Co-authored-by: kleines Filmröllchen <filmroellchen@serenityos.org>
2023-01-06 15:25:30 +01:00
Timothy Flynn
c88aa21302
Meta: Mark myself a CODEOWNER of some paths to be alerted of related PRs
2023-01-03 19:51:49 +01:00
Linus Groh
e7627af555
Meta: Add CODEOWNERS file
...
These are the areas of the system where I'd like GitHub to inform me
about changes, other maintainers are of course free to add themselves.
Subscribing to all notifications and using email filters is no longer
practical :^)
https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners
2023-01-03 12:10:56 -05:00
Liav A
55f17fff36
Meta: Remove i686 target
2022-12-28 11:53:41 +01:00
Timothy Flynn
2334b4cebd
Meta: Move UCD/CLDR/TZDB downloaded artifacts to Build/caches
...
They currently reside under Build/<arch>, meaning that they would be
redownloaded for each architecture/toolchain build combo. Move them to a
location that can be re-used for all builds.
2022-12-24 09:46:28 -05:00
Timothy Flynn
186accb81d
Meta: Add downloaded artifact caches to nightly static analysis builds
2022-12-24 09:46:28 -05:00
Timothy Flynn
fba1569eaf
Meta: Use correct cache key for CLDR data during CI
...
Not a huge deal because this at least would still differ from the UCD
cache due to the locale_data.cmake. But this will use the same cache key
as other CI jobs.
2022-12-24 09:46:28 -05:00
Lucas CHOLLET
fa29214d9a
CI: Fix commit linting for multi-line commit messages
...
Third time's the charm
2022-12-10 17:52:26 +00:00
Lucas CHOLLET
b3478b3613
CI: Correct regex to retrieve git merge commit
...
In 839c1a57
, I wrongly assumed that a matched pattern will raise an
error, it's the opposite. This patch "negates" the regex to solve the
issue.
2022-12-10 16:23:09 +00:00
Lucas CHOLLET
839c1a574d
CI: Add a check to report git merge commit
2022-12-10 12:07:06 +00:00
Linus Groh
8639d8bc21
Meta: Switch to clang-format-15 as the standard formatter
...
The two major changes noticeable on the SerenityOS codebase are:
- Much improved support for const placement, clang-format-14 ignored
our east-const configuration in various places
- Different formatting for requires clauses, now breaking them onto
their own line, which helps with readability a bit
Current versions of CLion also ship LLVM 15, so the built-in formatting
now matches CI formatting again :^)
2022-12-03 23:52:23 +00:00
Idan Horowitz
0eeba7084d
CI: Run test262 tests with optimized bytecode as well
2022-12-03 17:48:05 +00:00
Andrew Kaster
f539bf467c
Meta+CI: Add CI job specifically for bundling serenity-js artifacts
...
These are used by esvu, and it is sad that we don't have macOS binaries
availble for consumption by esvu users. Add a matrix job to handle this
separately from the test262 results.
2022-12-03 09:05:40 -05:00
Ali Mohammad Pur
4285b6ac4d
Meta: Build the wasm libs with -DBUILD_SHARED_LIBS=OFF
...
CMake already does this, but it also emits a warning about it, do that
to make the CMake gods happier.
2022-11-26 10:23:39 +01:00
Ali Mohammad Pur
b5301a3ea9
Meta: Use the correct cache paths in the wasm workflow
...
Previously we were caching unicode data for the lagom tools, but we
should've been caching them for the actual build instead.
2022-11-26 10:23:39 +01:00
davidot
617d29d2fb
Meta: Update actions/libjs-test262 action to newer version
...
This should get rid of the non node 16 and outdated command warnings.
2022-11-26 09:53:14 +01:00
Ali Mohammad Pur
7c93724ee0
Meta: Build and deploy the WebAssembly LibJS REPL on merge
2022-11-26 02:23:15 +03:30
martinfalisse
432b2aed67
CI: Upgrade actions/github-script
to v6
...
The only breaking change is an internal switch to node 16 which doesn't
seem to affect the functionality of the lintcommits script.
2022-11-25 23:03:59 +01:00
Jelle Raaijmakers
f652c75f34
CI: Check out PR merge branch instead of source
2022-11-05 00:20:58 -04:00
Timothy Flynn
e1ac9c83b2
CI: Also update the main workflow to use actions/checkout version 3
2022-11-03 13:32:16 +00:00
Filiph Sandström
0252d7291c
CI: Upgrade actions/setup-python
to v4
...
Just as the actions/checkout the only breaking change is a internal one
related to upgrading from node 12 to node 16.
2022-11-03 11:29:45 +00:00
Filiph Sandström
3ddefb9f5f
CI: Upgrade actions/checkout
to v3
...
actions/checkout's only change between v2 and v3 is an internal switch
to node 16 which wont effect our usage of it at all.
2022-11-03 11:29:45 +00:00
Luke Wilde
5ebfa8d620
CI: Make the test262 worker use GCC 12
2022-10-31 16:14:41 -04:00