Skip to content

Commit

Permalink
Add MacOS job to cardano-node workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ch1bo committed Jan 4, 2024
1 parent 6d95964 commit df47ffa
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/cardano-node.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,32 @@ jobs:
with:
name: cardano-node-x86_64-linux # automatically zips
path: out/*

build-executables-macos:
name: "Build aarch64-darwin dynamic executables"
runs-on: [self-hosted, macOS, ARM64]
steps:
- name: 📥 Checkout cardano-node 8.7.2
uses: actions/checkout@v4
with:
repository: IntersectMBO/cardano-node
ref: 8.7.2

- name: ❄ Prepare nix
uses: cachix/install-nix-action@v23
with:
extra_nix_config: |
accept-flake-config = true
log-lines = 1000
- name: ❄ Build executables
run: |
mkdir -p out
nix build .#hydraJobs.aarch64-darwin.cardano-deployment
cp -a result/* out/
- name: 💾 Upload executables
uses: actions/upload-artifact@v4
with:
name: cardano-node-aarch64-darwi # automatically zips
path: out/*

0 comments on commit df47ffa

Please sign in to comment.