Skip to content

Refactor HM to use modules #1110

Refactor HM to use modules

Refactor HM to use modules #1110

Workflow file for this run

name: CI
on:
pull_request:
push:
branches:
- main
workflow_dispatch:
jobs:
format:
name: Format
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- uses: DeterminateSystems/nix-installer-action@v4
- name: Format
run: |
make fmt
git diff --exit-code
build:
name: Build
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
user: [ereslibre]
host: [hulk, nuc-1, nuc-2, nuc-3]
include:
- os: macos-latest
user: ereslibre
host: Rafaels-Air
runs-on: ${{ matrix.os }}
steps:
- name: Checkout repository
uses: actions/checkout@v3
- uses: DeterminateSystems/nix-installer-action@v4
- name: Build
run: |
# Force the creation of the profile dir
nix profile list
make build \
ACTIVATION_USER=${{ matrix.user }} \
ACTIVATION_HOST=${{ matrix.host }}