summaryrefslogtreecommitdiff
path: root/.github
AgeCommit message (Collapse)Author
2021-08-09CI: Remove leftover ccache step and fix a broken link in the clang buildIdan Horowitz
2021-08-08CI: Split off clang toolchain builds from normal CI and schedule themIdan Horowitz
Clang builds will no longer be apart of the automated CI for every Push/ Pull Request, and will instead be ran at 00:00 UTC every day, with the results posted to the discord #clang-toolchain channel.
2021-08-08CI: Try building Serenity with ClangDaniel Bertalan
2021-08-07CI: Don't build libjs for Lagom twiceAndrew Kaster
We need test-js for the parser tests for test262, but we don't need to rebuild all of Lagom twice. This was missed when we did the initial change to shared libraries. Before #9017, the Lagom build for test-js is what built libLagom.a for the libjs-test262-runner to link against. Now that we are building libjs.so and its dependencies in the runner's build directory, we should build test-js there as well. Requires linusg/libjs-test262#32 in order to properly find the built test-js.
2021-08-07CI: Cache UnicodeData files on the self-hosted test262 runnerIdan Horowitz
We already cache these files to prevent re-downloading them in the other CI workflows, so this just brings the test262 runner up to speed with the rest of them.
2021-08-07CI: Fix node-version typosin-ack
Otherwise this generates an "unexpected inputs" warning.
2021-07-31CI: Do not change the system gcc version to 10Thomas Wagenveld
Because the Serenity tooling autodetects the presence of gcc 10 it is no longer necessary to change the system gcc version to 10.
2021-07-29CI: Use updated libjs-test262 build workflowsAndrew Kaster
After linusg/libjs-test262/pull/30 goes into libjs-test262, we'll need to pass SERENITY_SOURCE_DIR manually to the job to prevent it from trying to do its own shallow clone. Also, remove the now defunct static library build from the test262 workflow.
2021-07-27Meta: Bring lint-commit.sh up to date with the CI commit linterIdan Horowitz
This was missing 2 of the recently added checks. Also added a reminder in the CI linter to update the Meta (commit hook) version.
2021-07-27CI: Cache UnicodeData files on GitHub Actions runsIdan Horowitz
This should prevent 5 unnecessary downloads for each CI run.
2021-07-23CI: Skip commit linter line length check on lines that contain URLsIdan Horowitz
2021-07-18CI: Enable build breaks on x86_64 test failuresPeter Bindels
2021-07-13CI: Disallow spaces just before the separating colon in commit titlesIdan Horowitz
2021-07-12Meta+CI: Use wabt version 1.0.23 for all CI jobsAndrew Kaster
The WASM spec tests caused a stack overflow when generated with wat2wasm version 1.0.23, which ships with homebrew. To give feature parity, manually download the same version from GitHub packages for Ubuntu. Document the dependencies of the WASM spec tests option, as well.
2021-07-09CI: Run the commit linter for Draft Pull RequestsIdan Horowitz
The commit linter will now run for draft pull requests as well, but BuggieBot will not post a message on failing draft PRs.
2021-07-03CI: Manually cleanup previous self-hosted test262 run workspace folderIdan Horowitz
Unlike the github hosted runners, github's software for self-hosted runners does not do this automatically.
2021-07-03CI: Run the test262 workflow on a self-hosted runnerIdan Horowitz
This should speed it up quite a bit and give us more consistent performance. (So this workflow could eventually be used for perf regression testing as well)
2021-07-02CI: Increase ccache size limit for on-target buildsIdan Horowitz
It turns out that ccache caches are highly compressible (total size is reduced by about 65%), so we should be able to increase the cache limit for some free speedups. :^)
2021-07-01CI: Add x86_64 on target testsIdan Horowitz
2021-07-01CI: Cancel duplicate workflow runs for pull requestsIdan Horowitz
These are created when a pull request is force-pushed to, which results in the unneeded waste of action runners on the obsolete CI run.
2021-06-26CI: Increase the on-target tests timeout to 60 minutes from 30 minutesIdan Horowitz
This should help reduce the random test failures due to timeouts on slower github actions runners.
2021-06-21Meta: Disable USB IDs file download in CIBrian Gianforcaro
These IDs aren't used during the CI build, so there's no use in downloading them needlessly.
2021-06-22LibWasm: Generate all spec tests, even ones that aren't valid modulesAli Mohammad Pur
`wasm-as` will do some semantic analysis on the modules, which is not something we're looking for here. Instead, use `wat2wasm` to generate the exact module.
2021-06-18CI: Remove discord build status notificationsIdan Horowitz
While these look nice, they require the discord workflow to sit around and wait for the build-and-lint workflow to finish in order to get its status which means we waste an extra workflow runner that does nothing for each build-and-lint run.
2021-06-17CI: Remove incorrect single quote escapesin-ack
The A in YAML stands for Ass-backwards.
2021-06-16CI: Make sure the first word of each commit is capitalizedsin-ack
The first word for each commit should be a verb anyway, and this automates @alimpfard's nits. :^)
2021-06-05CI: Run libjs-test262 and update results on every push to masterLinus Groh
2021-06-03CI: Skip saving the toolchain and ccache caches in PR workflowsIdan Horowitz
This speeds up CI by removing some cache thrashing caused by PRs that change cache-related files (but that were not merged yet).
2021-05-29Meta/CI: Remove IRC notificationsAndrew Kaster
With the increased volume of PRs being opened and merged lately, multiple people have complained that the IRC is absolutely flooded with SerenityBot posts. Remove the IRC notifications from the CI scripts, and the Meta script that handles parsing the github actions context into an IRC message.
2021-05-29CI: Use builtin clang-11, clang-12, npm, and libstdc++-10-dev packagesAndrew Kaster
Github Actions added clang-12 to their ubuntu 20.04 images, so let's take full advantage of that. Stop relying on the llvm upstream repository for clang-12, since it often causes jobs to fail when their mirrors are syncing. clang-tidy-11, libstdc++-10-dev and npm 6.14.x are also all already pre-installed, so we don't need to waste time fetching them in the dependency fetch step.
2021-05-29CI: Disable the commit linter on draft pull requestsIdan Horowitz
2021-05-29Meta: Update FUNDING.yml againAndreas Kling
Apparently I didn't understand the format correctly.. :^)
2021-05-29Meta: Update FUNDING.ymlAndreas Kling
Let's keep it simple and stick to GitHub Sponsors here on GitHub. And add Linus since he's on GitHub Sponsors now as well! :^)
2021-05-27CI: Enable UBSAN for on-target testsAndrew Kaster
Note that until UBSAN is made deadly by default in LibSanitizer, UBSAN warnings will not fail the build. Also remove BUILD_LAGOM=ON from the NORMAL_DEBUG build as it's unnecessary and extends the build time for no benefit when building with sanitizers
2021-05-27Meta: Run the Wasm spec tests in CIAli Mohammad Pur
Since LibWasm is still not capable of passing all of the spec tests, ignore failing tests, only fail the build if some segfault/abort/etc occurs.
2021-05-27Meta/CI: Add ENABLE_ALL_DEBUG_FACILITIES CMake optionAndrew Kaster
This option replaces the use of ENABLE_ALL_THE_DEBUG_MACROS in CI runs, and enables all debug options that might be broken by developers unintentionally that are only used in specific debugging situations.
2021-05-23CI: Update comment-on-pr to a version that supports pull_request_target (#7431)Idan Horowitz
The previous version unfortunately didn't work for that workflow type if the author of the PR did not already have write access to the repo.
2021-05-23CI: Enable more verbose and strict sanitizer optionsAndrew Kaster
Options shamelessly stolen from this article on systemd's website: https://systemd.io/TESTING_WITH_SANITIZERS/ We make ASAN more strict and tell UBSAN to print more verbose output on failure. One of the more interesting ASAN options, detect_stack_use_after_return, sadly causes both UBSAN and ASAN failures in test-js.
2021-05-23CI: Make BuggieBot reply to pull requests that fail the commit linterIdan Horowitz
This should help reduce the repeating "Please check the contributing guide" replies from reviewers.
2021-05-21Base/CI: Create and check test-results.log file for on-target testsAndrew Kaster
Change run-tests-and-shutdown.sh to output a dead simple results file that just records how many tests failed. In the CI script, mount the _disk_image after running tests and verify that the number of failed tests is 0. Otherwise, fail the build :^) While we're here, bump the timeout for the tests up to 30 minutes, to make sure that less powerful runners don't fail the job unecessarily.
2021-05-21CI: Add canonical-server/server-backports PPA to get updated QEMUAndrew Kaster
Ubuntu 20.04 only ships QEMU 4.2.1, which is quite an older release. The BuildQemu.sh script uses version 6.0.0, while the server-backports PPA is currently shipping 5.2.1. If it turns out the server-backports PPA is not right, then we can switch to manually building and caching the source build.
2021-05-21Base/CI: Run tests from /usr/Tests in GitHub ActionsAndrew Kaster
Uncomment the tests that were disabled due to frequent freezes when running without KVM. This also adds a new github actions group for every single test, which makes it easier to browse test boundaries during test runs. Move catting the serial output log back to its own step, so that it has higher visibility. The previous solution was also shown to not actually cat the log in the case of a failed boot and timeout :^(.
2021-05-21CI: Bump update-alternatives priority to 100Linus Groh
This didn't seem to have worked in the past, the new value matches the recomendation on the GitHub Actions clang-11 default announcement: https://github.com/actions/virtual-environments/issues/3235
2021-05-21CI: Also apt-get purge clang-11 in build_and_test_lagom stepLinus Groh
We don't need it. A recent change to the ubuntu-20.04 image has made it the default, causing builds to fail - we're installing and want to use clang-12 anyway, so let's just get rid of the other installed versions.
2021-05-16CI: Compile and run Lagom tests with ASAN and UBSANAndrew Kaster
Make sure halt_on_error=1 is enabled so that UBSAN failures will crash the test program and cause a failure.
2021-05-16Meta: Add a check for periods on the end of titles to commit linterIdan Horowitz
2021-05-10Meta: Pin prettier linter versionAdam Hodgen
2021-05-07Meta: Improve man.serenityos.org titles and link namesLinus Groh
Index page: - Change links from "Man 1" to "Section 1" Section index pages: - Change title from "1" to "Section 1 - SerenityOS man pages" - Change links from "foo" to "foo(1)" Man pages: - Change title from "foo" to "foo(1) - SerenityOS man pages"
2021-05-05Meta: Add action to tweet each commit on pushIdan Horowitz
2021-05-04Meta: Strip man prefix from generated man page directoriesIdan Horowitz