From 91e4b790ae66928a2a9e89c2f36629bc57ff7565 Mon Sep 17 00:00:00 2001 From: Sebastian Nagel Date: Mon, 8 Jan 2024 11:28:33 +0100 Subject: [PATCH] Use a fork to build macos --- .github/workflows/cardano-node.yaml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/cardano-node.yaml b/.github/workflows/cardano-node.yaml index 2d1056722e2..e74816ea41b 100644 --- a/.github/workflows/cardano-node.yaml +++ b/.github/workflows/cardano-node.yaml @@ -1,5 +1,6 @@ -# XXX: Temporary workflow to produce static ELF binaries for cardan-node 8.7.2 -# Remove again when upstream releases them again. +# Produce distributable binaries for cardano-node 8.7.2 +# +# XXX: Remove again when upstream releases them (again). name: Cardano-node on: @@ -47,8 +48,9 @@ jobs: - name: 📥 Checkout cardano-node 8.7.2 uses: actions/checkout@v4 with: - repository: IntersectMBO/cardano-node - ref: 8.7.2 + # 8.7.2-fork which provides a macos flake output + repository: ch1bo/cardano-node + ref: 170817f5ba3f7838ffd9bd181bc30504906a6506 - name: ❄ Prepare nix uses: cachix/install-nix-action@v23 @@ -60,10 +62,8 @@ jobs: - name: ❄ Build executables run: | mkdir -p out - nix build .#cardano-node - cp result/bin/* out/ - nix build .#cardano-cli - cp result/bin/* out/ + nix build .#hydraJobs.aarch64-darwin.native.cardano-node-macos + tar -C out -xzvf result/cardano-node-*-macos.tar.gz cardano-node cardano-cli '*.dylib' - name: 💾 Upload executables uses: actions/upload-artifact@v4