gluon-ci/.woodpecker.yml
Nils Stinnesbeck c30ad89704
Some checks are pending
ci/woodpecker/push/woodpecker Pipeline is pending
reduced core count on build
2023-05-19 18:36:55 +02:00

54 lines
1.0 KiB
YAML

variables:
- &default
image: "git.freifunk-rhein-sieg.net/freifunk-troisdorf/docker-gluon-build:latest"
pull: true
environment:
- input_version=v2022.1.4
- GLUON_SITEDIR=../site
- FORCE_UNSAFE_CONFIGURE=1
- GLUON_TARGET=${TARGET}
- GLUON_DEPRECATED=1
workspace:
base: /build
clone:
git:
image: woodpeckerci/plugin-git
settings:
recursive: true
pipeline:
site-multidomain:
image: docker:git
commands:
- cd site
- git checkout multidomain
make_update:
<<: *default
commands:
- pwd
- cd gluon
- make update
patch-iw-to-iw-full:
<<: *default
commands:
- cd gluon/openwrt/package
- grep -rl +iw kernel/mac80211/Makefile | xargs sed -i s/+iw/+iw-full/g
- grep -r iw-full *
build-${TARGET}:
<<: *default
commands:
- cd gluon
- make -j4 GLUON_BRANCH=${BRANCH} GLUON_RELEASE=$input_version-${BRANCH} GLUON_OUTPUTDIR=output/${BRANCH}
matrix:
TARGET:
- ath79-generic
- x86-64
BRANCH:
- stable