Merge pull request #1987 from mintlayer/ci_jobs_cleanup #14000
  
    
      This file contains hidden or 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: Permutation testing | |
| on: | |
| push: | |
| branches: | |
| - master | |
| pull_request: | |
| branches: | |
| - "**" # target all branches | |
| schedule: | |
| - cron: '15 0 * * *' # every day at 00:15 UTC | |
| env: | |
| CARGO_TERM_COLOR: always | |
| RUSTFLAGS: --cfg=loom | |
| RUST_LOG: debug | |
| RUST_BACKTRACE: full | |
| jobs: | |
| test_loom: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout the repository | |
| uses: actions/checkout@v5 | |
| with: | |
| submodules: recursive | |
| - name: Update the list of available system packages | |
| run: sudo apt-get update | |
| - name: Install build dependencies | |
| run: sudo apt-get install -yqq --no-install-recommends build-essential pkg-config libssl-dev | |
| - name: Setup Python | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version-file: './build-tools/.python-version' | |
| - name: Install Rust | |
| run: | | |
| curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y \ | |
| --default-toolchain $(python ./build-tools/cargo-info-extractor/extract.py --rust-version) | |
| - name: Run permutation tests | |
| run: cargo test --tests --release -p storage -p chainstate-storage -p storage-lmdb -p storage-inmemory |