mirror of
https://codeberg.org/tmayoff/.dotfiles.git
synced 2025-12-08 01:38:34 -05:00
run on macos docker
This commit is contained in:
parent
ef3780ef1b
commit
18218326f5
1 changed files with 26 additions and 26 deletions
|
|
@ -16,43 +16,43 @@ jobs:
|
|||
- os: codeberg-tiny
|
||||
hostname: wash
|
||||
arch: x86_64-linux
|
||||
- os: macos-latest
|
||||
- os: codeber-tiny
|
||||
hostname: MAC-C57KK2TC69
|
||||
arch: aarch64-darwin
|
||||
|
||||
runs-on: ${{ matrix.os }}
|
||||
runs-on: codeberg-tony
|
||||
container:
|
||||
image: dockur/macos:monterey
|
||||
continue-on-error: false
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
# - uses: actions/checkout@v4
|
||||
|
||||
- name: install nix
|
||||
uses: DeterminateSystems/determinate-nix-action@v3.5.2
|
||||
with:
|
||||
extra-conf: "lazy-trees = true"
|
||||
# - name: install nix
|
||||
# uses: https://github.com/DeterminateSystems/nix-installer-action@v17
|
||||
|
||||
- uses: DeterminateSystems/magic-nix-cache-action@main
|
||||
with:
|
||||
use-flakehub: false
|
||||
# - uses: DeterminateSystems/magic-nix-cache-action@main
|
||||
# with:
|
||||
# use-flakehub: false
|
||||
|
||||
- name: Maximize build space
|
||||
if: runner.os == 'Linux'
|
||||
uses: ./.github/actions/disk_space
|
||||
# - name: Maximize build space
|
||||
# if: runner.os == 'Linux'
|
||||
# uses: ./.github/actions/disk_space
|
||||
|
||||
- uses: cachix/cachix-action@v16
|
||||
with:
|
||||
name: tmayoff
|
||||
authToken: '${{ secrets.CACHIX_AUTH }}'
|
||||
# - uses: cachix/cachix-action@v16
|
||||
# with:
|
||||
# name: tmayoff
|
||||
# authToken: '${{ secrets.CACHIX_AUTH }}'
|
||||
|
||||
# - uses: workflow/nix-shell-action@v3
|
||||
# if: runner.os == 'Linux'
|
||||
# name: build nixos
|
||||
# with:
|
||||
# packages: nh
|
||||
# script: |
|
||||
# nh os build ./dot_config/flake#nixosConfigurations.${{matrix.hostname}} --no-nom -- --cores 1 -j1
|
||||
|
||||
- uses: workflow/nix-shell-action@v3
|
||||
if: runner.os == 'Linux'
|
||||
name: build nixos
|
||||
with:
|
||||
packages: nh
|
||||
script: |
|
||||
nh os build ./dot_config/flake#nixosConfigurations.${{matrix.hostname}} --no-nom -- --cores 1 -j1
|
||||
|
||||
- uses: workflow/nix-shell-action@v3
|
||||
if: runner.os == 'macOS'
|
||||
# if: runner.os == 'macOS'
|
||||
name: build darwin
|
||||
with:
|
||||
packages: nh
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue