ci: run ci on every branch #9
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: test rust-bitcoinkernel devshell | |
| on: | |
| push: | |
| branches: ["*"] | |
| 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 | |
| with: | |
| repository: josibake/rust-bitcoinkernel | |
| ref: make-build-script-more-generic | |
| path: ../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 | |