Added Jenkinsfile
This commit is contained in:
parent
7a7d472bb3
commit
f60e9ddfc9
|
@ -16,6 +16,8 @@ echo $CHC_PATH
|
||||||
exit 0'''
|
exit 0'''
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
stage('Build STM32') {
|
||||||
|
parallel {
|
||||||
stage('Build STM32') {
|
stage('Build STM32') {
|
||||||
agent {
|
agent {
|
||||||
docker {
|
docker {
|
||||||
|
@ -34,11 +36,81 @@ for i in *.7z; do 7z x -y $i; done'''
|
||||||
sh '''export CH_PATH=$WORKSPACE/ChibiOS
|
sh '''export CH_PATH=$WORKSPACE/ChibiOS
|
||||||
export CHC_PATH=$WORKSPACE
|
export CHC_PATH=$WORKSPACE
|
||||||
|
|
||||||
./tools/chbuild.sh ./testhal/STM32/'''
|
./tools/chbuild.sh ./testhal/STM32/
|
||||||
|
./tools/chbuild.sh ./demos/STM32/'''
|
||||||
|
}
|
||||||
|
}
|
||||||
|
stage('Build NRF51') {
|
||||||
|
agent {
|
||||||
|
docker {
|
||||||
|
image 'fpoussin/jenkins:ubuntu-18.04-arm'
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
steps {
|
||||||
|
sh '''arm-none-eabi-gcc -v
|
||||||
|
|
||||||
|
rm -rf $CH_PATH
|
||||||
|
git clone -b $CH_BRANCH --single-branch https://github.com/ChibiOS/ChibiOS.git $CH_PATH
|
||||||
|
|
||||||
|
cd $CH_PATH/ext
|
||||||
|
for i in *.7z; do 7z x -y $i; done
|
||||||
|
'''
|
||||||
sh '''export CH_PATH=$WORKSPACE/ChibiOS
|
sh '''export CH_PATH=$WORKSPACE/ChibiOS
|
||||||
export CHC_PATH=$WORKSPACE
|
export CHC_PATH=$WORKSPACE
|
||||||
|
|
||||||
./tools/chbuild.sh ./demos/STM32/'''
|
./tools/chbuild.sh ./testhal/NRF51/
|
||||||
|
./tools/chbuild.sh ./demos/NRF51/
|
||||||
|
'''
|
||||||
|
}
|
||||||
|
}
|
||||||
|
stage('Build NRF52') {
|
||||||
|
agent {
|
||||||
|
docker {
|
||||||
|
image 'fpoussin/jenkins:ubuntu-18.04-arm'
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
steps {
|
||||||
|
sh '''arm-none-eabi-gcc -v
|
||||||
|
|
||||||
|
rm -rf $CH_PATH
|
||||||
|
git clone -b $CH_BRANCH --single-branch https://github.com/ChibiOS/ChibiOS.git $CH_PATH
|
||||||
|
|
||||||
|
cd $CH_PATH/ext
|
||||||
|
for i in *.7z; do 7z x -y $i; done
|
||||||
|
'''
|
||||||
|
sh '''export CH_PATH=$WORKSPACE/ChibiOS
|
||||||
|
export CHC_PATH=$WORKSPACE
|
||||||
|
|
||||||
|
./tools/chbuild.sh ./testhal/NRF52/
|
||||||
|
./tools/chbuild.sh ./demos/NRF52/
|
||||||
|
'''
|
||||||
|
}
|
||||||
|
}
|
||||||
|
stage('Build Kinetis') {
|
||||||
|
agent {
|
||||||
|
docker {
|
||||||
|
image 'fpoussin/jenkins:ubuntu-18.04-arm'
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
steps {
|
||||||
|
sh '''arm-none-eabi-gcc -v
|
||||||
|
|
||||||
|
rm -rf $CH_PATH
|
||||||
|
git clone -b $CH_BRANCH --single-branch https://github.com/ChibiOS/ChibiOS.git $CH_PATH
|
||||||
|
|
||||||
|
cd $CH_PATH/ext
|
||||||
|
for i in *.7z; do 7z x -y $i; done'''
|
||||||
|
sh '''export CH_PATH=$WORKSPACE/ChibiOS
|
||||||
|
export CHC_PATH=$WORKSPACE
|
||||||
|
|
||||||
|
./tools/chbuild.sh ./testhal/KINETIS/
|
||||||
|
./tools/chbuild.sh ./demos/KINETIS/
|
||||||
|
'''
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue