Commit 954bfc70 authored by ab0027's avatar ab0027 💬

Group builds together

parent baddf1d0
Pipeline #2245 failed with stages
in 4 minutes and 53 seconds
......@@ -18,121 +18,34 @@ after_script:
- du -h *.AppImage || true
- du -h *.deb || true
- du -h *.apk || true
### Grouped builds together to reduce build time
### Ungrouped single job per build was last available on commit 00ed10f48abbe0032e67b9b8ea8ba87342b69b35
###
# Stage builds-amd64
###
build-mauikit-amd64:
builds-amd64:
image: mauikit/ubuntu-18.04-amd64
stage: builds-amd64
script:
- export BRANCH=$([ -z $BRANCH_MAUIKIT ] && echo "master" || echo $BRANCH_MAUIKIT)
- export TARGET_ARCH="amd64"
- export BRANCH=$([ -z $BRANCH_MAUIKIT ] && echo "master" || echo $BRANCH_MAUIKIT)
- ./mauikit/build.sh
artifacts:
paths:
- "mauikit*amd64*.deb"
cache:
key: cache-builds-amd64
build-index-amd64:
image: mauikit/ubuntu-18.04-amd64
stage: builds-amd64
script:
- export BRANCH=$([ -z $BRANCH_INDEX ] && echo "master" || echo $BRANCH_INDEX)
- export TARGET_ARCH="amd64"
- ./index/build.sh
artifacts:
paths:
- "index*amd64*.AppImage"
- "index*amd64*.deb"
cache:
key: cache-builds-amd64
build-nota-amd64:
image: mauikit/ubuntu-18.04-amd64
stage: builds-amd64
script:
- export BRANCH=$([ -z $BRANCH_NOTA ] && echo "master" || echo $BRANCH_NOTA)
- export TARGET_ARCH="amd64"
- ./nota/build.sh
artifacts:
paths:
- "nota*amd64*.AppImage"
- "nota*amd64*.deb"
cache:
key: cache-builds-amd64
build-buho-amd64:
image: mauikit/ubuntu-18.04-amd64
stage: builds-amd64
script:
- export BRANCH=$([ -z $BRANCH_BUHO ] && echo "master" || echo $BRANCH_BUHO)
- export TARGET_ARCH="amd64"
- ./buho/build.sh
artifacts:
paths:
- "buho*amd64*.AppImage"
- "buho*amd64*.deb"
cache:
key: cache-builds-amd64
build-vvave-amd64:
image: mauikit/ubuntu-18.04-amd64
stage: builds-amd64
script:
- export BRANCH=$([ -z $BRANCH_VVAVE ] && echo "master" || echo $BRANCH_VVAVE)
- export TARGET_ARCH="amd64"
- ./vvave/build.sh
artifacts:
paths:
- "vvave*amd64*.AppImage"
- "vvave*amd64*.deb"
cache:
key: cache-builds-amd64
build-pix-amd64:
image: mauikit/ubuntu-18.04-amd64
stage: builds-amd64
script:
- export BRANCH=$([ -z $BRANCH_PIX ] && echo "master" || echo $BRANCH_PIX)
- export TARGET_ARCH="amd64"
- ./pix/build.sh
artifacts:
paths:
- "pix*amd64*.AppImage"
- "pix*amd64*.deb"
cache:
key: cache-builds-amd64
build-station-amd64:
image: mauikit/ubuntu-18.04-amd64
stage: builds-amd64
script:
- export BRANCH=$([ -z $BRANCH_STATION ] && echo "master" || echo $BRANCH_STATION)
- export TARGET_ARCH="amd64"
- ./station/build.sh
artifacts:
paths:
- "station*amd64*.AppImage"
- "station*amd64*.deb"
cache:
key: cache-builds-amd64
build-contacts-amd64:
image: mauikit/ubuntu-18.04-amd64
stage: builds-amd64
script:
- export BRANCH=$([ -z $BRANCH_CONTACTS ] && echo "master" || echo $BRANCH_CONTACTS)
- export TARGET_ARCH="amd64"
- ./contacts/build.sh
artifacts:
paths:
- "contacts*amd64*.AppImage"
- "contacts*amd64*.deb"
cache:
key: cache-builds-amd64
###
# END Stage builds-amd64
###
......@@ -141,130 +54,28 @@ build-contacts-amd64:
###
# Stage builds-arm
###
build-mauikit-arm64:
builds-arm64:
image: mauikit/ubuntu-18.04-arm64
stage: builds-arm
script:
- export BRANCH=$([ -z $BRANCH_MAUIKIT ] && echo "master" || echo $BRANCH_MAUIKIT)
- export TARGET_ARCH="arm64"
- export EXTRA_CMAKE_ARGS="-DCMAKE_TOOLCHAIN_FILE=/arm64-toolchain.cmake"
- export BRANCH=$([ -z $BRANCH_MAUIKIT ] && echo "master" || echo $BRANCH_MAUIKIT)
- ./mauikit/build.sh
artifacts:
paths:
- "mauikit*arm64*.deb"
cache:
key: cache-builds-arm
build-index-arm64:
image: mauikit/ubuntu-18.04-arm64
stage: builds-arm
script:
- export BRANCH=$([ -z $BRANCH_INDEX ] && echo "master" || echo $BRANCH_INDEX)
- export TARGET_ARCH="arm64"
- export EXTRA_CMAKE_ARGS="-DCMAKE_TOOLCHAIN_FILE=/arm64-toolchain.cmake"
- ./index/build.sh
artifacts:
paths:
- "index*arm64*.AppImage"
- "index*arm64*.deb"
- "index*.apk"
cache:
key: cache-builds-arm
build-nota-arm64:
image: mauikit/ubuntu-18.04-arm64
stage: builds-arm
script:
- export BRANCH=$([ -z $BRANCH_NOTA ] && echo "master" || echo $BRANCH_NOTA)
- export TARGET_ARCH="arm64"
- export EXTRA_CMAKE_ARGS="-DCMAKE_TOOLCHAIN_FILE=/arm64-toolchain.cmake"
- ./nota/build.sh
artifacts:
paths:
- "nota*arm64*.AppImage"
- "nota*arm64*.deb"
- "nota*.apk"
cache:
key: cache-builds-arm
build-buho-arm64:
image: mauikit/ubuntu-18.04-arm64
stage: builds-arm
script:
- export BRANCH=$([ -z $BRANCH_BUHO ] && echo "master" || echo $BRANCH_BUHO)
- export TARGET_ARCH="arm64"
- export EXTRA_CMAKE_ARGS="-DCMAKE_TOOLCHAIN_FILE=/arm64-toolchain.cmake"
- ./buho/build.sh
artifacts:
paths:
- "buho*arm64*.AppImage"
- "buho*arm64*.deb"
- "buho*.apk"
cache:
key: cache-builds-arm
build-vvave-arm64:
image: mauikit/ubuntu-18.04-arm64
stage: builds-arm
script:
- export BRANCH=$([ -z $BRANCH_VVAVE ] && echo "master" || echo $BRANCH_VVAVE)
- export TARGET_ARCH="arm64"
- export EXTRA_CMAKE_ARGS="-DCMAKE_TOOLCHAIN_FILE=/arm64-toolchain.cmake"
- ./vvave/build.sh
artifacts:
paths:
- "vvave*arm64*.AppImage"
- "vvave*arm64*.deb"
- "vvave*.apk"
cache:
key: cache-builds-arm
build-pix-arm64:
image: mauikit/ubuntu-18.04-arm64
stage: builds-arm
script:
- export BRANCH=$([ -z $BRANCH_PIX ] && echo "master" || echo $BRANCH_PIX)
- export TARGET_ARCH="arm64"
- export EXTRA_CMAKE_ARGS="-DCMAKE_TOOLCHAIN_FILE=/arm64-toolchain.cmake"
- ./pix/build.sh
artifacts:
paths:
- "pix*arm64*.AppImage"
- "pix*arm64*.deb"
- "pix*.apk"
cache:
key: cache-builds-arm
build-station-arm64:
image: mauikit/ubuntu-18.04-arm64
stage: builds-arm
script:
- export BRANCH=$([ -z $BRANCH_STATION ] && echo "master" || echo $BRANCH_STATION)
- export TARGET_ARCH="arm64"
- export EXTRA_CMAKE_ARGS="-DCMAKE_TOOLCHAIN_FILE=/arm64-toolchain.cmake"
- ./station/build.sh
artifacts:
paths:
- "station*arm64*.AppImage"
- "station*arm64*.deb"
cache:
key: cache-builds-arm
build-contacts-arm64:
image: mauikit/ubuntu-18.04-arm64
stage: builds-arm
script:
- export BRANCH=$([ -z $BRANCH_CONTACTS ] && echo "master" || echo $BRANCH_CONTACTS)
- export TARGET_ARCH="arm64"
- export EXTRA_CMAKE_ARGS="-DCMAKE_TOOLCHAIN_FILE=/arm64-toolchain.cmake"
- ./contacts/build.sh
artifacts:
paths:
- "contacts*arm64*.AppImage"
- "contacts*arm64*.deb"
- "contacts*.apk"
cache:
key: cache-builds-arm
###
# END Stage builds-arm
###
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment