Nicolas Iooss
cebf53dee5
Configure GitHub Actions to stay on Windows Server 2019 for now
...
GitHub recently upgraded their `windows-latest` environment to Windows
Server 2022:
https://github.blog/changelog/2022-01-11-github-actions-jobs-running-on-windows-latest-are-now-running-on-windows-server-2022/
This environment includes Visual Studio 2022 (cf.
https://github.com/actions/virtual-environments/blob/7f1bc9ed1e3cff016136346e8f12eec301c6c11f/images/win/Windows2022-Readme.md#visual-studio-enterprise-2022
), which is currently not supported by the WDK (Windows Driver Kit):
https://docs.microsoft.com/en-us/windows-hardware/drivers/download-the-wdk#download-and-install-the-windows-11-wdk
Because of this incompatibility, force the workflows to stay on Windows
Server 2019 environments for now.
Signed-off-by: Nicolas Iooss <nicolas.iooss_git@polytechnique.org >
2022-02-16 08:24:09 -08:00
Nicolas Iooss
50978b0c9e
Remove Ubuntu 20.10 from GitHub Actions CI
...
Ubuntu removed packages for Ubuntu 20.10 (Groovy Gorilla) on
http://archive.ubuntu.com/ubuntu/dists/ , so the container no longer
works. This is normal, because this version was not a LTS (Long Term
Support) release.
Signed-off-by: Nicolas Iooss <nicolas.iooss_git@polytechnique.org >
2022-01-05 12:35:15 -08:00
Nicolas Iooss
cd5068b92e
Revert "Backport patch for DKMS 3.0 regression"
...
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 >
2021-11-29 10:43:03 -08:00
Nicolas Iooss
67912f14b9
Backport patch for DKMS 3.0 regression
...
DKMS 3.0 broke `dkms add drivers/linux` (cf.
https://github.com/chipsec/chipsec/pull/1305#issuecomment-970693380 ).
This was fixed upstream in https://github.com/dell/dkms/pull/178 .
While waiting for a new DKMS release which would be applied by Arch
Linux maintainers, it is possible to work around the issue by removing
some checks from the `dkms` script. Add a `sed` command which does that.
Signed-off-by: Nicolas Iooss <nicolas.iooss_git@polytechnique.org >
2021-11-17 14:55:08 -08:00
Nathaniel Mitchell
1a553949e1
Remove ubuntu16.04 per support being removed.
...
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com >
2021-09-22 10:18:44 -07:00
Nathaniel Mitchell
569a7113af
Warn and force user to interact if running python2 in an OS
...
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com >
2021-08-26 10:46:55 -07:00
Nicolas Iooss
41ff0d4530
Configure GitHub Actions to test some features
...
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.
2021-05-18 20:07:47 -07:00