-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 920f557
Showing
45,653 changed files
with
18,438,838 additions
and
0 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
git: | ||
depth: 3 | ||
language: c | ||
os: linux | ||
sudo: false | ||
addons: | ||
apt: | ||
packages: | ||
- fakeroot | ||
script: | ||
- export SRC=`pwd`/source | ||
- export CACHE=`pwd`/build | ||
- mkdir -p $CACHE | ||
- cd source | ||
- if [ -f ${CACHE}/.config ];then echo "exist .config";else make O=../build oldconfig;fi | ||
- rm .config* | ||
- if [[ -f ${CACHE}/touch_order.txt ]]; then | ||
while fn in `cat ${CACHE}/touch_order.txt`; do | ||
touch $fn; | ||
done; | ||
fi | ||
- if [[ -f ${CACHE}/previous_git_commit.txt ]]; then | ||
read PREVIOUS_GIT_COMMIT < ${CACHE}/previous_git_commit.txt; | ||
changed_files=`git diff --name-only $PREVIOUS_GIT_COMMIT HEAD`; | ||
touch `echo $changed_files`; | ||
fi | ||
|
||
- make O=../build -j$(nproc) | ||
- make O=../build deb-pkg -j4 | ||
- find ./source/ -type f -printf "%T+\t%p\n" | sort | cut -f 2 > ${CACHE}/touch_order.txt | ||
- cd .. | ||
- git rev-parse HEAD > ${CACHE}/previous_git_commit.txt | ||
cache: | ||
apt: true | ||
directories: | ||
- build | ||
deploy: | ||
provider: releases | ||
api_key: | ||
secure: Xpo6ocj3p5sE0a9/kEYBQZ5jM8u8i1XDcmJO6OGUJwSfqESVHm5smyZPm3aj/XGyUYltjz0Zh7NHZkmbBcxIlPobmrKANFICZHrf5bAKs52+PB8fjY0ly5ZByT0pfqrmMbw41b7YNAIgaAuUR8LXjo2KHyXYMwI221GfCfZSb70RFmoee1jM2e4yzeC7R4DJm33Zg/aU8hYF/6AKNuPKM59we+MbFaQwN74EjHQcz+cN7wrcuQfp/SLwFN0FgjxMY1hQyOoMtBDp/9jBH4I6xrrzQ2AEJibZNKxieYjcnIUhdQzU1Alu+UeaW/+9XKeXvJ/MIrlLUQhUJ49NYg9WCcAF/Me7+nH34GxuJIG9mTKC00H85QR7At7F7XdsDTvjrRXqU9WRQz/vPFyAA2uKueCYWKAr8j3bqcXIWqECPmlcEHJnbfVJmCa87azJ5xSN6988ZXsAPirl10zX99jx4VAE0zWnWgWbBuSCwdcgvH99iJWPJk5rHqydSocoXP1aJTGoLP5I1vQTObEqpe4ZChHqoXZc/4yQ3CS9t9/IfSQyRB1bLfe9gQs7TtR3DvXyyP+jGqZ3s708ivahRbJQ5xmmAk6C6BYcKTcUs9pMfTuN5v9DWhLYSr+vCbRjgqov1H36n33vHVs6r/iT13wyNxp9ox2qaYN5yRh/H117oKw= | ||
file: | ||
- build/linux-*.deb | ||
skip_cleanup: true | ||
on: | ||
tags: true | ||
repo: ziqiaozhou/cachebar |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Status | ||
|
||
| Ubuntu x86_64 | | ||
| ------------- | | ||
||| | ||
|
||
# See https://github.com/ziqiaozhou/cachebar/wiki for details |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
getconf -a|grep CACHE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
IMG=qemu-image.img | ||
DIR=mount-point.dir | ||
qemu-img create $IMG 1g | ||
mkfs.ext2 $IMG | ||
mkdir $DIR | ||
sudo mount -o loop $IMG $DIR | ||
sudo debootstrap --arch amd64 jessie $DIR | ||
sudo umount $DIR | ||
#rmdir $DIR | ||
sudo chroot $DIR |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
qemu-system-x86_64 -kernel $1 \ | ||
-hda qemu-image.img\ | ||
-append "root=/dev/sda"\ | ||
-nographic\ | ||
-curses\ | ||
-enable-kvm | ||
|
||
#-append "root=/dev/sda console=ttyS0"\ |
Oops, something went wrong.