Skip to content

Commit 4e1d349

Browse files
committed
ffi group
1 parent 0a4bf43 commit 4e1d349

File tree

3 files changed

+15
-11
lines changed

3 files changed

+15
-11
lines changed

.github/ci-groups.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,19 @@ groups:
77
- dashcore_hashes
88
- dashcore-private
99
- dash-network
10-
- dash-network-ffi
1110

1211
spv:
1312
- dash-spv
14-
- dash-spv-ffi
1513

1614
wallet:
1715
- key-wallet
18-
- key-wallet-ffi
1916
- key-wallet-manager
2017

18+
ffi:
19+
- dash-network-ffi
20+
- dash-spv-ffi
21+
- key-wallet-ffi
22+
2123
rpc:
2224
- dashcore-rpc
2325
- dashcore-rpc-json

.github/workflows/build-and-test.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,14 @@ on:
66
os:
77
required: true
88
type: string
9+
group:
10+
required: true
11+
type: string
912

1013
jobs:
1114
test:
12-
name: ${{ matrix.group }}
15+
name: ${{ inputs.group }}
1316
runs-on: ${{ inputs.os }}
14-
strategy:
15-
fail-fast: false
16-
matrix:
17-
group: [core, spv, wallet, rpc, tools]
1817
steps:
1918
- uses: actions/checkout@v6
2019
- name: Disable Windows Defender real-time monitoring
@@ -24,12 +23,12 @@ jobs:
2423
- uses: dtolnay/rust-toolchain@stable
2524
- uses: Swatinem/rust-cache@v2
2625
with:
27-
shared-key: "test-${{ inputs.os }}-${{ matrix.group }}"
26+
shared-key: "test-${{ inputs.os }}-${{ inputs.group }}"
2827
- uses: actions/setup-python@v5
2928
with:
3029
python-version: "3.12"
3130
cache: "pip"
3231
cache-dependency-path: .github/scripts/requirements.txt
3332
- run: pip install -r .github/scripts/requirements.txt
3433
- name: Run tests
35-
run: python .github/scripts/ci_config.py run-group ${{ matrix.group }} --os ${{ inputs.os }}
34+
run: python .github/scripts/ci_config.py run-group ${{ inputs.group }} --os ${{ inputs.os }}

.github/workflows/rust.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,11 +60,13 @@ jobs:
6060
run: python .github/scripts/ci_config.py verify-groups
6161

6262
test:
63-
name: ${{ matrix.name }}
63+
name: "${{ matrix.name }}: ${{ matrix.group }}"
6464
needs: verify-execution
6565
strategy:
6666
fail-fast: false
6767
matrix:
68+
os: [ubuntu-latest, ubuntu-22.04-arm, macos-latest, windows-latest]
69+
group: [core, spv, wallet, ffi, rpc, tools]
6870
include:
6971
- os: ubuntu-latest
7072
name: Ubuntu
@@ -77,6 +79,7 @@ jobs:
7779
uses: ./.github/workflows/build-and-test.yml
7880
with:
7981
os: ${{ matrix.os }}
82+
group: ${{ matrix.group }}
8083

8184
no-std:
8285
name: No-std Checks

0 commit comments

Comments
 (0)