diff options
author | Anna Prosvetova <anna@prosvetova.me> | 2021-10-12 15:08:26 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-12 15:08:26 +0300 |
commit | 85c55f5072747e0c707f9a3165773630c4318b0a (patch) | |
tree | 4f9ee672e1dd8a114bc2e20314de9f063d8d208a | |
parent | c05b20f84d63cc5dd03c6602d2079d20ed0dbf98 (diff) |
[FL-1943] CI: Build protobuf files, Create CODEOWNERS (#4)
* CI: Build protobuf files
* Create CODEOWNERS
* CI: Reword steps
-rw-r--r-- | .github/CODEOWNERS | 6 | ||||
-rw-r--r-- | .github/workflows/generate.yml | 26 |
2 files changed, 32 insertions, 0 deletions
diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS new file mode 100644 index 0000000..a14b866 --- /dev/null +++ b/.github/CODEOWNERS @@ -0,0 +1,6 @@ +# Who owns all the code by default + +* @DrZlo13 @albkharisov + +# CI +.github/** @DrZlo13 @aprosvetova
\ No newline at end of file diff --git a/.github/workflows/generate.yml b/.github/workflows/generate.yml new file mode 100644 index 0000000..788c35c --- /dev/null +++ b/.github/workflows/generate.yml @@ -0,0 +1,26 @@ +name: 'Generate protobuf sources' + +on: + push: + +jobs: + generate: + runs-on: ubuntu-latest + steps: + - name: Checkout flipperzero-protobuf + uses: actions/checkout@v2 + + - name: Checkout nanopb + uses: actions/checkout@v2 + with: + repository: nanopb/nanopb + path: nanopb + + - name: Setup python + uses: actions/setup-python@v2 + + - name: Setup protobuf + run: sudo apt-get -y install protobuf-compiler && python -m pip install --upgrade protobuf + + - name: Generate sources + run: python3 nanopb/generator/nanopb_generator.py -q -I . -D /tmp *.proto
\ No newline at end of file |