2023-08-01 18:28:35 +03:00
|
|
|
name: Continuous Integration
|
2023-08-02 22:47:28 +03:00
|
|
|
on: [push, pull_request]
|
2023-08-01 18:28:35 +03:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
linux-tests:
|
|
|
|
name: Linux Tests
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
strategy:
|
|
|
|
matrix:
|
|
|
|
job_args: [api, config, controller, impls, libwallet, .]
|
|
|
|
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
|
|
|
|
runs-on: windows-latest
|
|
|
|
steps:
|
|
|
|
- name: Checkout
|
|
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Tests
|
|
|
|
run: cargo test --release --all
|