Skip to content

Release 2.3.1 (Android-only) #4301

Release 2.3.1 (Android-only)

Release 2.3.1 (Android-only) #4301

Workflow file for this run

name: Code Layout
on:
push:
paths:
- 'app/**'
- 'core/**'
release:
types:
- published
jobs:
code_style_cpp:
name: C++ code convention check
if: ( github.repository == 'MerginMaps/input' ) && (!contains(github.event.head_commit.message, 'Translate '))
runs-on: ubuntu-latest
steps:
- name: Install astyle
run: |
sudo apt-get install astyle
- name: Checkout input
uses: actions/checkout@v3
with:
path: input
- name: Run astyle check
run: |
./input/scripts/format_cpp.bash
code_style_cmake:
name: CMake code convention check
if: ( github.repository == 'MerginMaps/input' ) && (!contains(github.event.head_commit.message, 'Translate '))
runs-on: ubuntu-latest
steps:
- name: Install cmake-format
run: |
sudo pip3 install cmakelang
- name: Checkout input
uses: actions/checkout@v3
with:
path: input
- name: Run cmake-format check
run: |
./input/scripts/format_cmake.bash
code_style_qml:
name: QML code convention check
if: ${{ false }} # disable for now
# if: ( github.repository == 'MerginMaps/input' ) && (!contains(github.event.head_commit.message, 'Translate '))
runs-on: macos-latest
steps:
- name: Checkout app
uses: actions/checkout@v3
with:
path: input
- name: Install deps
run: brew install martindelille/tap/qmlfmt
- name: Run style check
run: ./input/scripts/format_qml.bash