From bde706ba779078e1f3bd248b518cb5eac06ba8c2 Mon Sep 17 00:00:00 2001 From: NullBite Date: Sat, 8 Feb 2025 14:26:35 -0500 Subject: [PATCH] actions: move package build to separate workflow i am impatient i want my packages immediately --- .github/workflows/build-then-cache.yaml | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-then-cache.yaml b/.github/workflows/build-then-cache.yaml index a830e92..b78ad2e 100644 --- a/.github/workflows/build-then-cache.yaml +++ b/.github/workflows/build-then-cache.yaml @@ -20,6 +20,20 @@ jobs: - run: 'bash ci/util_free_space_extreme.sh' # TODO: figure out how to use flake checks and use those to build it - run: 'nix develop .#ci --command nix-fast-build --eval-workers 1 --no-nom --skip-cache -f .#nixosConfigurations.rpi4.config.system.build.toplevel' + + build_x86-64_packages: + runs-on: ubuntu-24.04 + steps: + - uses: actions/checkout@v4 + - uses: DeterminateSystems/nix-installer-action@main + - uses: DeterminateSystems/flake-checker-action@main + - uses: ryanccn/attic-action@v0 + with: + endpoint: ${{ secrets.ATTIC_ENDPOINT }} + cache: ${{ secrets.ATTIC_CACHE }} + token: ${{ secrets.ATTIC_TOKEN }} + - run: 'nix develop .#ci --command nix-fast-build --eval-workers 1 --no-nom --skip-cache -f .#redlib' + build_x86-64: runs-on: ubuntu-24.04 steps: @@ -37,6 +51,3 @@ jobs: - run: 'nix develop .#ci --command nix-fast-build --eval-workers 1 --no-nom --skip-cache -f .#nixosConfigurations.slab.config.system.build.toplevel' - run: 'nix develop .#ci --command nix-fast-build --eval-workers 1 --no-nom --skip-cache -f .#nixosConfigurations.nullbox.config.system.build.toplevel' - run: 'nix develop .#ci --command nix-fast-build --eval-workers 1 --no-nom --skip-cache -f .#nixosConfigurations.nixos-wsl.config.system.build.toplevel' - - # packages - - run: 'nix develop .#ci --command nix-fast-build --eval-workers 1 --no-nom --skip-cache -f .#redlib'