Skip to content

CI version and os updates #351

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 6 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,17 @@ on:

jobs:
nix-release:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
steps:
- name: Check out code
uses: actions/checkout@v2.3.4
uses: actions/checkout@v3
with:
submodules: recursive

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

- name: Upload release.nix
uses: ttuegel/[email protected]
Expand Down
23 changes: 13 additions & 10 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,25 +6,26 @@ jobs:
# Run ./nix/rematerialize.sh from iele-assemble if this job fails.
test-nix-material:
name: 'Nix materialization'
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
steps:
- name: Check out code
uses: actions/checkout@v2.3.4
uses: actions/checkout@v3
with:
submodules: recursive

- name: Install Nix
uses: cachix/install-nix-action@v14.1
uses: cachix/install-nix-action@v15
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"
install_url: https://releases.nixos.org/nix/nix-2.7.0/install

- name: Install Cachix
uses: cachix/cachix-action@v10
with:
name: runtimeverification
name: k-framework
authToken: '${{ secrets.CACHIX_PUBLIC_TOKEN }}'
extraPullNames: kore
skipPush: true

Expand All @@ -36,28 +37,30 @@ jobs:
needs: test-nix-material
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
os: [ubuntu-20.04, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Check out code
uses: actions/checkout@v2.3.4
uses: actions/checkout@v3
with:
submodules: recursive

- name: Install Nix
uses: cachix/install-nix-action@v14.1
uses: cachix/install-nix-action@v15
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"
install_url: https://releases.nixos.org/nix/nix-2.7.0/install

- name: Install Cachix
uses: cachix/cachix-action@v10
with:
name: runtimeverification
name: k-framework
authToken: '${{ secrets.CACHIX_PUBLIC_TOKEN }}'
extraPullNames: kore
signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}'
skipPush: true

- name: Build
run: K_OPTS=-Xmx6G nix-build --cores 1
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
jobs:
nix:
name: 'Nix'
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
steps:
- id: config
run: |
Expand All @@ -22,18 +22,18 @@ jobs:
git config --global user.email [email protected]

- name: Check out code
uses: actions/checkout@v2.3.4
uses: actions/checkout@v3
with:
ref: ${{ steps.config.outputs.ref }}
submodules: recursive

- name: Install Nix
uses: cachix/install-nix-action@v14.1
uses: cachix/install-nix-action@v15
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"
install_url: https://releases.nixos.org/nix/nix-2.7.0/install

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