ci: various fixes (#478)
- "branches" option got removed, change to "when -> branches" - "pipeline" option got removed, change to "steps" - install codespell in a virtual-env since alpine complains otherwise
This commit is contained in:
parent
a9e13042d4
commit
70cbe59daa
|
@ -1,6 +1,7 @@
|
||||||
branches: master
|
when:
|
||||||
|
branch: master
|
||||||
|
|
||||||
pipeline:
|
steps:
|
||||||
analysis:
|
analysis:
|
||||||
image: alpine
|
image: alpine
|
||||||
commands: |
|
commands: |
|
||||||
|
|
|
@ -1,7 +1,8 @@
|
||||||
branches: master
|
when:
|
||||||
|
branch: master
|
||||||
|
|
||||||
# NOTE: "stable" tcc is too old and fails at linking. instead fetching a recent known working commit.
|
# NOTE: "stable" tcc is too old and fails at linking. instead fetching a recent known working commit.
|
||||||
pipeline:
|
steps:
|
||||||
build:
|
build:
|
||||||
image: alpine
|
image: alpine
|
||||||
environment:
|
environment:
|
||||||
|
|
|
@ -1,10 +1,13 @@
|
||||||
branches: master
|
when:
|
||||||
|
branch: master
|
||||||
|
|
||||||
# NOTE: codespell not available on stable alpine, use edge
|
# NOTE: codespell not available on stable alpine, grab it from pip
|
||||||
pipeline:
|
steps:
|
||||||
spell-check:
|
spell-check:
|
||||||
image: alpine:edge
|
image: alpine:edge
|
||||||
commands: |
|
commands: |
|
||||||
apk add --no-cache python3 py3-pip git
|
apk add --no-cache python3 py3-pip git
|
||||||
|
python3 -m venv ~/py3-venv
|
||||||
|
. ~/py3-venv/bin/activate
|
||||||
pip install codespell
|
pip install codespell
|
||||||
git ls-files | sed '/\.png$/d' | xargs codespell
|
git ls-files | sed '/\.png$/d' | xargs codespell
|
||||||
|
|
Loading…
Reference in a new issue