Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 35 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: test rust-bitcoinkernel devshell

on:
push:
branches: [setup-ci]
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

Loading