summaryrefslogtreecommitdiff
path: root/.github
Commit message (Collapse)AuthorAgeFilesLines
* ci: Add missing permission `security-events`Jan Macku2023-01-261-0/+3
| | | | | | | | | | Differential ShellCheck requires permission `security-events: write` to successfully upload the SARIF file to GitHub. This permission might be optional for some repositories since they allow all permissions for all workflows in settings. But I wouldn't advise this setting since the best security practice is to allow only a minimal set of required permissions.
* ci(lint): add shell linter - Differential ShellCheckJan Macku2023-01-161-0/+38
| | | | | | | | It performs differential ShellCheck scans and report results directly in pull request. documentation: https://github.com/redhat-plumbers-in-action/differential-shellcheck
* .github: switch from actions/checkout@v2 to actions/checkout@v3Dmitry V. Levin2022-12-021-56/+56
| | | | | | | | | | This fixes the following diagnostic warning: Node.js 12 actions are deprecated. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/. * .github/workflows/ci.yml: Replace actions/checkout@v2 with actions/checkout@v3.
* .github: remove gcc7 jobsDmitry V. Levin2022-08-161-46/+0
| | | | | | | | | | This old compiler was provided by the old version of the OS that is currently being deprecated by github actions. * .github/workflows/ci.yml (gcc7-x86_64-kheaders, gcc7-x86_64-dw, gcc7-x86_64-unwind): Remove. Link: https://github.com/actions/runner-images/issues/6002
* .github: add gcc-12, clang-13, and clang-14 jobsldv/github-ciDmitry V. Levin2022-07-211-0/+262
| | | | | | | | | | | | | These new compilers are provided by the latest version of the OS currently available in ci, which apparently is not ubuntu-latest yet. * .github/workflows/ci.yml (gcc12-x86_64-kheaders, gcc12-x86_64-dw, gcc12-x86_64-unwind, clang14-x86_64-kheaders, clang14-x86_64-dw, clang14-x86_64-unwind, clang13-x86_64-kheaders, clang13-x86_64-dw, clang13-x86_64-unwind, gcc12-x32-kheaders, gcc12-x32-nostacktrace, gcc12-x86-kheaders, gcc12-x86-nostacktrace, clang14-x86-kheaders, clang14-x86-nostacktrace, clang13-x86-kheaders, clang13-x86-nostacktrace): New jobs.
* .github: switch gcc-11 and clang-12 jobs to ubuntu-22.04Dmitry V. Levin2022-07-021-12/+12
| | | | | | | | | | | | | Unlike ubuntu-20.04 image, in ubuntu-22.04 the versions of bundled gcc and clang are gcc-11 and clang-12, respectively, so it makes sense switching to the image where the required compiler is already installed. * .github/workflows/ci.yml (gcc11-x86_64-kheaders, gcc11-x86_64-dw, gcc11-x86_64-unwind, clang12-x86_64-kheaders, clang12-x86_64-dw, clang12-x86_64-unwind, gcc11-x32-kheaders, gcc11-x32-nostacktrace, gcc11-x86-kheaders, gcc11-x86-nostacktrace, clang12-x86-kheaders, clang12-x86-nostacktrace) <runs-on>: Change from ubuntu-20.04 to ubuntu-22.04.
* .github: switch coverage job to ubuntu-latestDmitry V. Levin2022-07-011-1/+1
| | | | | | | | | While ubuntu-latest in ci is not necessarily the latest version of the OS available in ci, it's the default version, so let's try to use it for the coverage. * .github/workflows/ci.yml (coverage) <runs-on>: Change from ubuntu-20.04 to ubuntu-latest.
* .github: switch whitespace-errors job to ubuntu-latestDmitry V. Levin2022-07-011-1/+1
| | | | | | | | | While ubuntu-latest in ci is not necessarily the latest version of the OS available in ci, whitespace-errors job should be agnostic to the version being used, so use the default one. * .github/workflows/ci.yml (whitespace-errors) <runs-on>: Change from ubuntu-20.04 to ubuntu-latest.
* ci: re-enable testing with the latest mainline kernel headersDmitry V. Levin2021-12-021-1/+0
| | | | | | | | There should be no issues with v5.16-rc3. * .github/workflows/ci.yml (env): Remove KBRANCH. * .gitlab-ci.yml (variables): Likewise. * .travis.yml (env:global): Likewise.
* ci: use kernel headers from Linux kernel v5.15Dmitry V. Levin2021-11-041-1/+1
| | | | | | * .github/workflows/ci.yml (env): Change KBRANCH from v5.14 to v5.15. * .gitlab-ci.yml (variables): Likewise. * .travis.yml (env:global): Likewise.
* ci: use kernel headers from Linux kernel v5.14Dmitry V. Levin2021-09-011-0/+1
| | | | | | | | | | | | When Linux kernel merge window opens, changes of all sorts start to pour down, breaking UAPI in various ways. This does not work for strace, we need a stable UAPI. This change repeats commit v5.8~1. * .github/workflows/ci.yml (env): Add KBRANCH. * .gitlab-ci.yml (variables): Likewise. * .travis.yml (env:global): Likewise.
* github: add jobs for gcc-11, clang-12, and clang-11Dmitry V. Levin2021-06-121-21/+206
| | | | | | | | | | * .github/workflows/ci.yml (gcc11-x86_64-kheaders, gcc11-x86_64-dw, gcc11-x86_64-unwind, clang12-x86_64-kheaders, clang12-x86_64-dw, clang12-x86_64-unwind, clang11-x86_64-kheaders, clang11-x86_64-dw, clang11-x86_64-unwind, gcc11-x32-kheaders, gcc11-x32-nostacktrace, gcc11-x86-kheaders, gcc11-x86-nostacktrace, clang12-x86-kheaders, clang12-x86-nostacktrace, clang11-x86-kheaders, clang11-x86-nostacktrace): New jobs.
* .github: partially migrate from ubuntu-18.04 to ubuntu-20.04Dmitry V. Levin2020-11-291-116/+54
| | | | | * .github/workflows/ci.yml (runs-on): Stick gcc7 jobs with ubuntu-18.04, switch all the rest from ubuntu-latest to ubuntu-20.04.
* ci: re-enable testing with the latest mainline kernel headersldv/linux-5.9Dmitry V. Levin2020-09-061-1/+0
| | | | | | | | | There should be no issues with v5.9-rc4. This reverts commit 1c84f0b04d0fd8d37afd29a4c959fb8c863bcfdb. * .github/workflows/ci.yml (env): Remove KBRANCH. * .gitlab-ci.yml (variables): Likewise. * .travis.yml (env:global): Likewise.
* ci: use kernel headers from Linux kernel v5.8Dmitry V. Levin2020-08-041-0/+1
| | | | | | | | | | When Linux kernel merge window opens, changes of all sorts start to pour down, breaking UAPI in various ways. This does not work for strace, we need a stable UAPI. * .github/workflows/ci.yml (env): Add KBRANCH. * .gitlab-ci.yml (variables): Likewise. * .travis.yml (env:global): Likewise.
* ci: re-enable testing with the latest mainline kernel headersDmitry V. Levin2020-06-161-1/+0
| | | | | | | | | There should be no issues with v5.8-rc1. This reverts commit 734066585ba865740ab45651bc6e3e8ab249927f. * .github/workflows/ci.yml (env): Remove KBRANCH. * .gitlab-ci.yml (variables): Likewise. * .travis.yml (env:global): Likewise.
* ci: use kernel headers from Linux kernel v5.7Dmitry V. Levin2020-06-031-0/+1
| | | | | | | | | | When Linux kernel merge window opens, changes of all sorts start to pour down, breaking UAPI in various ways. This does not work for strace, we need a stable UAPI. * .github/workflows/ci.yml (env): Add KBRANCH. * .gitlab-ci.yml (variables): Likewise. * .travis.yml (env:global): Likewise.
* ci: re-enable testing with the latest mainline kernel headersDmitry V. Levin2020-05-271-1/+0
| | | | | | | | | There should be no issues with v5.7-rc7. This reverts commit dc6a196f3a83103e8ba21b6809246d37356ffd3d. * .github/workflows/ci.yml (env): Remove KBRANCH. * .gitlab-ci.yml (variables): Likewise. * .travis.yml (env:global): Likewise.
* github: add gcc-10 jobsldv/gcc-10Dmitry V. Levin2020-04-241-0/+108
| | | | | | * .github/workflows/ci.yml (gcc10-x86_64-kheaders, gcc10-x86_64-dw, gcc10-x86_64-unwind, gcc10-x32-kheaders, gcc10-x32-nostacktrace, gcc10-x86-kheaders, gcc10-x86-nostacktrace): New jobs.
* github: add CI actionDmitry V. Levin2020-04-062-11/+418
| | | | | | | | | | | | | | | | Somewhat similar to Travis CI, this runs "make distcheck" on Ubuntu 18.04 using gcc-9, gcc-7, clang-9, and clang-6 on x86_64, x86, and x32 architectures. Compared with Travis CI, GitHub Actions service currently provides a significantly better parallelism as well as (unsurprisingly) better integration with github. However, GitHub Actions cannot replace Travis CI completely as the latter can build on aarch64, s390x, and ppc64le architectures. * .github/workflows/source-code-check.yml: Remove. * .github/workflows/ci.yml: New file.
* github: check source code for whitespace errors on every push and pull requestDmitry V. Levin2020-03-201-0/+11
* .github/workflows/source-code-check.yml: New file.