mirror of
https://codeberg.org/tmayoff/.dotfiles.git
synced 2025-12-06 08:48:34 -05:00
raw nix commands
readded macos and got the command working locally
This commit is contained in:
parent
ad44cc16ee
commit
ee9613902b
1 changed files with 7 additions and 9 deletions
|
|
@ -13,14 +13,14 @@ jobs:
|
|||
fail-fast: false
|
||||
matrix:
|
||||
include:
|
||||
- os: codeberg-tiny
|
||||
- os: linux
|
||||
hostname: wash
|
||||
arch: x86_64-linux
|
||||
# - os: macos-latest
|
||||
# - os: darwin
|
||||
# hostname: MAC-C57KK2TC69
|
||||
# arch: aarch64-darwin
|
||||
|
||||
runs-on: ${{ matrix.os }}
|
||||
runs-on: codeberg-tiny
|
||||
continue-on-error: false
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
|
@ -42,16 +42,14 @@ jobs:
|
|||
authToken: '${{ secrets.CACHIX_AUTH }}'
|
||||
|
||||
- name: build nixos
|
||||
if: ${{ matrix.os }} == 'linux'
|
||||
run: |
|
||||
nix build ./dot_config/flake#nixosConfigurations.${{matrix.hostname}}.config.system.build.toplevel --cores 1 -j1
|
||||
|
||||
# - uses: https://github.com/workflow/nix-shell-action@v3
|
||||
# - name: build darwin
|
||||
# if: runner.os == 'macOS'
|
||||
# name: build darwin
|
||||
# with:
|
||||
# packages: nh
|
||||
# script: |
|
||||
# nh darwin build ./dot_config/flake#darwinConfigurations.${{matrix.hostname}} --no-nom -- --cores 1 -j1
|
||||
# run: |
|
||||
# nix build ./dot_config/flake#darwinConfigurations.${{matrix.hostname}}.config.system.build.topLevel --cores 1 -j1
|
||||
|
||||
# - name: download last artifact
|
||||
# uses: dawidd6/action-download-artifact@v11
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue