Skip to content
Snippets Groups Projects
Commit eb1398ec authored by Nico's avatar Nico
Browse files

Merge branch 'nrbffs/ci-x86-only-on-dev' into 'master'

CI: do not build all targets on all branches

See merge request freifunk-region/stuttgart/site!2
parents c6257d2b 92e008bc
No related branches found
No related tags found
No related merge requests found
...@@ -7,7 +7,15 @@ stages: ...@@ -7,7 +7,15 @@ stages:
- build - build
- package - package
.target: &target # Build Types
# ----
#
# * commit: build all branches on commit for x86-64 target.#
# * nightly: built once a night from `master` branch for all targets.
# * beta: built from tag starting with "beta/", i.e. "beta/1.7-beta01" for all targets.
# * stable: built from tag starting with "stable/", i.e. "stable/1.5" for all targets.
.target:
stage: build stage: build
script: script:
- make -C gluon update GLUON_SITEDIR="$CI_PROJECT_DIR" - make -C gluon update GLUON_SITEDIR="$CI_PROJECT_DIR"
...@@ -18,79 +26,111 @@ stages: ...@@ -18,79 +26,111 @@ stages:
expire_in: 1 day expire_in: 1 day
target:ar71xx-generic: target:ar71xx-generic:
<<: *target extends: .target
only:
- tags
- schedules
- web
variables: variables:
GLUON_TARGET: ar71xx-generic GLUON_TARGET: ar71xx-generic
target:ar71xx-nand: target:ar71xx-nand:
<<: *target extends: .target
only:
- tags
- schedules
- web
variables: variables:
GLUON_TARGET: ar71xx-nand GLUON_TARGET: ar71xx-nand
target:ar71xx-tiny: target:ar71xx-tiny:
<<: *target extends: .target
only:
- tags
- schedules
- web
variables: variables:
GLUON_TARGET: ar71xx-tiny GLUON_TARGET: ar71xx-tiny
target:brcm2708-bcm2708: target:brcm2708-bcm2708:
<<: *target extends: .target
only:
- tags
- schedules
- web
variables: variables:
GLUON_TARGET: brcm2708-bcm2708 GLUON_TARGET: brcm2708-bcm2708
target:brcm2708-bcm2709: target:brcm2708-bcm2709:
<<: *target extends: .target
only:
- tags
- schedules
- web
variables: variables:
GLUON_TARGET: brcm2708-bcm2709 GLUON_TARGET: brcm2708-bcm2709
target:mpc85xx-generic: target:mpc85xx-generic:
<<: *target extends: .target
only:
- tags
- schedules
- web
variables: variables:
GLUON_TARGET: mpc85xx-generic GLUON_TARGET: mpc85xx-generic
target:ipq40xx: target:ipq40xx:
<<: *target extends: .target
only:
- tags
- schedules
- web
variables: variables:
GLUON_TARGET: ipq40xx GLUON_TARGET: ipq40xx
target:ramips-mt7621: target:ramips-mt7621:
<<: *target extends: .target
only:
- tags
- schedules
- web
variables: variables:
GLUON_TARGET: ramips-mt7621 GLUON_TARGET: ramips-mt7621
target:ramips-mt76x8: target:ramips-mt76x8:
<<: *target extends: .target
only:
- tags
- schedules
- web
variables: variables:
GLUON_TARGET: ramips-mt76x8 GLUON_TARGET: ramips-mt76x8
target:x86-generic: target:x86-generic:
<<: *target extends: .target
only:
- tags
- schedules
- web
variables: variables:
GLUON_TARGET: x86-generic GLUON_TARGET: x86-generic
target:x86-geode: target:x86-geode:
<<: *target extends: .target
only:
- tags
- schedules
- web
variables: variables:
GLUON_TARGET: x86-geode GLUON_TARGET: x86-geode
target:x86-64: target:x86-64:
<<: *target extends: .target
variables: variables:
GLUON_TARGET: x86-64 GLUON_TARGET: x86-64
package: package:
stage: package stage: package
dependencies:
- target:ar71xx-generic
- target:ar71xx-tiny
- target:ar71xx-nand
- target:brcm2708-bcm2708
- target:brcm2708-bcm2709
- target:ipq40xx
- target:mpc85xx-generic
- target:ramips-mt7621
- target:x86-generic
- target:x86-geode
- target:x86-64
script: script:
- make -C gluon update GLUON_SITEDIR="$CI_PROJECT_DIR" - make -C gluon update GLUON_SITEDIR="$CI_PROJECT_DIR"
- make -C gluon manifest GLUON_BRANCH=nightly GLUON_SITEDIR="$CI_PROJECT_DIR" V=1 - make -C gluon manifest GLUON_BRANCH=nightly GLUON_SITEDIR="$CI_PROJECT_DIR" V=1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment