- Add Alpine 3.14, 3.15 and 3.16 to test building with more Linux kernel
versions
- Add CentOS Stream 8 and 9, using images from quay.io, as they are not
on Docker Hub (this introduces a new variable `distro.image_prefix`)
- Add Debian 11 and adjust kernel version detection, as
`dpkg --status linux-headers-amd64` now returns something in
parentheses, `Depends: linux-headers-5.10.0-15-amd64 (= 5.10.120-1)`
- Add Ubuntu 22.04 and use it as the base environment for tests using
Docker
- Add Python 3.10 (this requires quoting the version, otherwise GitHub
parses the version as "3.1" instead)
- Update fallback DKMS version to the latest release, v3.0.5
Signed-off-by: Nicolas Iooss <nicolas.iooss_git@polytechnique.org>
This reverts commit 67912f14b9. Arch Linux
updated package dkms with the fix for the regression. So the fix is no
longer needed in GitHub Action workflow.
Signed-off-by: Nicolas Iooss <nicolas.iooss_git@polytechnique.org>
Introduce some configuration for GitHub Action jobs which:
* Build chipsec's Linux kernel module for several Linux distributions
(using Docker containers).
* Build chipsec's Windows kernel driver (using the Visual Studio
installation provided in Windows images of GitHub Actions) and run
`python setup.py install` on Windows.
* Install chipsec in some Ubuntu virtual machines and run
`python setup.py install` and `chipsec_main`.
For now, only x86_64 architecture is tested.