Skip to content

Commit

Permalink
Use magic-nix-cache
Browse files Browse the repository at this point in the history
  • Loading branch information
v0d1ch committed Dec 26, 2023
1 parent 71dfe70 commit 632c13a
Show file tree
Hide file tree
Showing 2 changed files with 53 additions and 0 deletions.
51 changes: 51 additions & 0 deletions .github/workflows/static-builds.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@

name: Static executable

on:
push:
branches:
- "**"
tags:
- "*.*.*"

jobs:
build-executables:
name: "build static executables"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@v4
- name: Run the Magic Nix Cache
uses: DeterminateSystems/magic-nix-cache-action@v2
- name: Build static executable
run: |
mkdir bin
nix build .#easy-rider-static && cp result/bin/* bin
# jobs:
# build-executables:
# name: "build static executables"
# runs-on: ubuntu-latest
# steps:
# - name: 📥 checkout repository
# uses: actions/checkout@v4
#
# - name: ❄ prepare nix
# uses: cachix/install-nix-action@v23
# with:
# extra_nix_config: |
# accept-flake-config = true
# log-lines = 1000
#
# - name: ❄ build static executables
# run: |
# mkdir -p bin/
# nix build .#easy-rider-static && cp result/bin/* bin/
#
# - name: 💾 upload executables
# uses: actions/upload-artifact@v3
# with:
# name: hydra-x86_64-unknown-linux-musl
# path: |
# ./bin
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.2.0] - Unreleased

## [0.1.0] - 2023-11-27

- Implement the command to run cardano-node on one of the networks using
Expand Down

0 comments on commit 632c13a

Please sign in to comment.