mirror of
https://github.com/google/cpu_features.git
synced 2025-07-03 06:03:17 +02:00
ci: Add docker based test framework
* Add documentation * Add .dockerignore: minimize docker context size to improve speed * Add Makefile: to easily run various docker stages * Add a CMake sample project to check CMake install rules
This commit is contained in:

committed by
Mizux

parent
ca84b91d34
commit
ccc3a51e4c
11
ci/sample/main.cpp
Normal file
11
ci/sample/main.cpp
Normal file
@ -0,0 +1,11 @@
|
||||
#include <iostream>
|
||||
|
||||
#include "cpuinfo_x86.h"
|
||||
|
||||
using namespace cpu_features;
|
||||
|
||||
int main(int /*argc*/, char** /*argv*/) {
|
||||
static const X86Features features = GetX86Info().features;
|
||||
std::cout << std::endl;
|
||||
return 0;
|
||||
}
|
Reference in New Issue
Block a user