Skip to content
Merged
Show file tree
Hide file tree
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
4 changes: 4 additions & 0 deletions .github/workflows/csharp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ on:
pull_request:
paths:
- payjoin-ffi/**
# The unix jobs run inside the flake's csharp dev shell, so changes to
# the flake change this workflow's environment.
- flake.nix
- flake.lock

jobs:
build-csharp-and-test-unix:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/dart.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ on:
pull_request:
paths:
- payjoin-ffi/**
# The jobs run inside the flake's dev shell, so changes to the flake
# change this workflow's environment.
- flake.nix
- flake.lock

jobs:
build-dart-and-test:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/javascript.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ on:
pull_request:
paths:
- payjoin-ffi/**
# The jobs run inside the flake's dev shell, so changes to the flake
# change this workflow's environment.
- flake.nix
- flake.lock

jobs:
build-js-and-test:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ on:
pull_request:
paths:
- payjoin-ffi/**
# The jobs run inside the flake's dev shell, so changes to the flake
# change this workflow's environment.
- flake.nix
- flake.lock

jobs:
build-python-and-test:
Expand Down
11 changes: 10 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,16 @@
"payjoin-mailroom-image" = mkContainerImage "payjoin-mailroom" packages.payjoin-mailroom tag;
};

dotnetSdk = pkgs.dotnetCorePackages.sdk_10_0;
# On Darwin the default sdk_10_0 resolves to the source-built VMR, which has
# no binaries in the public nix cache: every uncached realization compiles
# the entire .NET SDK from source (hours on CI runners and contributor
# machines). Use the Microsoft-binary SDK there; Linux keeps the
# source-built SDK, which hydra serves from cache.
dotnetSdk =
if pkgs.stdenv.isDarwin then
pkgs.dotnetCorePackages.sdk_10_0_1xx-bin
else
pkgs.dotnetCorePackages.sdk_10_0;

devShells = builtins.mapAttrs (
_name: craneLib:
Expand Down
Loading