neveko/.github/workflows/rust.yml

29 lines
563 B
YAML

name: cargo-build
on:
push:
paths-ignore:
- 'assets/**'
- 'docs/**'
- 'scripts/**'
- 'README.md'
branches: [ "main", "dev" ]
pull_request:
branches: [ "main", "dev" ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install dependencies
run: sudo apt install -y libssl-dev build-essential
- name: Build
run: cargo build --verbose
- name: Run tests
run: cd neveko-core && RUST_TEST_THREADS=1 cargo test --verbose