mirror of
https://github.com/libratbag/piper.git
synced 2026-04-23 15:58:28 -04:00
The code injection is invalid Python syntax which triggers flake8. Since it's a generated file it's safe to ignore this one in flake8 and check the generated builddir/piper and builddir/piper.devel instead.
25 lines
595 B
YAML
25 lines
595 B
YAML
version: 2
|
|
jobs:
|
|
build:
|
|
working_directory: ~/piper
|
|
docker:
|
|
- image: fedora:latest
|
|
steps:
|
|
- run:
|
|
command: |
|
|
dnf install -y git python3-flake8
|
|
- checkout
|
|
- run: flake8-3 .
|
|
|
|
# now install and checks the resulting file (just in case)
|
|
- run:
|
|
command: |
|
|
dnf install -y meson python3-devel pygobject3-devel
|
|
- run:
|
|
command: |
|
|
meson build
|
|
ninja -C build
|
|
- run: flake8-3 buil/piper buil/piper.devel
|
|
- store_artifacts:
|
|
path: ~/piper/build/meson-logs
|