Skip to content

Commit

Permalink
Move CI to garnix
Browse files Browse the repository at this point in the history
  • Loading branch information
ereslibre committed Jan 3, 2025
1 parent 92f88d9 commit 7934484
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 30 deletions.
31 changes: 1 addition & 30 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
3 changes: 3 additions & 0 deletions garnix.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
builds:
exclude:
- 'nixosConfiguration.devbox-qcow'

0 comments on commit 7934484

Please sign in to comment.