Commit Graph

12 Commits

Author SHA1 Message Date
Maurice Ma bde798e186
Add travis Windows build support (#650)
This patch added build for Windows VS2017 in Travis. The following
build will be verified on Travis now:
 - QEMU GCC x86 Debug
 - QEMU GCC x64 Release
 - APL  GCC x64 Debug
 - CFL  GCC x86 Release
 - APL  VC  x86 Debug
 - APL  VC  x64 Release
 - CFL  VC  x86 Release
 - CFL  VC  x64 Debug

Signed-off-by: Maurice Ma <maurice.ma@intel.com>
2020-04-09 13:25:38 -07:00
James Gutbub 24c43c273e Switch all Travis builds to Python 3
Since Python 2.x is EOL'd we should all be
transitioning over to use Python 3.6+. For
information on the latest versions of tools
see the Slim Bootloader documentation:

https://slimbootloader.github.io/getting-started/build-host-setup.html

Signed-off-by: James Gutbub <james.gutbub@intel.com>
2020-04-02 20:08:28 -07:00
Aiden Park ec91a76ed7
[Travis] Enable X64 Build on QEMU (#631)
This patch will enable X64 Build on QEMU as a pre-checker.

Signed-off-by: Aiden Park <aiden.park@intel.com>
2020-04-02 11:34:53 -07:00
Maurice Ma 61d22efd2a Modify travis to run QEMU test
This patch enabled QEMU test script for travis build.

Signed-off-by: Maurice Ma <maurice.ma@intel.com>
2020-02-10 10:54:55 -08:00
Maurice Ma 05f308d8a9 Switch to use Python 3.6 or above for build
Since Python 2.7 is EOL already. SBL needs to drop the support.
This patch switched to use python version 3.6 or above for SBL
build. If lower version is used, warning message will be printed
out.

Signed-off-by: Maurice Ma <maurice.ma@intel.com>
2020-01-09 11:26:04 -08:00
Aiden Park b24fd2759c Cosmetic: Convert LF to CRLF
This will fully support PatchCheck.py.
- Remove all trailing whitespace
- Convert LF to CRLF by default
- Update EFI_D_* to DEBUG_*
- Re-enable CRLF check in PatchCheck.py

Signed-off-by: Aiden Park <aiden.park@intel.com>
2019-12-02 16:21:19 -08:00
Aiden Park 210bd02c47 Fix invalid PatchCheck commit ranges in travis
PatchCheck was using 'TRAVIS_COMMIT_RANGE' travis variable to get commit
range, but it lost tracks when doing force push or rebase. There are many
issue reports about this variable.
To avoid potential issue, let's get the range from git command directly
instead of TRAVIS_COMMIT_RANGE variable.

Signed-off-by: Aiden Park <aiden.park@intel.com>
2019-11-08 03:31:35 +08:00
Aiden Park 5e8a18251b Enable PatchCheck in travis
This will run PatchCheck.py in travis before building a target.
If the format is invalid, travis will exit immediately.

Signed-off-by: Aiden Park <aiden.park@intel.com>
2019-11-07 05:57:31 +08:00
Maurice Ma 47bafebd7c Enable more build options in travis
Current travis build only performs debug build with python 2.
This patch allows to test debug and release build, python2 and
python3 build.

Signed-off-by: Maurice Ma <maurice.ma@intel.com>
2019-08-23 11:31:37 -07:00
Aiden Park 6ef3add50a Enable cfl target on travis pre-commit checker
Signed-off-by: Aiden Park <aiden.park@intel.com>
2019-06-11 16:56:04 -07:00
Matt Borgerson 9ee73898f9 travis: Build both QEMU and APL targets 2018-09-22 14:27:42 -07:00
Matt Borgerson bc470e02ec Add .travis.yml file to enable CI builds 2018-09-20 17:05:41 -07:00