Commit Graph

7 Commits

Author SHA1 Message Date
brentholtsclaw 28e5a6730b Modify workflows to install pip requirements and use python3
Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com>
2022-01-20 17:32:45 -08:00
Nicolas Iooss 96e664033b 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-10 17:01:53 -08:00
Nicolas Iooss 762042df59 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>
2022-01-10 15:04:33 -08:00
Nicolas Iooss a936d23874 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-12-02 16:18:44 -08:00
Nathaniel Mitchell 84121ba735 Remove ubuntu16.04 per support being removed.
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
2021-10-11 16:26:41 -07:00
Nathaniel Mitchell b212c8ba5f Warn and force user to interact if running python2 in an OS
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
2021-08-31 16:35:56 -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