Skip to content

Commit

Permalink
Bump CI action versions, pin nix to 2.3.16 (#326)
Browse files Browse the repository at this point in the history
* Bump version, pin nix

* Try to set Xmx

* Outside?
  • Loading branch information
Baltoli authored Nov 4, 2021
1 parent 1357b97 commit 431a4a4
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 7 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ jobs:
submodules: recursive

- name: Install Nix
uses: cachix/install-nix-action@v12
uses: cachix/install-nix-action@v14.1
with:
install_url: "https://releases.nixos.org/nix/nix-2.3.16/install"

- name: Upload release.nix
uses: ttuegel/upload-release.nix@v1.0
Expand Down
12 changes: 7 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,15 @@ jobs:
submodules: recursive

- name: Install Nix
uses: cachix/install-nix-action@v12
uses: cachix/install-nix-action@v14.1
with:
extra_nix_config: |
substituters = http://cache.nixos.org https://hydra.iohk.io
trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ=
install_url: "https://releases.nixos.org/nix/nix-2.3.16/install"

- name: Install Cachix
uses: cachix/cachix-action@v8
uses: cachix/cachix-action@v10
with:
name: runtimeverification
extraPullNames: kore
Expand All @@ -44,21 +45,22 @@ jobs:
submodules: recursive

- name: Install Nix
uses: cachix/install-nix-action@v12
uses: cachix/install-nix-action@v14.1
with:
extra_nix_config: |
substituters = http://cache.nixos.org https://hydra.iohk.io
trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ=
install_url: "https://releases.nixos.org/nix/nix-2.3.16/install"

- name: Install Cachix
uses: cachix/cachix-action@v8
uses: cachix/cachix-action@v10
with:
name: runtimeverification
extraPullNames: kore
signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}'

- name: Build
run: nix-build --cores 1
run: K_OPTS=-Xmx6G nix-build --cores 1

- name: Run unit tests
run: nix-build iele-assemble -A project.iele-assemble.checks
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,12 @@ jobs:
submodules: recursive

- name: Install Nix
uses: cachix/install-nix-action@v12
uses: cachix/install-nix-action@v14.1
with:
extra_nix_config: |
substituters = http://cache.nixos.org https://hydra.iohk.io
trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ=
install_url: "https://releases.nixos.org/nix/nix-2.3.16/install"

- name: Materialize
run: ./nix/rematerialize.sh
Expand Down

0 comments on commit 431a4a4

Please sign in to comment.