This repository has been archived by the owner on Nov 7, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a2e5ee2
commit 499b5c4
Showing
6 changed files
with
51 additions
and
342 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
name: "Build and cache hc-progenitor" | ||
on: | ||
push: | ||
branches: [ main ] | ||
pull_request: | ||
branches: [ main ] | ||
|
||
jobs: | ||
build-and-cache-hc-progenitor: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
platform: [macos-11, 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 zomes | ||
env: | ||
CACHIX_AUTH_TOKEN: "${{ secrets.DARKSOIL_CACHIX_AUTH_TOKEN }}" | ||
run: | | ||
nix build -L .#hc-progenitor | ||
cachix push darksoil-studio $(nix path-info --accept-flake-config .#hc-progenitor) | ||
cachix pin darksoil-studio hc-progenitor $(nix path-info --accept-flake-config .#hc-progenitor) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.