2024-01-26 15:58:52 +03:00
|
|
|
name: Continuous Integration
|
|
|
|
on: [push, pull_request]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
linux-tests:
|
|
|
|
name: Linux Tests
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
strategy:
|
|
|
|
matrix:
|
|
|
|
job_args: [servers, chain, core, keychain, pool, p2p, src, api, util, store]
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v3
|
|
|
|
- name: Test ${{ matrix.job_args }}
|
|
|
|
working-directory: ${{ matrix.job_args }}
|
|
|
|
run: cargo test --release
|
|
|
|
|
|
|
|
macos-tests:
|
|
|
|
name: macOS Tests
|
|
|
|
runs-on: macos-latest
|
|
|
|
steps:
|
|
|
|
- name: Checkout
|
|
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Tests
|
|
|
|
run: cargo test --release --all
|
|
|
|
|
|
|
|
windows-tests:
|
|
|
|
name: Windows Tests
|
2024-02-06 19:33:32 +03:00
|
|
|
runs-on: windows-2019
|
|
|
|
env:
|
|
|
|
ROARING_ARCH: x86-64-v2
|
2024-01-26 15:58:52 +03:00
|
|
|
steps:
|
|
|
|
- name: Checkout
|
|
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Tests
|
|
|
|
run: cargo test --release --all
|