Actually drop the vector to not leak memory. #10
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Nightly Build | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
env: | |
CARGO_TERM_COLOR: always | |
SCCACHE_GHA_ENABLED: on | |
jobs: | |
test: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest, macos-latest, windows-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Setup sccache | |
uses: mozilla-actions/sccache-action@v0.0.3 | |
- name: Checkout the repository | |
uses: actions/checkout@v3 | |
with: | |
submodules: true | |
- name: Run tests | |
run: cargo test --release | |
env: | |
RUST_BACKTRACE: full | |
RUSTC_WRAPPER: sccache | |
- name: Build Release | |
run: cargo build --release | |
env: | |
RUSTC_WRAPPER: sccache |