mirror of
https://codeberg.org/tmayoff/.dotfiles.git
synced 2025-12-06 08:48:34 -05:00
switch runner
This commit is contained in:
parent
ee9613902b
commit
c4475edc98
1 changed files with 5 additions and 21 deletions
|
|
@ -3,9 +3,9 @@ name: build flakes
|
|||
on:
|
||||
push:
|
||||
|
||||
# concurrency:
|
||||
# group: ${{ github.workflow }}-${{ github.ref }}
|
||||
# cancel-in-progress: true
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
|
@ -20,31 +20,15 @@ jobs:
|
|||
# hostname: MAC-C57KK2TC69
|
||||
# arch: aarch64-darwin
|
||||
|
||||
runs-on: codeberg-tiny
|
||||
runs-on: kaylee
|
||||
continue-on-error: false
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: install nix
|
||||
uses: https://github.com/DeterminateSystems/nix-installer-action@main
|
||||
|
||||
- uses: https://github.com/DeterminateSystems/magic-nix-cache-action@main
|
||||
with:
|
||||
use-flakehub: false
|
||||
|
||||
# - name: Maximize build space
|
||||
# if: runner.os == 'Linux'
|
||||
# uses: ./.github/actions/disk_space
|
||||
|
||||
- uses: https://github.com/cachix/cachix-action@v16
|
||||
with:
|
||||
name: tmayoff
|
||||
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
|
||||
nix build -L ./dot_config/flake#nixosConfigurations.${{matrix.hostname}}.config.system.build.toplevel --cores 4 -j4
|
||||
|
||||
# - name: build darwin
|
||||
# if: runner.os == 'macOS'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue