Skip to content

Commit

Permalink
ci: add cachix
Browse files Browse the repository at this point in the history
  • Loading branch information
sandydoo committed Nov 25, 2024
1 parent 3a66205 commit 9c68861
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@ jobs:
- uses: actions/checkout@v4
- name: Install Nix
uses: cachix/install-nix-action@v30
- name: Configure Cachix
uses: cachix/cachix-action@v15
with:
name: nar-toolbox
authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}"
- name: Build
run: |
nix build -L .#packages.x86_64-linux.nar-toolbox
Expand All @@ -36,6 +41,11 @@ jobs:
- uses: actions/checkout@v4
- name: Install Nix
uses: cachix/install-nix-action@v30
- name: Configure Cachix
uses: cachix/cachix-action@v15
with:
name: nar-toolbox
authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}"
- name: Build
run: |
nix build -L .#packages.x86_64-linux.cross-aarch64-linux-nar-toolbox
Expand All @@ -55,6 +65,11 @@ jobs:
- uses: actions/checkout@v4
- name: Install Nix
uses: cachix/install-nix-action@v30
- name: Configure Cachix
uses: cachix/cachix-action@v15
with:
name: nar-toolbox
authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}"
- name: Build
run: |
nix build -L .#packages.aarch64-darwin.cross-x86_64-darwin-nar-toolbox
Expand All @@ -74,6 +89,11 @@ jobs:
- uses: actions/checkout@v4
- name: Install Nix
uses: cachix/install-nix-action@v30
- name: Configure Cachix
uses: cachix/cachix-action@v15
with:
name: nar-toolbox
authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}"
- name: Build
run: |
nix build -L .#packages.aarch64-darwin.nar-toolbox
Expand Down

0 comments on commit 9c68861

Please sign in to comment.