mirror of
https://github.com/mimblewimble/grin.git
synced 2025-01-21 03:21:08 +03:00
a9f45dee2b
* Remove Azure Pipelines and add Github Actions * Trigger CI on push and pull request
33 lines
No EOL
798 B
YAML
33 lines
No EOL
798 B
YAML
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
|
|
runs-on: windows-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v3
|
|
- name: Tests
|
|
run: cargo test --release --all |