Skip to content

Create TextSummary trait #10740

Create TextSummary trait

Create TextSummary trait #10740

Workflow file for this run

name: build
on:
push:
branches:
- "**" # target all branches
pull_request:
branches:
- master
env:
CARGO_TERM_COLOR: always
RUST_LOG: debug
RUST_BACKTRACE: full
jobs:
build_windows:
runs-on: windows-latest
# if: github.ref == 'refs/heads/master'
steps:
- uses: actions/checkout@v2
- name: Install rust
run: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
- name: Checkout repository and submodules
uses: actions/checkout@v2
with:
submodules: recursive
- name: Build
run: cargo build --release --locked
- name: Run tests
run: cargo test --release --workspace
- name: Run doc tests
run: cargo test --release --doc
# This test is ignored, so it needs to run separately.
- name: Run mixed_sighash_types test
run: cargo test --release mixed_sighash_types
# This test is ignored, so it needs to run separately.
- name: Run test_4opc_sequences test
run: cargo test --release test_4opc_sequences -- --ignored
- name: Run functional tests
run: cargo test --release -p mintlayer-test --test functional -- --ignored
- uses: actions/upload-artifact@v2
if: failure()
with:
name: windows-functional-test-artifacts
path: target/tmp
build_ubuntu:
env:
ML_CONTAINERIZED_TESTS: 1
runs-on: ubuntu-latest
# if: github.ref == 'refs/heads/master'
steps:
- name: Install dependencies
run: sudo apt-get install -yqq --no-install-recommends build-essential libgtk-3-dev 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
- name: Checkout repository and submodules
uses: actions/checkout@v2
with:
submodules: recursive
- name: Build
run: cargo build --release --locked
- name: Run tests
run: cargo test --release --workspace
- name: Run doc tests
run: cargo test --release --doc
# This test is ignored, so it needs to run separately.
- name: Run mixed_sighash_types test
run: cargo test --release mixed_sighash_types
# This test is ignored, so it needs to run separately.
- name: Run test_4opc_sequences test
run: cargo test --release test_4opc_sequences
- name: Run functional tests
run: cargo test --release -p mintlayer-test --test functional -- --ignored
- uses: actions/upload-artifact@v2
if: failure()
with:
name: ubuntu-functional-test-artifacts
path: target/tmp
build_macos:
runs-on: macos-latest
# if: github.ref == 'refs/heads/master'
steps:
- uses: actions/checkout@v2
- name: Install rust
run: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
- name: Checkout repository and submodules
uses: actions/checkout@v2
with:
submodules: recursive
- name: Build
run: cargo build --release --locked
- name: Run tests
run: cargo test --release --workspace
- name: Run doc tests
run: cargo test --release --doc
# This test is ignored, so it needs to run separately.
- name: Run mixed_sighash_types test
run: cargo test --release mixed_sighash_types
# This test is ignored, so it needs to run separately.
- name: Run test_4opc_sequences test
run: cargo test --release test_4opc_sequences
- name: Run functional tests
run: cargo test --release -p mintlayer-test --test functional -- --ignored
- uses: actions/upload-artifact@v2
if: failure()
with:
name: macos-functional-test-artifacts
path: target/tmp