Update readme & fix line endings
continuous-integration/drone/push Build was killed Details

This commit is contained in:
Christoph Honal 2020-02-14 12:22:09 +01:00
parent 5553fdb38c
commit 2785ab16ae
3 changed files with 20 additions and 13 deletions

2
.dockerignore Normal file
View File

@ -0,0 +1,2 @@
.drone.yml
README.md

5
README.md Normal file
View File

@ -0,0 +1,5 @@
# hello-ci
[![Build Status](https://drone.chrz.de/api/badges/chonal/hello-ci/status.svg)](https://drone.chrz.de/chonal/hello-ci)
Demo project for the Raspberry Pi cross compoler, see https://chrz.de/2020/02/14/raspberry-pi-cross-compilation-using-docker/.

View File

@ -1,14 +1,14 @@
#include <iostream>
#include <sys/utsname.h>
using namespace std;
struct utsname unameData;
int main()
{
cout << "Hello from binary!" << endl;
uname(&unameData);
printf("Running on %s, %s\n", unameData.sysname, unameData.machine);
return 0;
#include <iostream>
#include <sys/utsname.h>
using namespace std;
struct utsname unameData;
int main()
{
cout << "Hello from binary!" << endl;
uname(&unameData);
printf("Running on %s, %s\n", unameData.sysname, unameData.machine);
return 0;
}