Skip to content

Commit

Permalink
Merge pull request #17 from darksoil-studio/develop
Browse files Browse the repository at this point in the history
Add `hc-pilot`
  • Loading branch information
guillemcordoba authored Jul 17, 2024
2 parents 6097d71 + 9b0c99a commit c8516b7
Show file tree
Hide file tree
Showing 38 changed files with 5,963 additions and 342 deletions.
42 changes: 42 additions & 0 deletions .github/workflows/build-hc-pilot.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: "Build and cache hc-pilot"
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
build-and-cache-hc-pilot:
strategy:
fail-fast: false
matrix:
platform: [macos-latest, ubuntu-22.04]

runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v3

- name: Install nix
uses: cachix/install-nix-action@v25
with:
nix_path: nixpkgs=channel:nixos-unstable

- uses: cachix/cachix-action@v14
with:
name: holochain-ci

- uses: cachix/cachix-action@v14
with:
name: holochain-open-dev

- uses: cachix/cachix-action@v14
with:
name: darksoil-studio

- name: Build and cache hc-pilot
env:
CACHIX_AUTH_TOKEN: "${{ secrets.DARKSOIL_CACHIX_AUTH_TOKEN }}"
run: |
nix build --accept-flake-config -L .#hc-pilot
cachix push darksoil-studio $(nix --accept-flake-config path-info --accept-flake-config .#hc-pilot)
cachix pin darksoil-studio hc-progenitor $(nix --accept-flake-config path-info --accept-flake-config .#hc-pilot)
Loading

0 comments on commit c8516b7

Please sign in to comment.