-
Notifications
You must be signed in to change notification settings - Fork 1
34 lines (27 loc) · 866 Bytes
/
ci.yml
File metadata and controls
34 lines (27 loc) · 866 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: test rust-bitcoinkernel devshell
on:
push:
pull_request:
jobs:
integration-test:
name: rust-bitcoinkernel (${{ matrix.os }})
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest]
steps:
- name: Checkout devazoa (this repo)
uses: actions/checkout@v4
- name: Clone rust-bitcoinkernel
run: |
git clone https://github.com/theCharlatan/rust-bitcoinkernel.git ../rust-bitcoinkernel
- name: Set up Nix
uses: cachix/install-nix-action@v24
with:
extra_nix_config: |
experimental-features = nix-command flakes
- name: Run cargo test inside devshell
working-directory: ../rust-bitcoinkernel
run: |
nix develop ../devazoa#rust-bitcoinkernel --command cargo test --all