From 18218326f5b119eebd0088ae5c4c66deb4c1b760 Mon Sep 17 00:00:00 2001 From: Tyler Mayoff Date: Tue, 2 Sep 2025 20:19:29 -0400 Subject: [PATCH] run on macos docker --- .forgejo/workflows/main.yml | 52 ++++++++++++++++++------------------- 1 file changed, 26 insertions(+), 26 deletions(-) diff --git a/.forgejo/workflows/main.yml b/.forgejo/workflows/main.yml index b063312..88d073a 100644 --- a/.forgejo/workflows/main.yml +++ b/.forgejo/workflows/main.yml @@ -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