neveko/.github/workflows/rust.yml

30 lines
576 B
YAML
Raw Normal View History

2023-05-06 05:53:44 +00:00
name: cargo-build
2023-05-02 03:56:11 +00:00
on:
push:
2023-05-02 08:00:19 +00:00
paths-ignore:
2023-06-12 15:16:18 +00:00
- 'assets/**'
2023-05-02 08:00:19 +00:00
- 'docs/**'
- 'scripts/**'
- 'README.md'
2023-05-06 03:49:22 +00:00
branches: [ "main", "dev" ]
2023-05-02 03:56:11 +00:00
pull_request:
2023-05-06 03:49:22 +00:00
branches: [ "main", "dev" ]
2023-05-02 03:56:11 +00:00
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
2023-05-02 04:19:20 +00:00
- name: Install dependencies
2023-05-02 04:21:07 +00:00
run: sudo apt install -y libssl-dev build-essential libgpgme-dev
2023-05-02 03:56:11 +00:00
- name: Build
run: cargo build --verbose
- name: Run tests
2023-06-03 14:17:58 +00:00
run: cd neveko-core && RUST_TEST_THREADS=1 cargo test --verbose