Skip to content

Commit

Permalink
hmm
Browse files Browse the repository at this point in the history
  • Loading branch information
bristermitten committed Sep 6, 2024
1 parent 2f258be commit 3e3610e
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 36 deletions.
42 changes: 9 additions & 33 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,36 +16,8 @@ jobs:
steps:
- uses: actions/checkout@v3

# https://github.com/orgs/community/discussions/25678#discussioncomment-5242449
- name: Delete huge unnecessary tools folder
if: runner.os == 'Linux'
run: |
sudo rm -rf /usr/share/dotnet
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
sudo rm -rf /opt/ghc
sudo rm -rf "/usr/local/share/boost"
sudo rm -rf \
"$AGENT_TOOLSDIRECTORY" \
/opt/google/chrome \
/opt/microsoft/msedge \
/opt/microsoft/powershell \
/opt/pipx \
/usr/lib/mono \
/usr/local/julia* \
/usr/local/lib/android \
/usr/local/lib/node_modules \
/usr/local/share/chromium \
/usr/local/share/powershell \
/usr/share/dotnet \
/usr/share/swift
df -h /
- uses: DeterminateSystems/nix-installer-action@main
name: Install Nix
with:
extra-conf: |
trusted-public-keys = cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g= cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
substituters = https://cache.garnix.io?priority=41 https://cache.nixos.org/

- uses: DeterminateSystems/magic-nix-cache-action@main

Expand All @@ -54,11 +26,15 @@ jobs:
name: codosseum
authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}"

- uses: yaxitech/nix-install-pkgs-action@v3
with:
packages: "github:srid/nixci"
- run: nixci build

- name: Install omnix
run: nix --accept-flake-config profile install "github:juspay/omnix"

- name: Build all flake outputs
run: om ci

- name: What GHC version?
run: nix develop -c ghc --version

build-docker:
runs-on: ubuntu-latest
needs: build
Expand Down
6 changes: 3 additions & 3 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 3e3610e

Please sign in to comment.