Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
guillemcordoba committed Mar 7, 2024
1 parent 1211b58 commit 4f36cc4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 33 deletions.
33 changes: 1 addition & 32 deletions .github/workflows/test-nix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,37 +8,6 @@ on:
branches: [ main, develop ]

jobs:
build-and-cache:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- name: Install nix
uses: cachix/install-nix-action@v18
with:
install_url: https://releases.nixos.org/nix/nix-2.12.0/install
extra_nix_config: |
experimental-features = flakes nix-command
- uses: cachix/cachix-action@v10
with:
name: holochain-ci

- name: Install coreutils for macOS
if: matrix.os == 'macos-latest'
run: brew install coreutils

- name: Build zomes
env:
CACHIX_AUTH_TOKEN: "${{ secrets.CACHIX_TOKEN_HOLOCHAIN_OPEN_DEV }}"
run: |
cd ./nix/fixture
nix flake update
nix build -L .#my_zome.meta.debug
sha256sum result
nix build -L .#my_zome
sha256sum result
linux-build-and-cache:
runs-on: ubuntu-latest
steps:
Expand Down Expand Up @@ -67,7 +36,7 @@ jobs:
sha256sum result
macos-just-get-from-cache:
needs: build-and-cache
needs: linux-build-and-cache
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
Expand Down
1 change: 0 additions & 1 deletion nix/fixture/zome/zome.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
}: {
packages.my_zome = inputs.hcUtils.outputs.lib.rustZome {
workspacePath = rootPath;
holochain = inputs'.holochain;
crateCargoToml = ./Cargo.toml;
};
checks.my_zome = inputs.hcUtils.outputs.lib.sweettest {
Expand Down

0 comments on commit 4f36cc4

Please sign in to comment.