Common: fix CI

This commit is contained in:
Alex Kotov 2022-06-13 11:29:52 +03:00
parent 2e6b16027b
commit 8afb88c0ec
Signed by: kotovalexarian
GPG Key ID: 553C0EBBEB5D5F08
2 changed files with 7 additions and 7 deletions

View File

@ -11,7 +11,10 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
packages: ['', '--without-all']
packages:
- {}
- configure: '--without-all'
skip_coverage: 'x'
steps:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
@ -22,7 +25,7 @@ jobs:
- name: autogen
run: ./autogen.sh
- name: configure
run: ./configure ${{matrix.packages}} CFLAGS='-O3'
run: ./configure ${{matrix.packages.configure}} CFLAGS='-O3'
- name: make
run: make
- name: install
@ -35,7 +38,7 @@ jobs:
run: rake compile
- working-directory: bindings/ruby
name: test & lint
run: rake
run: SKIP_COVERAGE='${{matrix.packages.skip_coverage}}' rake
- working-directory: bindings/ruby
name: cppcheck
run: cppcheck --quiet --error-exitcode=1 --std=c99 --enable=warning,style,performance,portability .

View File

@ -31,10 +31,7 @@ jobs:
run: sudo make install
- working-directory: bindings/rust
name: test
run: cargo build ${{matrix.packages.cargo}}
- working-directory: bindings/rust
name: test
run: cargo test
run: cargo test ${{matrix.packages.cargo}}
- working-directory: bindings/rust
name: clippy
run: cargo clippy