Skip to content

CI: Build a kernel and run tests #1

CI: Build a kernel and run tests

CI: Build a kernel and run tests #1

Workflow file for this run

name: "Build and test kernel"
on:
push:
branches: [main]
pull_request:
branches: [main]
types: [opened, synchronize, reopened] # trigger on PRs
workflow_dispatch:
jobs:
build:
name: Build kernel
runs-on:
group: aws-g6-12xlarge-plus
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v27
with:
nix_path: nixpkgs=channel:nixos-unstable
- uses: cachix/cachix-action@v14
with:
name: kernel-builder
env:
USER: github_runner
- name: Build
run: nix develop .#test --command echo "Ok"
run: ( cd example/activation && nix build .\#redistributable.torch25-cxx98-cu118-x86_64-linux )

Check failure on line 27 in .github/workflows/build-kernel.yaml

View workflow run for this annotation

GitHub Actions / Build and test kernel

Invalid workflow file

The workflow is not valid. .github/workflows/build-kernel.yaml (Line: 27, Col: 9): 'run' is already defined