From 1bd770b5b46b05ade504a72695468470d9bd8a1f Mon Sep 17 00:00:00 2001 From: kcgen <1557255+kcgen@users.noreply.github.com> Date: Mon, 27 Apr 2020 06:57:11 -0700 Subject: [PATCH] Cleanup and add warning count to platform build --- .github/workflows/platforms.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/platforms.yml b/.github/workflows/platforms.yml index 94263728..19ce6fca 100644 --- a/.github/workflows/platforms.yml +++ b/.github/workflows/platforms.yml @@ -7,7 +7,6 @@ jobs: build_linux_platforms: runs-on: ubuntu-latest name: ${{ matrix.conf.name }} - if: github.event_name != 'pull_request' || contains('dreamer,kcgen,ant-222', github.actor) == false strategy: matrix: conf: @@ -27,14 +26,16 @@ jobs: architecture: ppc64le distribution: ubuntu18.04 steps: - - uses: actions/checkout@v2 + - name: Checkout + uses: actions/checkout@v2 - name: Check repo for commits id: repo-meta shell: bash run: 'echo ::set-output name=has-commits::$(./scripts/has-commits-since.sh "24 hours ago")' - - uses: uraimo/run-on-arch-action@master + - name: Build + uses: uraimo/run-on-arch-action@master if: steps.repo-meta.outputs.has-commits == 'true' with: architecture: ${{ matrix.conf.architecture }} @@ -45,3 +46,6 @@ jobs: apt-get install -y $(./scripts/list-build-dependencies.sh -c gcc -m apt) ./scripts/log-env.sh ./scripts/build.sh -c gcc -t release + + - name: Summarize warnings + run: ./scripts/count-warnings.py --max-warnings -1 build.log