Skip to content

Enable stripping and disable debug info in dist profile for release. #47

Enable stripping and disable debug info in dist profile for release.

Enable stripping and disable debug info in dist profile for release. #47

name: Test build default features
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
# Loads cargo cache
- uses: actions/cache@v3
name: Pull Cargo cache
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose