Skip to content

Commit 407016b

Browse files
committed
github ci
1 parent 386b5bb commit 407016b

1 file changed

Lines changed: 22 additions & 0 deletions

File tree

.github/workflows/bindeb-pkg.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: bindeb-pkg
2+
on: [push, pull_request]
3+
jobs:
4+
build:
5+
runs-on: ubuntu-latest
6+
container: debian:trixie
7+
steps:
8+
- uses: actions/checkout@v6
9+
10+
- name: Install packages and build
11+
run: |
12+
export TODAY=$(date --iso-8601)
13+
apt -y update
14+
apt -y install libncurses-dev libssl-dev bc flex bison make build-essential crossbuild-essential-riscv64
15+
cp config-r0b0 .config
16+
make O=$__kobj ARCH=riscv64 CROSS_COMPILE=riscv64-linux-gnu- olddefconfig
17+
make O=$__kobj ARCH=riscv64 CROSS_COMPILE=riscv64-linux-gnu- bindeb-pkg LOCALVERSION=-r0b0-$TODAY -j$(nproc)
18+
19+
- uses: actions/upload-artifact@v7
20+
with:
21+
name: "Debian packages"
22+
path: ../*.deb

0 commit comments

Comments
 (0)