Skip to content

Remove fancy emojis from Setup.hs #9

Remove fancy emojis from Setup.hs

Remove fancy emojis from Setup.hs #9

Workflow file for this run

name: Continuous Integration
on:
workflow_dispatch:
push:
branches: [ master, release/* ]
jobs:
build:
strategy:
matrix:
os: [ linux ]
arch: [ x86_64 ]
compiler: [ ghc8107 ]
runs-on: ${{ matrix.os == 'linux' && 'ubuntu-latest' }}
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
submodules: true
- name: Install Nix with good defaults
uses: cachix/install-nix-action@v22
with:
extra_nix_config: |
trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ= loony-tools:pr9m4BkM/5/eSTZlkQyRt57Jz7OMBxNSUiMC4FkcNfk= cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
substituters = https://cache.nixos.org/ https://cache.iog.io/ https://cache.zw3rk.com/
nix_path: nixpkgs=channel:nixos-unstable
- name: Install extra system dependencies
run: |
sudo apt-get -y install libsystemd-dev
- name: Prepare cache
run: |
nix develop github:input-output-hk/devx#${{ matrix.compiler }}-static-minimal-iog --no-write-lock-file --refresh --command bash -c "cabal update && cabal freeze"
- name: Cache
uses: actions/cache@v3
with:
path: |
~/.cabal-static/packages
~/.cabal-static/store
dist-newstyle
key: cabal-cache-${{ runner.os }}-${{ matrix.arch }}-${{ matrix.compiler }}-${{ hashFiles('cabal.project.freeze') }}
restore-keys: |
cabal-cache-${{ runner.os }}-${{ matrix.arch }}-${{ matrix.compiler }}
- name: 🔨 Build
run: |
nix develop github:input-output-hk/devx#${{ matrix.compiler }}-static-minimal-iog --no-write-lock-file --refresh --command bash -c "cabal build cardano-node:exe:cardano-node"