forked from PAWPAW-Mirror/lib_xua
xmosdfu now compiles to bin/; Add more compile tests to Jenkinsfile
This commit is contained in:
36
Jenkinsfile
vendored
36
Jenkinsfile
vendored
@@ -84,6 +84,42 @@ pipeline {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
stage('Build Pi host app') {
|
||||||
|
agent {
|
||||||
|
label 'pi'
|
||||||
|
}
|
||||||
|
steps {
|
||||||
|
dir("${REPO}") {
|
||||||
|
checkout scm
|
||||||
|
dir("${REPO}/host/xmosdfu") {
|
||||||
|
sh 'make -f Makefile.Pi'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
post {
|
||||||
|
cleanup {
|
||||||
|
xcoreCleanSandbox()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
stage('Build Windows host app') {
|
||||||
|
agent {
|
||||||
|
label 'x86_64&&windows'
|
||||||
|
}
|
||||||
|
steps {
|
||||||
|
dir("${REPO}") {
|
||||||
|
checkout scm
|
||||||
|
dir("${REPO}/host/xmosdfu") {
|
||||||
|
runVS('nmake /f Makefile.Win32')
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
post {
|
||||||
|
cleanup {
|
||||||
|
xcoreCleanSandbox()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('Update') {
|
stage('Update') {
|
||||||
|
|||||||
@@ -1,2 +1,3 @@
|
|||||||
all:
|
all:
|
||||||
g++ -m32 -Wall -g -o xmosdfu xmosdfu.cpp -Ilibusb/Linux32 -lusb-1.0
|
mkdir -p bin
|
||||||
|
g++ -m32 -Wall -g -o bin/xmosdfu xmosdfu.cpp -Ilibusb/Linux32 -lusb-1.0
|
||||||
|
|||||||
@@ -1,2 +1,3 @@
|
|||||||
all:
|
all:
|
||||||
g++ -Wall -g -o xmosdfu xmosdfu.cpp -Ilibusb/Linux32 -lusb-1.0
|
mkdir -p bin
|
||||||
|
g++ -Wall -g -o bin/xmosdfu xmosdfu.cpp -Ilibusb/Linux32 -lusb-1.0
|
||||||
|
|||||||
@@ -1,2 +1,3 @@
|
|||||||
all:
|
all:
|
||||||
g++ -g -o xmosdfu xmosdfu.cpp -Ilibusb/OSX32 libusb/OSX32/libusb-1.0.0.dylib -m32 -Wall
|
mkdir -p bin
|
||||||
|
g++ -g -o bin/xmosdfu xmosdfu.cpp -Ilibusb/OSX32 libusb/OSX32/libusb-1.0.0.dylib -m32 -Wall
|
||||||
|
|||||||
@@ -1,2 +1,3 @@
|
|||||||
all:
|
all:
|
||||||
g++ -g -o xmosdfu xmosdfu.cpp -Ilibusb/OSX64 libusb/OSX64/libusb-1.0.0.dylib -Wall
|
mkdir -p bin
|
||||||
|
g++ -g -o bin/xmosdfu xmosdfu.cpp -Ilibusb/OSX64 libusb/OSX64/libusb-1.0.0.dylib -Wall
|
||||||
|
|||||||
@@ -5,4 +5,5 @@
|
|||||||
# vendor and product IDs
|
# vendor and product IDs
|
||||||
|
|
||||||
xmosdfu: xmosdfu.cpp
|
xmosdfu: xmosdfu.cpp
|
||||||
g++ -D_GNU_SOURCE -Wall -g -o xmosdfu -Ilibusb/Rasp -lusb-1.0 -x c xmosdfu.cpp -std=c99
|
mkdir -p bin
|
||||||
|
g++ -D_GNU_SOURCE -Wall -g -o bin/xmosdfu -Ilibusb/Rasp -lusb-1.0 -x c xmosdfu.cpp -std=c99
|
||||||
|
|||||||
Reference in New Issue
Block a user