Merge branch 'ci' into 'master'
Fix gitlab CI See merge request World/Phosh/squeekboard!471
This commit is contained in:
@ -4,10 +4,6 @@ stages:
|
|||||||
- build
|
- build
|
||||||
- test
|
- test
|
||||||
|
|
||||||
.tags: &tags
|
|
||||||
tags:
|
|
||||||
- librem5
|
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
- apt-get -y update
|
- apt-get -y update
|
||||||
- apt-get -y install wget ca-certificates gnupg
|
- apt-get -y install wget ca-certificates gnupg
|
||||||
@ -16,7 +12,6 @@ before_script:
|
|||||||
- apt-get -y update
|
- apt-get -y update
|
||||||
|
|
||||||
build_docs:
|
build_docs:
|
||||||
<<: *tags
|
|
||||||
stage: build
|
stage: build
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
@ -27,8 +22,6 @@ build_docs:
|
|||||||
- ./doc/build.sh _build
|
- ./doc/build.sh _build
|
||||||
|
|
||||||
build_meson:
|
build_meson:
|
||||||
tags:
|
|
||||||
- librem5
|
|
||||||
stage: build
|
stage: build
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
@ -40,8 +33,6 @@ build_meson:
|
|||||||
- ninja -C _build install
|
- ninja -C _build install
|
||||||
|
|
||||||
build_deb:
|
build_deb:
|
||||||
tags:
|
|
||||||
- librem5
|
|
||||||
stage: build
|
stage: build
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
@ -53,44 +44,9 @@ build_deb:
|
|||||||
- debuild -i -us -uc -b
|
- debuild -i -us -uc -b
|
||||||
- cp ../*.deb .
|
- cp ../*.deb .
|
||||||
|
|
||||||
build_deb:amber:
|
|
||||||
image: pureos/amber
|
|
||||||
tags:
|
|
||||||
- librem5
|
|
||||||
stage: build
|
|
||||||
artifacts:
|
|
||||||
paths:
|
|
||||||
- "*.deb"
|
|
||||||
script:
|
|
||||||
- echo "deb http://ci.puri.sm/ scratch librem5" > /etc/apt/sources.list.d/ci.list
|
|
||||||
- apt-get -y update
|
|
||||||
- rm -f ../*.deb
|
|
||||||
- apt-get -y build-dep .
|
|
||||||
- apt-get -y install devscripts
|
|
||||||
- debuild -i -us -uc -b
|
|
||||||
- cp ../*.deb .
|
|
||||||
|
|
||||||
build_deb:buster:
|
|
||||||
image: "debian:buster"
|
|
||||||
tags:
|
|
||||||
- librem5
|
|
||||||
stage: build
|
|
||||||
artifacts:
|
|
||||||
paths:
|
|
||||||
- "*.deb"
|
|
||||||
script:
|
|
||||||
- echo "deb http://ci.puri.sm/ scratch librem5" > /etc/apt/sources.list.d/ci.list
|
|
||||||
- apt-get -y update
|
|
||||||
- rm -f ../*.deb
|
|
||||||
- apt-get -y build-dep .
|
|
||||||
- apt-get -y install devscripts
|
|
||||||
- debuild -i -us -uc -b
|
|
||||||
- cp ../*.deb .
|
|
||||||
|
|
||||||
|
|
||||||
build_deb:arm64:
|
build_deb:arm64:
|
||||||
tags:
|
tags:
|
||||||
- librem5:arm64
|
- aarch64
|
||||||
stage: build
|
stage: build
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
@ -102,25 +58,7 @@ build_deb:arm64:
|
|||||||
- debuild -i -us -uc -b
|
- debuild -i -us -uc -b
|
||||||
- cp ../*.deb .
|
- cp ../*.deb .
|
||||||
|
|
||||||
build_deb:arm64_buster:
|
|
||||||
image: "debian:buster"
|
|
||||||
tags:
|
|
||||||
- librem5:arm64
|
|
||||||
stage: build
|
|
||||||
artifacts:
|
|
||||||
paths:
|
|
||||||
- "*.deb"
|
|
||||||
script:
|
|
||||||
- echo "deb http://ci.puri.sm/ scratch librem5" > /etc/apt/sources.list.d/ci.list
|
|
||||||
- apt-get -y update
|
|
||||||
- rm -f ../*.deb
|
|
||||||
- apt-get -y build-dep .
|
|
||||||
- apt-get -y install devscripts
|
|
||||||
- debuild -i -us -uc -b
|
|
||||||
- cp ../*.deb .
|
|
||||||
|
|
||||||
test_lintian:
|
test_lintian:
|
||||||
<<: *tags
|
|
||||||
stage: test
|
stage: test
|
||||||
dependencies:
|
dependencies:
|
||||||
- build_deb
|
- build_deb
|
||||||
@ -129,8 +67,6 @@ test_lintian:
|
|||||||
- lintian *.deb
|
- lintian *.deb
|
||||||
|
|
||||||
test:
|
test:
|
||||||
tags:
|
|
||||||
- librem5
|
|
||||||
stage: test
|
stage: test
|
||||||
needs:
|
needs:
|
||||||
- build_meson
|
- build_meson
|
||||||
@ -142,7 +78,6 @@ test:
|
|||||||
- clang-tidy --checks=-clang-diagnostic-missing-braces,readability-braces-around-statements, --warnings-as-errors=readability-braces-around-statements -extra-arg=-Wno-unknown-warning-option ../src/*.c ../eek/*.c ../eekboard/*.c
|
- clang-tidy --checks=-clang-diagnostic-missing-braces,readability-braces-around-statements, --warnings-as-errors=readability-braces-around-statements -extra-arg=-Wno-unknown-warning-option ../src/*.c ../eek/*.c ../eekboard/*.c
|
||||||
|
|
||||||
check_release:
|
check_release:
|
||||||
<<: *tags
|
|
||||||
stage: test
|
stage: test
|
||||||
only:
|
only:
|
||||||
refs:
|
refs:
|
||||||
|
|||||||
Reference in New Issue
Block a user