mirror of
https://github.com/labwc/labwc.git
synced 2025-10-31 22:25:34 -04:00
CI: check codestyle only once
This commit is contained in:
parent
e95779540c
commit
d616d719eb
1 changed files with 11 additions and 8 deletions
19
.github/workflows/build.yml
vendored
19
.github/workflows/build.yml
vendored
|
|
@ -7,10 +7,20 @@
|
||||||
# Recommended GH CI Void mirror based on
|
# Recommended GH CI Void mirror based on
|
||||||
# https://docs.voidlinux.org/xbps/repositories/mirrors/changing.html
|
# https://docs.voidlinux.org/xbps/repositories/mirrors/changing.html
|
||||||
|
|
||||||
name: Compile
|
name: CI
|
||||||
on: [pull_request]
|
on: [pull_request]
|
||||||
jobs:
|
jobs:
|
||||||
|
codestyle:
|
||||||
|
name: CodeStyleCheck
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v1
|
||||||
|
- name: Code Style
|
||||||
|
run: |
|
||||||
|
./scripts/check
|
||||||
build:
|
build:
|
||||||
|
name: Build
|
||||||
|
needs: codestyle
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
|
|
@ -136,10 +146,3 @@ jobs:
|
||||||
meson build-clang-no-xwayland -Dxwayland=disabled --werror
|
meson build-clang-no-xwayland -Dxwayland=disabled --werror
|
||||||
meson compile -C build-clang-no-xwayland
|
meson compile -C build-clang-no-xwayland
|
||||||
' | $TARGET
|
' | $TARGET
|
||||||
|
|
||||||
- name: Run coding style checks
|
|
||||||
run: |
|
|
||||||
echo '
|
|
||||||
cd "$GITHUB_WORKSPACE"
|
|
||||||
./scripts/check
|
|
||||||
' | $TARGET
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue