mirror of
https://github.com/Cuprate/cuprate.git
synced 2025-03-23 07:38:46 +00:00
* start re-working p2p to work with change monero-wire * start re-working p2p to work with change monero-wire adds back some changes from #22 * change the peer module to use the new API + fix a couple bugs * remove peer set for now * add try_from/from conversion between `Message` and `Request`/`Response` * Allow specifying other parameters in levin-cuprate * add new `LevinCommand` enum and clean up monero-wire message de/encoding * fix issues with merge * start splitting up p2p crate into smaller crates. * add monerod action from serai to test network code * remove tracing in tests
51 lines
896 B
YAML
51 lines
896 B
YAML
# This [clippys, tests, builds] on [windows, macos, linux]
|
|
|
|
name: CI
|
|
|
|
on:
|
|
push:
|
|
branches: [ "main" ]
|
|
pull_request:
|
|
branches: [ "main" ]
|
|
|
|
env:
|
|
CARGO_TERM_COLOR: always
|
|
# Show full panics.
|
|
RUST_BACKTRACE: "full"
|
|
# Increase thread stack size to 8 megabytes.
|
|
RUST_MIN_STACK: 8000000
|
|
|
|
jobs:
|
|
ci:
|
|
runs-on: ${{ matrix.os }}
|
|
|
|
strategy:
|
|
matrix:
|
|
os: [ubuntu-latest]
|
|
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
with:
|
|
submodules: recursive
|
|
|
|
- name: Cache
|
|
uses: actions/cache@v3
|
|
with:
|
|
path: target
|
|
key: ${{ matrix.os }}
|
|
|
|
- name: Spawn monerod
|
|
uses: ./.github/actions/monerod-regtest
|
|
|
|
- name: Install dependencies
|
|
run: sudo apt install -y libboost-dev
|
|
|
|
- name: Clippy
|
|
run: cargo clippy
|
|
|
|
- name: Test
|
|
run: cargo test
|
|
|
|
- name: Build
|
|
run: cargo build
|