Skip to content

Commit

Permalink
CI: GitHub: *Cabal-Linux: add Nix installation for Remote
Browse files Browse the repository at this point in the history
  • Loading branch information
Anton-Latukha committed Dec 15, 2020
1 parent 0d130d5 commit ac92f1d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/Cabal-Linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ jobs:
- name: "Install additional system packages"
run: sudo apt install libsodium-dev
- run: cabal v2-install tasty-discover
- name: "Install Nix"
# Still required for Store-remote test suite run
uses: cachix/install-nix-action@v12
if: matrix.packageRoot == 'hnix-store-remote'
- run: cabal v2-configure --disable-optimization --enable-tests --enable-deterministic
if: matrix.packageRoot == 'hnix-store-core'
- run: |
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/On-Release-Cabal-Linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ jobs:
- name: "Install additional system packages"
run: sudo apt install libsodium-dev
- run: cabal v2-install tasty-discover
- name: "Install Nix"
# Still required for Store-remote test suite run
uses: cachix/install-nix-action@v12
if: matrix.packageRoot == 'hnix-store-remote'
- run: cabal v2-configure --disable-optimization --enable-tests --enable-deterministic
if: matrix.packageRoot == 'hnix-store-core'
- run: |
Expand Down

0 comments on commit ac92f1d

Please sign in to comment.