Skip to content

Generate CI config with nixago #542

Generate CI config with nixago

Generate CI config with nixago #542

Workflow file for this run

jobs:
buildRemote:
name: Build remote home configuration
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@main
with:
extra-conf: system-features = aarch64-linux
- name: Add SSH keys to ssh-agent
uses: webfactory/[email protected]
with:
ssh-private-key: '${{ secrets.PRAGMATAPRO_DEPLOY_KEY }}
${{ secrets.SECRETS_DEPLOY_KEY }}
'
- name: Use Cachix store
uses: cachix/cachix-action@v12
with:
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
extraPullNames: tilde,nix-community,nrdxp
name: tilde
- run: 'nix build -j4 --option system x86_64-linux --extra-platforms x86_64-linux
.#homeConfigurationsPortable.x86_64-linux.remote.activation-script --accept-flake-config
--print-build-logs --show-trace --verbose
'
buildSystem:
name: Build system
runs-on: ${{ matrix.os }}
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@main
with:
extra-conf: system-features = aarch64-linux
- name: Add SSH keys to ssh-agent
uses: webfactory/[email protected]
with:
ssh-private-key: '${{ secrets.PRAGMATAPRO_DEPLOY_KEY }}
${{ secrets.SECRETS_DEPLOY_KEY }}
'
- name: Use Cachix store
uses: cachix/cachix-action@v12
with:
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
extraPullNames: tilde,nix-community,nrdxp
name: tilde
- run: 'nix develop --impure --accept-flake-config -c "just" "build-system" "${{
matrix.host }}"
'
strategy:
matrix:
host:
- eMac
- st-eturkeltaub2
os:
- flyci-macos-large-latest-m1
check:
name: Check flake
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@main
with:
extra-conf: system-features = aarch64-linux
- name: Add SSH keys to ssh-agent
uses: webfactory/[email protected]
with:
ssh-private-key: '${{ secrets.PRAGMATAPRO_DEPLOY_KEY }}
${{ secrets.SECRETS_DEPLOY_KEY }}
'
- name: Use Cachix store
uses: cachix/cachix-action@v12
with:
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
extraPullNames: tilde,nix-community,nrdxp
name: tilde
- run: 'nix flake -Lv check --impure --all-systems --show-trace
'
name: CI
'on':
push: {}