Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
47 lines (42 sloc) 1.82 KB
dependencies:
pre:
- sudo apt-get update
- sudo apt-get install grub-pc
- sudo apt-get install libgmp3-dev
- sudo apt-get install libmpfr-dev
- sudo apt-get install libmpc-dev
- sudo apt-get install texinfo
- sudo apt-get install libisl-dev
- sudo apt-get install libcloog-isl-dev
- bash ci/toolchain.sh i686-pc-elf
- bash ci/toolchain.sh x86_64-pc-elf
cache_directories:
- ~/cross
compile:
override:
- ./autogen.sh
- ./configure --host=i686-pc-elf
- make 2>&1 | tee build.log
- mkdir -p $CIRCLE_ARTIFACTS/i686-pc-elf
- cp config.log $CIRCLE_ARTIFACTS/i686-pc-elf/config.txt
- cp build.log $CIRCLE_ARTIFACTS/i686-pc-elf/build.txt
- cp kernel/arch/x86/Kernel.elf $CIRCLE_ARTIFACTS/i686-pc-elf/
- cp drivers/pc/floppy/Floppy.elf $CIRCLE_ARTIFACTS/i686-pc-elf/
- cp images/x86/NOS.iso $CIRCLE_ARTIFACTS/i686-pc-elf/
- make clean
- ./configure --host=x86_64-pc-elf
- make 2>&1 | tee build.log
- mkdir -p $CIRCLE_ARTIFACTS/x86_64-pc-elf
- cp config.log $CIRCLE_ARTIFACTS/x86_64-pc-elf/config.txt
- cp build.log $CIRCLE_ARTIFACTS/x86_64-pc-elf/build.txt
- cp kernel/arch/x86/Kernel.elf $CIRCLE_ARTIFACTS/x86_64-pc-elf/
- cp drivers/pc/floppy/Floppy.elf $CIRCLE_ARTIFACTS/x86_64-pc-elf/
- cp images/x86/NOS.iso $CIRCLE_ARTIFACTS/x86_64-pc-elf/
test:
override:
- test -f $CIRCLE_ARTIFACTS/i686-pc-elf/Kernel.elf
- test -f $CIRCLE_ARTIFACTS/i686-pc-elf/Floppy.elf
- test -f $CIRCLE_ARTIFACTS/i686-pc-elf/NOS.iso
- test -f $CIRCLE_ARTIFACTS/x86_64-pc-elf/Kernel.elf
- test -f $CIRCLE_ARTIFACTS/x86_64-pc-elf/Floppy.elf
- test -f $CIRCLE_ARTIFACTS/x86_64-pc-elf/NOS.iso
You can’t perform that action at this time.