This commit is contained in:
parent
0b911f75ce
commit
50f4742914
2 changed files with 65 additions and 13 deletions
24
.gitea/workflows/build.yml
Normal file
24
.gitea/workflows/build.yml
Normal file
|
@ -0,0 +1,24 @@
|
|||
name: Build nix packages
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
npc-test:
|
||||
runs-on: nix
|
||||
steps:
|
||||
- uses: https://github.com/cachix/cachix-action@v14
|
||||
with:
|
||||
name: ysyx
|
||||
authToken: '${{ secrets.CACHIX_SIGNING_KEY }}'
|
||||
- uses: actions/checkout@v4
|
||||
- name: Cache develop environment
|
||||
id: cache-nix-develop
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: |
|
||||
/nix/store
|
||||
/nix/var/nix/db
|
||||
key: nix-develop-${{ hashFiles('flake.*') }}
|
||||
- name: Build am-kernels
|
||||
run: |
|
||||
nix build .#{am-kernels}
|
||||
nix build .#rv32Cross.{am-kernels-nemu, am-kernels-npc}
|
Loading…
Add table
Add a link
Reference in a new issue