Move Rust package testing to separate CI job

This commit is contained in:
Alex Kotov 2022-01-30 08:10:57 +05:00
parent 41dadecae3
commit da76d17df6
Signed by: kotovalexarian
GPG Key ID: 553C0EBBEB5D5F08
1 changed files with 19 additions and 4 deletions

View File

@ -37,10 +37,6 @@ jobs:
- name: install
run: sudo make install
- name: 'Rust: test'
working-directory: pkgs/rust
run: cargo test
cppcheck:
runs-on: ubuntu-latest
steps:
@ -81,3 +77,22 @@ jobs:
- working-directory: pkgs/ruby
name: test & lint
run: rake
rust:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
- name: autogen
run: ./autogen.sh
- name: configure
run: ./configure CFLAGS='-O3 -fPIC'
- name: make
run: make
- name: install
run: sudo make install
- working-directory: pkgs/rust
name: test
run: cargo test