Cleanup and add warning count to platform build
This commit is contained in:
parent
d289e64291
commit
1bd770b5b4
1 changed files with 7 additions and 3 deletions
10
.github/workflows/platforms.yml
vendored
10
.github/workflows/platforms.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue