From 793448401a6e0c39c99bf455dfc54fe9022f7b96 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafael=20Fern=C3=A1ndez=20L=C3=B3pez?= Date: Fri, 3 Jan 2025 22:24:30 +0100 Subject: [PATCH] Move CI to garnix --- .github/workflows/ci.yaml | 31 +------------------------------ garnix.yaml | 3 +++ 2 files changed, 4 insertions(+), 30 deletions(-) create mode 100644 garnix.yaml diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index d84ecca1..8d7fc43c 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -15,8 +15,6 @@ jobs: uses: actions/checkout@v4 - name: Install Nix uses: DeterminateSystems/nix-installer-action@v12 - # - name: Setup the magic Nix cache - # uses: DeterminateSystems/magic-nix-cache-action@v6 - name: Format run: | nix develop --command just fmt @@ -28,31 +26,4 @@ jobs: - name: Checkout repository uses: actions/checkout@v4 - name: Check Nix flake inputs - uses: DeterminateSystems/flake-checker-action@v8 - build: - name: Build - strategy: - fail-fast: false - matrix: - os: [ubuntu-latest] - host: [hulk, nuc-1, nuc-2, nuc-3] - runs-on: ${{ matrix.os }} - steps: - - name: Free space - run: | - sudo rm -rf /usr/share/dotnet - sudo rm -rf /opt/ghc - sudo rm -rf "/usr/local/share/boost" - sudo rm -rf "$AGENT_TOOLSDIRECTORY" - - name: Checkout repository - uses: actions/checkout@v4 - - name: Install Nix - uses: DeterminateSystems/nix-installer-action@v12 - # - name: Setup the magic Nix cache - # uses: DeterminateSystems/magic-nix-cache-action@v6 - - name: Build - run: | - # Force the creation of the profile dir - nix profile list - # Build - nix develop --command just build ${{ matrix.host }} + uses: DeterminateSystems/flake-checker-action@v8 \ No newline at end of file diff --git a/garnix.yaml b/garnix.yaml new file mode 100644 index 00000000..c4293c6e --- /dev/null +++ b/garnix.yaml @@ -0,0 +1,3 @@ +builds: + exclude: + - 'nixosConfiguration.devbox-qcow' \ No newline at end of file