From ee9613902b13884fd32eb69502d6f4f49b4a6f84 Mon Sep 17 00:00:00 2001 From: Tyler Mayoff Date: Wed, 3 Sep 2025 18:00:56 -0400 Subject: [PATCH] raw nix commands readded macos and got the command working locally --- .forgejo/workflows/main.yml | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/.forgejo/workflows/main.yml b/.forgejo/workflows/main.yml index 4e2719a..59d6d39 100644 --- a/.forgejo/workflows/main.yml +++ b/.forgejo/workflows/main.yml @@ -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