mirror of
https://github.com/FDOS/kernel.git
synced 2025-07-25 23:04:57 +02:00
Travis: Initial build attempt
Note: Forced Unix scripts to LF endings
This commit is contained in:
parent
a2ad348ed8
commit
687f31fdae
2
.gitattributes
vendored
2
.gitattributes
vendored
@ -1,3 +1,5 @@
|
|||||||
* text eol=crlf
|
* text eol=crlf
|
||||||
*.up -text
|
*.up -text
|
||||||
*.UP -text
|
*.UP -text
|
||||||
|
travis_*.sh text eol=lf
|
||||||
|
.travis.yml text eol=lf
|
||||||
|
27
.travis.yml
Normal file
27
.travis.yml
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
language: c
|
||||||
|
|
||||||
|
dist: bionic
|
||||||
|
|
||||||
|
addons:
|
||||||
|
apt:
|
||||||
|
sources:
|
||||||
|
- sourceline: 'ppa:dosemu2/ppa'
|
||||||
|
- sourceline: 'ppa:stsp-0/djgpp'
|
||||||
|
- sourceline: 'ppa:tkchia/build-ia16'
|
||||||
|
packages:
|
||||||
|
- gcc-ia16-elf
|
||||||
|
- nasm
|
||||||
|
- upx
|
||||||
|
update: true
|
||||||
|
|
||||||
|
before_install:
|
||||||
|
- echo "before_install"
|
||||||
|
|
||||||
|
install:
|
||||||
|
- ./travis_build.sh
|
||||||
|
|
||||||
|
before_script:
|
||||||
|
- echo "before_script"
|
||||||
|
|
||||||
|
script:
|
||||||
|
- ./travis_test.sh
|
4
travis_build.sh
Executable file
4
travis_build.sh
Executable file
@ -0,0 +1,4 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
make all COMPILER=gcc
|
||||||
|
|
8
travis_test.sh
Executable file
8
travis_test.sh
Executable file
@ -0,0 +1,8 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
if [ -f kernel/kernel.sys ] ; then
|
||||||
|
echo Kernel has been built
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
|
|
||||||
|
exit 1
|
Loading…
x
Reference in New Issue
Block a user