Skip to content

Commit

Permalink
add ci
Browse files Browse the repository at this point in the history
  • Loading branch information
tombl committed Feb 7, 2024
1 parent 69aa8d8 commit cb200b5
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
16 changes: 16 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
on:
- push
- pull_request

jobs:
build:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main
- run: nix build .
- uses: actions/upload-artifact@v4
with:
name: kernel.wasm
path: result/vmlinux
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -170,4 +170,7 @@ sphinx_*/
/rust-project.json

# Nix build output
/result
/result

# GitHub Actions
!/.github/

0 comments on commit cb200b5

Please sign in to comment.