Skip to content

Merge pull request #1854 from mintlayer/merge-from-1.0.1-to-master #12895

Merge pull request #1854 from mintlayer/merge-from-1.0.1-to-master

Merge pull request #1854 from mintlayer/merge-from-1.0.1-to-master #12895

Workflow file for this run

name: Permutation testing
on:
push:
branches:
- "**" # target all branches
pull_request:
branches:
- master
env:
CARGO_TERM_COLOR: always
RUSTFLAGS: --cfg=loom
RUST_LOG: debug
RUST_BACKTRACE: full
jobs:
test_loom:
runs-on: ubuntu-latest
steps:
- name: Update local dependency repositories
run: sudo apt-get update
- name: Install dependencies
run: sudo apt-get install -yqq --no-install-recommends build-essential python3 python3-toml podman build-essential pkg-config libssl-dev
- name: Install rust deps
run: sudo apt-get install -yqq build-essential pkg-config libssl-dev
- uses: actions/checkout@v2
- name: Install rust
run: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain $(python3 ./build-tools/rust-version-extractor/rust-version-extractor.py)
- name: Checkout repository and submodules
uses: actions/checkout@v2
with:
submodules: recursive
- name: Run permutation tests
run: cargo test --tests --release -p storage -p chainstate-storage -p storage-lmdb -p storage-inmemory