Skip to content

Commit

Permalink
Merge branch 'devel'
Browse files Browse the repository at this point in the history
  • Loading branch information
lerwys committed Mar 20, 2020
2 parents d94b0c2 + 8e122e5 commit 0a82818
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions ci_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,32 +15,32 @@ GIT_DESCRIBE=$(git describe --tags --abbrev=10)
# Declare all combinations for deploy all
# Note that the key is the name of the release object
declare -A BUILDS
BUILDS[openMMC-afc-bpm-3.0-${GIT_DESCRIBE}]="\
BUILDS[afc-bpm-3.0-${GIT_DESCRIBE}]="\
-DBOARD=afc-bpm \
-DVERSION=3.0 \
-DBOARD_RTM= \
-DCMAKE_BUILD_TYPE=Release"
BUILDS[openMMC-afc-bpm-3.1-${GIT_DESCRIBE}]="\
BUILDS[afc-bpm-3.1-${GIT_DESCRIBE}]="\
-DBOARD=afc-bpm \
-DVERSION=3.1 \
-DBOARD_RTM= \
-DCMAKE_BUILD_TYPE=Release"
BUILDS[openMMC-afc-timing-${GIT_DESCRIBE}]="\
BUILDS[afc-timing-${GIT_DESCRIBE}]="\
-DBOARD=afc-timing \
-DVERSION= \
-DBOARD_RTM=rtm-8sfp \
-DCMAKE_BUILD_TYPE=Release"
BUILDS[openMMC-debug-afc-bpm-3.0-${GIT_DESCRIBE}]="\
BUILDS[debug-afc-bpm-3.0-${GIT_DESCRIBE}]="\
-DBOARD=afc-bpm \
-DVERSION=3.0 \
-DBOARD_RTM= \
-DCMAKE_BUILD_TYPE=RelWithDebInfo"
BUILDS[openMMC-debug-afc-bpm-3.1-${GIT_DESCRIBE}]="\
BUILDS[debug-afc-bpm-3.1-${GIT_DESCRIBE}]="\
-DBOARD=afc-bpm \
-DVERSION=3.1 \
-DBOARD_RTM= \
-DCMAKE_BUILD_TYPE=RelWithDebInfo"
BUILDS[openMMC-debug-afc-timing-${GIT_DESCRIBE}]="\
BUILDS[debug-afc-timing-${GIT_DESCRIBE}]="\
-DBOARD=afc-timing \
-DVERSION= \
-DBOARD_RTM=rtm-8sfp \
Expand All @@ -52,7 +52,7 @@ case "${DEPLOY}" in
all)
# Generate builds for all list items
for build in "${!BUILDS[@]}"; do
echo "Generating build for " ${build} && \
echo "Generating build for:" ${build} && \
mkdir -p ${BUILD_DIR}-${build} && \
cd ${BUILD_DIR}-${build} && \
cmake ../ ${BUILDS[${build}]}
Expand All @@ -70,13 +70,13 @@ case "${DEPLOY}" in
mkdir -p ${RELEASE_DIR}
for build in "${!BUILDS[@]}"; do
case "${build}" in
openMMC-debug*)
cp build-${build}/out/openMMC.axf ${RELEASE_DIR}/openMMC-${build}.axf
debug*)
cp ${BUILD_DIR}-${build}/out/openMMC.axf ${RELEASE_DIR}/openMMC-${build}.axf
;;

*)
cp build-${build}/out/openMMC.bin ${RELEASE_DIR}/openMMC-${build}.bin
cp build-${build}/out/openMMC_full.bin ${RELEASE_DIR}/openMMC-full-${build}.bin
cp ${BUILD_DIR}-${build}/out/openMMC.bin ${RELEASE_DIR}/openMMC-${build}.bin
cp ${BUILD_DIR}-${build}/out/openMMC_full.bin ${RELEASE_DIR}/openMMC-full-${build}.bin
;;
esac
done
Expand Down

0 comments on commit 0a82818

Please sign in to comment.