Skip to content

Commit

Permalink
ci: get more free space
Browse files Browse the repository at this point in the history
  • Loading branch information
kxxt committed Nov 2, 2024
1 parent 442056f commit a7850ee
Showing 1 changed file with 20 additions and 13 deletions.
33 changes: 20 additions & 13 deletions .github/workflows/nix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:
push:
branches:
- main
- ci
pull_request:
merge_group:

Expand All @@ -19,16 +20,22 @@ jobs:
nix:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: |
sudo apt-get update -y
sudo apt-get install -y qemu-kvm
- uses: cachix/install-nix-action@v27
with:
nix_path: nixpkgs=channel:nixos-unstable
- uses: DeterminateSystems/magic-nix-cache-action@v2
# Build and test tracexec
# Also builds kernels
- run: nix build
# Run Userspace<->Kernel CI
- run: nix run '.#ukci'
- name: Get more 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"
- uses: actions/checkout@v4
- run: |
sudo apt-get update -y
sudo apt-get install -y qemu-kvm
- uses: cachix/install-nix-action@v27
with:
nix_path: nixpkgs=channel:nixos-unstable
- uses: DeterminateSystems/magic-nix-cache-action@v2
# Build and test tracexec
# Also builds kernels
- run: nix build
# Run Userspace<->Kernel CI
- run: nix run '.#ukci'

0 comments on commit a7850ee

Please sign in to comment.